Re: [PATCH 1/4] kvm: define KVM_CAP_DEVICE_DEASSIGNMENT

2009-02-12 Thread Avi Kivity
Mark McLoughlin wrote: Looks good to me, but I wonder why we never used 0x6b-0x6f? Someone went from 0x69 to 0x70. I later used 0x6a. -- 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

Re: [PATCH 1/4] kvm: define KVM_CAP_DEVICE_DEASSIGNMENT

2009-02-11 Thread Avi Kivity
Han, Weidong wrote: define KVM_CAP_DEVICE_DEASSIGNMENT and KVM_DEASSIGN_PCI_DEVICE for device deassignment. #ifdef KVM_CAP_IRQ_ROUTING @@ -466,6 +469,8 @@ struct kvm_irq_routing { #define KVM_ASSIGN_IRQ _IOR(KVMIO, 0x70, \ struct kvm_assigned_irq) #define

Re: [PATCH 1/4] kvm: define KVM_CAP_DEVICE_DEASSIGNMENT

2009-02-11 Thread Mark McLoughlin
On Tue, 2009-02-10 at 20:40 +0800, Han, Weidong wrote: define KVM_CAP_DEVICE_DEASSIGNMENT and KVM_DEASSIGN_PCI_DEVICE for device deassignment. Should add a pointer to the commit which added this ioctl: commit 0a920356748df4fb06e86c21c23d2ed6d31d37ad Author: Weidong Han

[PATCH 1/4] kvm: define KVM_CAP_DEVICE_DEASSIGNMENT

2009-02-10 Thread Han, Weidong
define KVM_CAP_DEVICE_DEASSIGNMENT and KVM_DEASSIGN_PCI_DEVICE for device deassignment. Signed-off-by: Weidong Han weidong@intel.com --- include/linux/kvm.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/linux/kvm.h b/include/linux/kvm.h index