RE: [PATCH 0/8] Patchset to enable vt-d support for kvm/ia64.

2008-10-07 Thread Zhang, Xiantao
Avi Kivity wrote: > Zhang, Xiantao wrote: >> Avi Kivity wrote: >> >>> Zhang, Xiantao wrote: >>> + +/* This should be called with the kvm->lock mutex held */ +void kvm_set_irq(struct kvm *kvm, int irq, int level) +{ + /* Not possible to detect if the guest uses the PIC or the

Re: [PATCH 0/8] Patchset to enable vt-d support for kvm/ia64.

2008-10-07 Thread Avi Kivity
Zhang, Xiantao wrote: Avi Kivity wrote: Zhang, Xiantao wrote: + +/* This should be called with the kvm->lock mutex held */ +void kvm_set_irq(struct kvm *kvm, int irq, int level) +{ + /* Not possible to detect if the guest uses the PIC or the +* IOAPIC. So set the bit in b

RE: [PATCH 0/8] Patchset to enable vt-d support for kvm/ia64.

2008-10-02 Thread Zhang, Xiantao
Avi Kivity wrote: > Zhang, Xiantao wrote: >> + >> +/* This should be called with the kvm->lock mutex held */ >> +void kvm_set_irq(struct kvm *kvm, int irq, int level) +{ >> +/* Not possible to detect if the guest uses the PIC or the >> + * IOAPIC. So set the bit in both. The guest will ign

Re: [PATCH 0/8] Patchset to enable vt-d support for kvm/ia64.

2008-10-02 Thread Avi Kivity
Zhang, Xiantao wrote: + +/* This should be called with the kvm->lock mutex held */ +void kvm_set_irq(struct kvm *kvm, int irq, int level) +{ + /* Not possible to detect if the guest uses the PIC or the +* IOAPIC. So set the bit in both. The guest will ignore +* writes to th

RE: [PATCH 0/8] Patchset to enable vt-d support for kvm/ia64.

2008-10-02 Thread Zhang, Xiantao
Hi, Avi Sorry, seems irq_comm.c is missing when I generate the patchset. Attach it! Could you help to apply the patchset ? :-) Xiantao >From cc77672cdfb5a566d1c7e86d91c07d6db99ad8c0 Mon Sep 17 00:00:00 2001 From: Xiantao Zhang <[EMAIL PROTECTED]> Date: Sat, 27 Sep 2008 11:29:14 +0800 Subje

Re: [PATCH 0/8] Patchset to enable vt-d support for kvm/ia64.

2008-10-02 Thread Avi Kivity
Zhang, Xiantao wrote: In order to enable vt-d suport for kvm/ia64 guests, I worked out the patchset to make it happen. Please review. The first five patches have no changes for logic and just do code move. Xiantao [PATCH 1/8] kvm/vt-d: Moving vtd.c from arch/x86/kvm/ to virt/kvm/ [PATCH 2/8] kvm:

[PATCH 0/8] Patchset to enable vt-d support for kvm/ia64.

2008-09-28 Thread Zhang, Xiantao
In order to enable vt-d suport for kvm/ia64 guests, I worked out the patchset to make it happen. Please review. The first five patches have no changes for logic and just do code move. Xiantao [PATCH 1/8] kvm/vt-d: Moving vtd.c from arch/x86/kvm/ to virt/kvm/ [PATCH 2/8] kvm: Moving device_assignmen