All of lore.kernel.org
 help / color / mirror / Atom feed
* runqemu qemux86-64 image kvm cpuid error
@ 2016-09-26  9:51 Arjun Padmanabhan
  2016-09-27  9:54 ` Arjun Padmanabhan
  0 siblings, 1 reply; 2+ messages in thread
From: Arjun Padmanabhan @ 2016-09-26  9:51 UTC (permalink / raw)
  To: openbmc, Patrick Williams; +Cc: Balaji Marimuthu


[-- Attachment #1.1: Type: text/plain, Size: 1621 bytes --]

Hi,

While executing runqemu on qemux86-64 image with kvm option, I am getting CPUID kvm_asyncpf error.  Have anyone faced this issue? Is there any fix for this issue?

I am attaching my cpuinfo along with this mail.

Following is the console output.
[root@openbmc qemux86-64]# runqemu qemux86-64 kvm

Continuing with the following parameters:
KERNEL:
[/root/Desktop/openbmc/openbmc/qemu_build/tmp/deploy/images/qemux86-64/bzImage-qemux86-64.bin]
ROOTFS:
[/root/Desktop/openbmc/openbmc/qemu_build/tmp/deploy/images/qemux86-64/obmc-phosphor-image-qemux86-64-20160923061208.rootfs.ext4]
FSTYPE: [ext4]
Setting up tap interface under sudo
Acquiring lockfile for tap0...
Running qemu-system-x86_64...
/root/Desktop/openbmc/openbmc/qemu_build/tmp/sysroots/x86_64-linux/usr/bin/qemu-system-x86_64
-kernel
/root/Desktop/openbmc/openbmc/qemu_build/tmp/deploy/images/qemux86-64/bzImage-qemux86-64.bin
-net nic,model=virtio -net tap,vlan=0,ifname=tap0,script=no,downscript=no -cpu
kvm64 -drive
file=/root/Desktop/openbmc/openbmc/qemu_build/tmp/deploy/images/qemux86-64/obmc-phosphor-image-qemux86-64-20160923061208.rootfs.ext4,if=virtio,format=raw
-show-cursor -usb -usbdevice tablet -vga vmware -no-reboot -enable-kvm -m 256
-serial mon:vc -serial null -append "vga=0 uvesafb.mode_option=640x480-32
root=/dev/vda rw mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0
oprofile.timer=1 rootfstype=ext4 "
warning: host doesn't support requested feature:
CPUID.40000001H:EAX.kvm_asyncpf [bit 4]
VNC server running on '::1:5901'

Regards
Arjun Padmanabhan
Microsemi Storage Solutions India Pvt. Ltd.

[-- Attachment #1.2: Type: text/html, Size: 7149 bytes --]

[-- Attachment #2: cpu_info.txt --]
[-- Type: text/plain, Size: 3539 bytes --]

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 42
model name	: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz
stepping	: 7
cpu MHz		: 1600.000
cache size	: 8192 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 4
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips	: 6200.04
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 42
model name	: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz
stepping	: 7
cpu MHz		: 1600.000
cache size	: 8192 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 4
apicid		: 2
initial apicid	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips	: 6200.04
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 2
vendor_id	: GenuineIntel
cpu family	: 6
model		: 42
model name	: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz
stepping	: 7
cpu MHz		: 1600.000
cache size	: 8192 KB
physical id	: 0
siblings	: 4
core id		: 2
cpu cores	: 4
apicid		: 4
initial apicid	: 4
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips	: 6200.04
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 42
model name	: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz
stepping	: 7
cpu MHz		: 1600.000
cache size	: 8192 KB
physical id	: 0
siblings	: 4
core id		: 3
cpu cores	: 4
apicid		: 6
initial apicid	: 6
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips	: 6200.04
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: runqemu qemux86-64 image kvm cpuid error
  2016-09-26  9:51 runqemu qemux86-64 image kvm cpuid error Arjun Padmanabhan
@ 2016-09-27  9:54 ` Arjun Padmanabhan
  0 siblings, 0 replies; 2+ messages in thread
From: Arjun Padmanabhan @ 2016-09-27  9:54 UTC (permalink / raw)
  To: Arjun Padmanabhan, openbmc, Patrick Williams

[-- Attachment #1: Type: text/plain, Size: 2138 bytes --]

Hi,

Update: I could get past the issue by setting -cpu host,enforce in qemu command.

Runqemu was setting cpu as core2duo.

Regards
Arjun Padmanabhan
Software Design Engineer
Microsemi Storage Solutions India Pvt. Ltd.

From: openbmc [mailto:openbmc-bounces+arjun.padmanabhan=microsemi.com@lists.ozlabs.org] On Behalf Of Arjun Padmanabhan
Sent: Monday, September 26, 2016 3:22 PM
To: openbmc@lists.ozlabs.org; Patrick Williams
Cc: Balaji Marimuthu
Subject: runqemu qemux86-64 image kvm cpuid error

Hi,

While executing runqemu on qemux86-64 image with kvm option, I am getting CPUID kvm_asyncpf error.  Have anyone faced this issue? Is there any fix for this issue?

I am attaching my cpuinfo along with this mail.

Following is the console output.
[root@openbmc qemux86-64]# runqemu qemux86-64 kvm

Continuing with the following parameters:
KERNEL:
[/root/Desktop/openbmc/openbmc/qemu_build/tmp/deploy/images/qemux86-64/bzImage-qemux86-64.bin]
ROOTFS:
[/root/Desktop/openbmc/openbmc/qemu_build/tmp/deploy/images/qemux86-64/obmc-phosphor-image-qemux86-64-20160923061208.rootfs.ext4]
FSTYPE: [ext4]
Setting up tap interface under sudo
Acquiring lockfile for tap0...
Running qemu-system-x86_64...
/root/Desktop/openbmc/openbmc/qemu_build/tmp/sysroots/x86_64-linux/usr/bin/qemu-system-x86_64
-kernel
/root/Desktop/openbmc/openbmc/qemu_build/tmp/deploy/images/qemux86-64/bzImage-qemux86-64.bin
-net nic,model=virtio -net tap,vlan=0,ifname=tap0,script=no,downscript=no -cpu
kvm64 -drive
file=/root/Desktop/openbmc/openbmc/qemu_build/tmp/deploy/images/qemux86-64/obmc-phosphor-image-qemux86-64-20160923061208.rootfs.ext4,if=virtio,format=raw
-show-cursor -usb -usbdevice tablet -vga vmware -no-reboot -enable-kvm -m 256
-serial mon:vc -serial null -append "vga=0 uvesafb.mode_option=640x480-32
root=/dev/vda rw mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0
oprofile.timer=1 rootfstype=ext4 "
warning: host doesn't support requested feature:
CPUID.40000001H:EAX.kvm_asyncpf [bit 4]
VNC server running on '::1:5901'

Regards
Arjun Padmanabhan
Microsemi Storage Solutions India Pvt. Ltd.

[-- Attachment #2: Type: text/html, Size: 8951 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-27  9:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-26  9:51 runqemu qemux86-64 image kvm cpuid error Arjun Padmanabhan
2016-09-27  9:54 ` Arjun Padmanabhan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.