Re: monitor flag on native kvm tool guest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Il 01 dicembre 2011 14:48, Avi Kivity <avi@xxxxxxxxxx> ha scritto:
> On 12/01/2011 03:37 PM, Daniele Carollo wrote:
>> Hi,
>> my name's Daniele and I'm using the native linux kvm tool.
>> If I try to execute it in this way ./kvm run -d ~/linux-0.2.img I get
>> a kernel panic like this: http://paste.org/41673
>> Only using the addictional option -p "idle=halt" I can run a virtual machine.
>> Printing cat /proc/cpuinfo on the host i get http://paste.org/41663
>> and on the guest http://paste.org/41664
>> Sashal from the native linux kvm tool team noticed that there is the
>> monitor cpu flag even on the guest.
>>
>
> from cpuid.c:
>
>    /* cpuid 1.ecx */
>    const u32 kvm_supported_word4_x86_features =
>        F(XMM3) | F(PCLMULQDQ) | 0 /* DTES64, MONITOR */ |
>
> so either the masking later on is subtly wrong, or kvm tool doesn't pass
> it on correctly, or Linux ignores it.
>
> Please run the attached program on the host and post its output.
>
> --
> error compiling committee.c: too many arguments to function
>

It gave me:
func 00000000 ind 00000000 flags 00000000 -> 0000000d 756e6547 6c65746e 49656e69
func 00000001 ind 00000000 flags 00000000 -> 000206a7 03100800 14b8220b 0f8bfbff
func 00000002 ind 00000000 flags 00000006 -> 76035a01 00f0b2ff 00000000 00ca0000
func 00000003 ind 00000000 flags 00000000 -> 00000000 00000000 00000000 00000000
func 00000004 ind 00000000 flags 00000001 -> 1c004121 01c0003f 0000003f 00000000
func 00000004 ind 00000001 flags 00000001 -> 1c004122 01c0003f 0000003f 00000000
func 00000004 ind 00000002 flags 00000001 -> 1c004143 01c0003f 000001ff 00000000
func 00000004 ind 00000003 flags 00000001 -> 1c03c163 02c0003f 00000fff 00000006
func 00000004 ind 00000004 flags 00000001 -> 00000000 00000000 00000000 00000000
func 00000005 ind 00000000 flags 00000000 -> 00000000 00000000 00000000 00000000
func 00000006 ind 00000000 flags 00000000 -> 00000000 00000000 00000000 00000000
func 00000007 ind 00000000 flags 00000001 -> 00000000 00000000 00000000 00000000
func 00000008 ind 00000000 flags 00000000 -> 00000000 00000000 00000000 00000000
func 00000009 ind 00000000 flags 00000000 -> 00000000 00000000 00000000 00000000
func 0000000a ind 00000000 flags 00000000 -> 00000000 00000000 00000000 00000000
func 0000000b ind 00000000 flags 00000001 -> 00000001 00000002 00000100 00000003
func 0000000b ind 00000001 flags 00000001 -> 00000004 00000004 00000201 00000003
func 0000000b ind 00000002 flags 00000001 -> 00000000 00000000 00000002 00000003
func 0000000c ind 00000000 flags 00000000 -> 00000000 00000000 00000000 00000000
func 0000000d ind 00000000 flags 00000001 -> 00000007 00000340 00000340 00000000
func 0000000d ind 00000001 flags 00000001 -> 00000001 00000000 00000000 00000000
func 0000000d ind 00000002 flags 00000001 -> 00000100 00000240 00000000 00000000
func 80000000 ind 00000000 flags 00000000 -> 80000008 00000000 00000000 00000000
func 80000001 ind 00000000 flags 00000000 -> 00000000 00000000 00000001 28100800
func 80000002 ind 00000000 flags 00000000 -> 00000000 00000000 00000000 00000000
func 80000003 ind 00000000 flags 00000000 -> 00000000 00000000 00000000 00000000
func 80000004 ind 00000000 flags 00000000 -> 00000000 00000000 00000000 00000000
func 80000005 ind 00000000 flags 00000000 -> 00000000 00000000 00000000 00000000
func 80000006 ind 00000000 flags 00000000 -> 00000000 00000000 00000000 00000000
func 80000007 ind 00000000 flags 00000000 -> 00000000 00000000 00000000 00000000
func 80000008 ind 00000000 flags 00000000 -> 00003024 00000000 00000000 00000000
func 40000000 ind 00000000 flags 00000000 -> 00000000 4b4d564b 564b4d56 0000004d
func 40000001 ind 00000000 flags 00000000 -> 0100003b 00000000 00000000 00000000
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux