RE: [PATCH 1/1] KVM/userspace: Support for assigning PCI devices to guests

2008-09-09 Thread Zhang, Xiantao
Hi, Amit --- libkvm/libkvm-x86.c | 14 + libkvm/libkvm.h | 27 ++ qemu/Makefile.target|1 + qemu/hw/device-assignment.c | 600 +++ qemu/hw/device-assignment.h | 94 +++ qemu/hw/isa.h |2 +

Re: [PATCH 1/1] KVM/userspace: Support for assigning PCI devices to guests

2008-08-28 Thread Anthony Liguori
Amit Shah wrote: * On Wednesday 27 Aug 2008 19:20:26 Anthony Liguori wrote: libkvm/libkvm-x86.c | 14 + libkvm/libkvm.h | 27 ++ qemu/Makefile.target|1 + qemu/hw/device-assignment.c | 600 +++

Re: [Qemu-devel] Re: [PATCH 1/1] KVM/userspace: Support for assigning PCI devices to guests

2008-08-28 Thread Ian Jackson
Amit Shah writes ([Qemu-devel] Re: [PATCH 1/1] KVM/userspace: Support for assigning PCI devices to guests): I got the xen-unstable hg tree and am looking at tools/ioemu/pass-through.[ch] That's the old ioemu tree which is pretty much dead now. Please point me to the code you're looking

Re: [PATCH 1/1] KVM/userspace: Support for assigning PCI devices to guests

2008-08-27 Thread Ben-Ami Yassour
On Tue, 2008-08-26 at 18:29 +0300, Amit Shah wrote: From: Or Sagi [EMAIL PROTECTED] From: Nir Peleg [EMAIL PROTECTED] From: Amit Shah [EMAIL PROTECTED] From: Ben-Ami Yassour [EMAIL PROTECTED] From: Glauber de Oliveira Costa [EMAIL PROTECTED] With this patch, we can assign a device on the

Re: [PATCH 1/1] KVM/userspace: Support for assigning PCI devices to guests

2008-08-27 Thread Anthony Liguori
Hi Amit, Amit Shah wrote: With this patch, we can assign a device on the host machine to a guest. A new command-line option, -pcidevice is added. For example, to invoke it for a device sitting at PCI bus:dev.fn 04:08.0 with host IRQ 18, use this: -pcidevice host=04:08.0 Let's

Re: [PATCH 1/1] KVM/userspace: Support for assigning PCI devices to guests

2008-08-27 Thread Anthony Liguori
Anthony Liguori wrote: Hi Amit, ifeq ($(USE_KVM_PIT), 1) OBJS+= i8254-kvm.o endif diff --git a/qemu/hw/device-assignment.c b/qemu/hw/device-assignment.c new file mode 100644 index 000..8bc4e5c --- /dev/null +++ b/qemu/hw/device-assignment.c Where did this come from originally? It's

Re: [PATCH 1/1] KVM/userspace: Support for assigning PCI devices to guests

2008-08-27 Thread Ian Jackson
Anthony Liguori writes (Re: [PATCH 1/1] KVM/userspace: Support for assigning PCI devices to guests): Where did this come from originally? It's completely different from what is in xen-unstable. What's in xen-unstable is actually a lot nicer IMHO. Amit: have you taken a look at the code

[PATCH 1/1] KVM/userspace: Support for assigning PCI devices to guests

2008-08-26 Thread Amit Shah
From: Or Sagi [EMAIL PROTECTED] From: Nir Peleg [EMAIL PROTECTED] From: Amit Shah [EMAIL PROTECTED] From: Ben-Ami Yassour [EMAIL PROTECTED] From: Glauber de Oliveira Costa [EMAIL PROTECTED] With this patch, we can assign a device on the host machine to a guest. A new command-line option,