Re: [PATCH v2 4/4] KVM: x86: Add VCPU substate for NMI states

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

 



On 10/20/2009 06:08 PM, Gleb Natapov wrote:
On Tue, Oct 20, 2009 at 06:06:36PM +0900, Avi Kivity wrote:
On 10/20/2009 05:56 PM, Jan Kiszka wrote:
So save/restore kvm_vcpu_arch::exception? As another substate or as part
of a generalized NMI substate?
Yes.  It's not part of an nmi substate, but both can be part of an
exception substate (but need to look at the docs vewy cawefuwy to
make sure we don't screw up again).

What do you mean? How they can be both part of exception substate?


Sorry, nomenclature failure. We need NMI state, Interrupt state (already provided), and pending exception state (which can be a fault or a trap). There's also some extra state associated with pending debug exceptions (maybe we can copy it into dr6).

We can either put all of these into one substate, or into separate substates. I'm not sure which is best.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

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