[PATCH v4 12/15] kvm: x86: Add user space part for in-kernel APIC

2011-12-08 Thread Jan Kiszka
This introduces the alternative APIC backend which makes use of KVM's in-kernel device model. External NMI injection via LINT1 is emulated by checking the current state of the in-kernel APIC, only injecting a NMI into the VCPU if LINT1 is unmasked and configured to DM_NMI. MSI is not yet supported

Re: [PATCH v4 12/15] kvm: x86: Add user space part for in-kernel APIC

2011-12-08 Thread Blue Swirl
On Thu, Dec 8, 2011 at 11:52, Jan Kiszka wrote: > This introduces the alternative APIC backend which makes use of KVM's > in-kernel device model. External NMI injection via LINT1 is emulated by > checking the current state of the in-kernel APIC, only injecting a NMI > into the VCPU if LINT1 is unm

Re: [PATCH v4 12/15] kvm: x86: Add user space part for in-kernel APIC

2011-12-08 Thread Jan Kiszka
On 2011-12-08 22:16, Blue Swirl wrote: > On Thu, Dec 8, 2011 at 11:52, Jan Kiszka wrote: >> This introduces the alternative APIC backend which makes use of KVM's >> in-kernel device model. External NMI injection via LINT1 is emulated by >> checking the current state of the in-kernel APIC, only inj

Re: [PATCH v4 12/15] kvm: x86: Add user space part for in-kernel APIC

2011-12-08 Thread Jan Kiszka
On 2011-12-09 08:45, Jan Kiszka wrote: > On 2011-12-08 22:16, Blue Swirl wrote: >> On Thu, Dec 8, 2011 at 11:52, Jan Kiszka wrote: >>> This introduces the alternative APIC backend which makes use of KVM's >>> in-kernel device model. External NMI injection via LINT1 is emulated by >>> checking the

Re: [PATCH v4 12/15] kvm: x86: Add user space part for in-kernel APIC

2011-12-10 Thread Blue Swirl
On Fri, Dec 9, 2011 at 07:52, Jan Kiszka wrote: > On 2011-12-09 08:45, Jan Kiszka wrote: >> On 2011-12-08 22:16, Blue Swirl wrote: >>> On Thu, Dec 8, 2011 at 11:52, Jan Kiszka wrote: This introduces the alternative APIC backend which makes use of KVM's in-kernel device model. External N

Re: [PATCH v4 12/15] kvm: x86: Add user space part for in-kernel APIC

2011-12-10 Thread Jan Kiszka
On 2011-12-10 16:40, Blue Swirl wrote: > On Fri, Dec 9, 2011 at 07:52, Jan Kiszka wrote: >> On 2011-12-09 08:45, Jan Kiszka wrote: >>> On 2011-12-08 22:16, Blue Swirl wrote: On Thu, Dec 8, 2011 at 11:52, Jan Kiszka wrote: > This introduces the alternative APIC backend which makes use of

Re: [PATCH v4 12/15] kvm: x86: Add user space part for in-kernel APIC

2011-12-10 Thread Blue Swirl
On Sat, Dec 10, 2011 at 15:58, Jan Kiszka wrote: > On 2011-12-10 16:40, Blue Swirl wrote: >> On Fri, Dec 9, 2011 at 07:52, Jan Kiszka wrote: >>> On 2011-12-09 08:45, Jan Kiszka wrote: On 2011-12-08 22:16, Blue Swirl wrote: > On Thu, Dec 8, 2011 at 11:52, Jan Kiszka wrote: >> This in