Re: [PATCH] kvm-vmx: add module parameter to avoid trapping HLT instructions (v4)

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

 



On 12/06/2010 03:39 PM, Srivatsa Vaddagiri wrote:
>  >Also, just curious how this would work for idle vcpus that use mwait rather
>  >than hlt.
>
>  We don't expose mwait to the guest (emulating mwait is very expensive).

We seem to be queuing an exception upon mwait (EXIT_REASON_MWAIT_INSTRUCTION
being handled by a handle_invalid_op()). Does that kill the guest?

It sends a #UD, which tells the guest mwait isn't supported. Usually the guest will fall on its sword at this point, but that's not mandated.

--
error compiling committee.c: too many arguments to function

--
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