Re: [kvm-devel] [PATCH] lapic3: various cleanups on user/kernel irqchip

2007-08-13 Thread Avi Kivity
He, Qing wrote: > KVM: cleanups on user/kernel irqchip checking > > The patch removes the union of userspace irq_pending and kernel apic in > struct vcpu, which minimizes the impact of careless overwriting and > avoids accidentally dereferencing invalid apic pointer. > > It also adds a protective c

[kvm-devel] [PATCH] lapic3: various cleanups on user/kernel irqchip

2007-08-09 Thread He, Qing
KVM: cleanups on user/kernel irqchip checking The patch removes the union of userspace irq_pending and kernel apic in struct vcpu, which minimizes the impact of careless overwriting and avoids accidentally dereferencing invalid apic pointer. It also adds a protective checking on KVM_INTERRUPT ioc