[Qemu-devel] [PATCH 1.1 0/4] Xen: Fix PV-on-HVM

2012-05-15 Thread Anthony PERARD
, Anthony PERARD (4): Introduce a new hotplug state: Force eject. qdev: Introduce qdev_force_unplug. pci: Add force_unplug callback. xen: Fix PV-on-HVM hw/acpi_piix4.c |5 + hw/pci.c | 15 +-- hw/pci.h |1 + hw/qdev.c | 23

[Qemu-devel] [PATCH 2/4] qdev: Introduce qdev_force_unplug.

2012-05-15 Thread Anthony PERARD
This function will be use to force a device to be ejected without the guest cooperation. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/qdev.c | 23 --- hw/qdev.h |3 +++ 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/hw/qdev.c b/hw

[Qemu-devel] [PATCH 1/4] Introduce a new hotplug state: Force eject.

2012-05-15 Thread Anthony PERARD
This hotplug state will be used to remove a device without the guest cooperation. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/acpi_piix4.c |5 + hw/pci.h|1 + 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/hw/acpi_piix4.c b/hw/acpi_piix4.c

[Qemu-devel] [PATCH 4/4] xen: Fix PV-on-HVM

2012-05-15 Thread Anthony PERARD
. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/xen_platform.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/xen_platform.c b/hw/xen_platform.c index a9c52a6..2e47129 100644 --- a/hw/xen_platform.c +++ b/hw/xen_platform.c @@ -87,7 +87,7 @@ static void

[Qemu-devel] [PATCH 3/4] pci: Add force_unplug callback.

2012-05-15 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/pci.c | 15 +-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index b706e69..c58bbc1 100644 --- a/hw/pci.c +++ b/hw/pci.c @@ -1518,7 +1518,7 @@ static int pci_qdev_init(DeviceState

Re: [Qemu-devel] [PATCH 2/4] qdev: Introduce qdev_force_unplug.

2012-05-15 Thread Anthony PERARD
On Tue, May 15, 2012 at 7:15 PM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Tue, 15 May 2012, Anthony PERARD wrote: This function will be use to force a device to be ejected without the guest cooperation. Signed-off-by: Anthony PERARD anthony.per...@citrix.com ---  hw

Re: [Qemu-devel] [PATCH 1/4] Introduce a new hotplug state: Force eject.

2012-05-15 Thread Anthony PERARD
On Tue, May 15, 2012 at 7:19 PM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: Given that it is supposed to be a state rather than an action, it should be called PCI_FORCE_DISABLED or something like that. Ok, I will change to that. Thanks, -- Anthony PERARD

Re: [Qemu-devel] [Xen-devel] [PATCH V8 RESEND 2/8] configure: Introduce --enable-xen-pci-passthrough.

2012-05-14 Thread Anthony PERARD
-by is in the last version of this series, V11. -- Anthony PERARD

Re: [Qemu-devel] [Xen-devel] [PATCH V8 RESEND 1/8] pci_ids: Add INTEL_82599_VF id.

2012-05-14 Thread Anthony PERARD
On Sat, May 12, 2012 at 2:43 AM, Konrad Rzeszutek Wilk kon...@darnok.org wrote: On Mon, Mar 19, 2012 at 12:54 PM, Anthony PERARD anthony.per...@citrix.com wrote: On 19/03/12 11:50, Stefano Stabellini wrote: On Fri, 16 Mar 2012, Anthony PERARD wrote: Signed-off-by: Anthony PERARDanthony.per

[Qemu-devel] [PATCH] xen: Support guest reboots

2012-04-16 Thread Anthony PERARD
From: John V. Baboval john.babo...@virtualcomputer.com Call xc_domain_shutdown with the reboot flag when the guest requests a reboot. Signed-off-by: John V. Baboval john.babo...@virtualcomputer.com Signed-off-by: Tom Goetz tom.go...@virtualcomputer.com Signed-off-by: Anthony PERARD anthony.per

Re: [Qemu-devel] [Qemu-trivial] [PATCH trivial] make: fix clean rule by removing build file in qom/

2012-04-03 Thread Anthony PERARD
? No, it is not. To prepare a patch (or patch set), I use a tool called topgit. http://repo.or.cz/w/topgit.git It creates one git branch per patch, and you can add as many dependence branch as you want. When you want to rebase a patch, topgit will merge with the depends. -- Anthony PERARD

[Qemu-devel] [PATCH V11 1/8] pci_ids: Add INTEL_82599_SFP_VF id.

2012-04-03 Thread Anthony PERARD
We are using this in our quirk lookup provided by patch titled: Introduce Xen PCI Passthrough, PCI config space helpers. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- hw/pci_ids.h |1 + 1 files changed, 1 insertions

[Qemu-devel] [PATCH V11 2/8] configure: Introduce --enable-xen-pci-passthrough.

2012-04-03 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Reviewed-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- configure | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/configure

[Qemu-devel] [PATCH V11 7/8] Introduce apic-msidef.h

2012-04-03 Thread Anthony PERARD
This patch move the msi definition from apic.c to apic-msidef.h. So it can be used also by other .c files. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- hw/apic-msidef.h | 30 ++ hw/apic.c

[Qemu-devel] [PATCH V11 6/8] Introduce Xen PCI Passthrough, PCI config space helpers (2/3)

2012-04-03 Thread Anthony PERARD
From: Allen Kay allen.m@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay allen.m@intel.com Signed-off-by: Guy Zana g...@neocleus.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano

[Qemu-devel] [PATCH V11 8/8] Introduce Xen PCI Passthrough, MSI (3/3)

2012-04-03 Thread Anthony PERARD
From: Jiang Yunhong yunhong.ji...@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Jiang Yunhong yunhong.ji...@intel.com Signed-off-by: Shan Haitao haitao.s...@intel.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com

[Qemu-devel] [PATCH V11 0/8] Xen PCI Passthrough

2012-04-03 Thread Anthony PERARD
Passthrough, PCI config space helpers (2/3) Anthony PERARD (5): pci_ids: Add INTEL_82599_SFP_VF id. configure: Introduce --enable-xen-pci-passthrough. Introduce XenHostPCIDevice to access a pci device on the host. pci.c: Add opaque argument to pci_for_each_device. Introduce apic-msidef.h

[Qemu-devel] [PATCH V11 4/8] pci.c: Add opaque argument to pci_for_each_device.

2012-04-03 Thread Anthony PERARD
The purpose is to have a more generic pci_for_each_device by passing an extra argument to the function called on every device. This patch will be used in a next patch. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- hw

[Qemu-devel] [PATCH V11 3/8] Introduce XenHostPCIDevice to access a pci device on the host.

2012-04-03 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- Makefile.target |3 + hw/xen-host-pci-device.c | 393 ++ hw/xen-host-pci-device.h | 55 +++ 3 files changed, 451 insertions(+), 0 deletions(-) create mode 100644 hw/xen

[Qemu-devel] [PATCH V11 5/8] Introduce Xen PCI Passthrough, qdevice (1/3)

2012-04-03 Thread Anthony PERARD
From: Allen Kay allen.m@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay allen.m@intel.com Signed-off-by: Guy Zana g...@neocleus.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano

[Qemu-devel] [PATCH trivial] make: fix clean rule by removing build file in qom/

2012-04-02 Thread Anthony PERARD
Make clean does not clean the 'qom' directory, leaving *.o and *.d files. This patch fixes this. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 35c7a2a..a78f53d 100644

Re: [Qemu-devel] [Xen-devel] [PATCH V10 3/8] Introduce XenHostPCIDevice to access a pci device on the host.

2012-03-30 Thread Anthony PERARD
happen [https://bugzilla.redhat.com/show_bug.cgi?id=767742]) shouldn't this function return something else besides 0? -1 should be good enough, as it's not an offset. Besides those comments, the patch looks good to me. Thanks, -- Anthony PERARD

Re: [Qemu-devel] [Xen-devel] [PATCH V10 1/8] pci_ids: Add INTEL_82599_SFP_VF id.

2012-03-30 Thread Anthony PERARD
will add this. Thanks, -- Anthony PERARD

Re: [Qemu-devel] [Xen-devel] [PATCH V10 4/8] pci.c: Add opaque argument to pci_for_each_device.

2012-03-30 Thread Anthony PERARD
comment. -- Anthony PERARD

[Qemu-devel] [PATCH V10 1/8] pci_ids: Add INTEL_82599_SFP_VF id.

2012-03-28 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- hw/pci_ids.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/pci_ids.h b/hw/pci_ids.h index e8235a7..649e6b3 100644 --- a/hw/pci_ids.h +++ b/hw

[Qemu-devel] [PATCH V10 7/8] Introduce apic-msidef.h

2012-03-28 Thread Anthony PERARD
This patch move the msi definition from apic.c to apic-msidef.h. So it can be used also by other .c files. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- hw/apic-msidef.h | 30 ++ hw/apic.c

[Qemu-devel] [PATCH V10 4/8] pci.c: Add opaque argument to pci_for_each_device.

2012-03-28 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- hw/pci.c | 11 +++ hw/pci.h |4 +++- hw/xen_platform.c |8 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/hw

[Qemu-devel] [PATCH V10 6/8] Introduce Xen PCI Passthrough, PCI config space helpers (2/3)

2012-03-28 Thread Anthony PERARD
From: Allen Kay allen.m@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay allen.m@intel.com Signed-off-by: Guy Zana g...@neocleus.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano

[Qemu-devel] [PATCH V10 0/8] Xen PCI Passthrough

2012-03-28 Thread Anthony PERARD
): Introduce Xen PCI Passthrough, qdevice (1/3) Introduce Xen PCI Passthrough, PCI config space helpers (2/3) Anthony PERARD (5): pci_ids: Add INTEL_82599_SFP_VF id. configure: Introduce --enable-xen-pci-passthrough. Introduce XenHostPCIDevice to access a pci device on the host. pci.c: Add

[Qemu-devel] [PATCH V10 8/8] Introduce Xen PCI Passthrough, MSI (3/3)

2012-03-28 Thread Anthony PERARD
From: Jiang Yunhong yunhong.ji...@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Jiang Yunhong yunhong.ji...@intel.com Signed-off-by: Shan Haitao haitao.s...@intel.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com

[Qemu-devel] [PATCH V10 2/8] configure: Introduce --enable-xen-pci-passthrough.

2012-03-28 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- configure | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 14ef738..cb7bc75 100755 --- a/configure

[Qemu-devel] [PATCH V10 5/8] Introduce Xen PCI Passthrough, qdevice (1/3)

2012-03-28 Thread Anthony PERARD
From: Allen Kay allen.m@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay allen.m@intel.com Signed-off-by: Guy Zana g...@neocleus.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano

[Qemu-devel] [PATCH V10 3/8] Introduce XenHostPCIDevice to access a pci device on the host.

2012-03-28 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- Makefile.target |3 + hw/xen-host-pci-device.c | 354 ++ hw/xen-host-pci-device.h | 78 ++ 3 files changed, 435 insertions(+), 0 deletions(-) create mode 100644 hw/xen

Re: [Qemu-devel] [PATCH V9 3/8] Introduce HostPCIDevice to access a pci device on the host.

2012-03-23 Thread Anthony PERARD
On Wed, Mar 21, 2012 at 20:30, Michael S. Tsirkin m...@redhat.com wrote: On Wed, Mar 21, 2012 at 06:29:00PM +, Anthony PERARD wrote: Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano Stabellini stefano.stabell...@eu.citrix.com So this interface is really

Re: [Qemu-devel] [PATCH V9 5/8] Introduce Xen PCI Passthrough, qdevice (1/3)

2012-03-22 Thread Anthony PERARD
On Wed, Mar 21, 2012 at 20:46, Michael S. Tsirkin m...@redhat.com wrote: On Wed, Mar 21, 2012 at 06:29:02PM +, Anthony PERARD wrote: diff --git a/hw/xen_pci_passthrough.h b/hw/xen_pci_passthrough.h new file mode 100644 index 000..2c5e83d --- /dev/null +++ b/hw/xen_pci_passthrough.h

[Qemu-devel] [PATCH V9 7/8] Introduce apic-msidef.h

2012-03-21 Thread Anthony PERARD
This patch move the msi definition from apic.c to apic-msidef.h. So it can be used also by other .c files. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- hw/apic-msidef.h | 30 ++ hw/apic.c

[Qemu-devel] [PATCH V9 3/8] Introduce HostPCIDevice to access a pci device on the host.

2012-03-21 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- Makefile.target |3 + hw/host-pci-device.c | 278 ++ hw/host-pci-device.h | 75 ++ 3 files changed, 356

[Qemu-devel] [PATCH V9 2/8] configure: Introduce --enable-xen-pci-passthrough.

2012-03-21 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- configure | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 8b4e3c1..f61bd48 100755 --- a/configure

[Qemu-devel] [PATCH V9 5/8] Introduce Xen PCI Passthrough, qdevice (1/3)

2012-03-21 Thread Anthony PERARD
From: Allen Kay allen.m@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay allen.m@intel.com Signed-off-by: Guy Zana g...@neocleus.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano

[Qemu-devel] [PATCH V9 6/8] Introduce Xen PCI Passthrough, PCI config space helpers (2/3)

2012-03-21 Thread Anthony PERARD
From: Allen Kay allen.m@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay allen.m@intel.com Signed-off-by: Guy Zana g...@neocleus.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano

[Qemu-devel] [PATCH V9 0/8] Xen PCI Passthrough

2012-03-21 Thread Anthony PERARD
Passthrough, PCI config space helpers (2/3) Anthony PERARD (5): pci_ids: Add INTEL_82599_VF id. configure: Introduce --enable-xen-pci-passthrough. Introduce HostPCIDevice to access a pci device on the host. pci.c: Add opaque argument to pci_for_each_device. Introduce apic-msidef.h Jiang Yunhong

Re: [Qemu-devel] [PATCH V9 3/8] Introduce HostPCIDevice to access a pci device on the host.

2012-03-21 Thread Anthony PERARD
? These functions are not very Xen specific and just provide a layer to access to a pci device. -- Anthony PERARD

[Qemu-devel] [PATCH V9 4/8] pci.c: Add opaque argument to pci_for_each_device.

2012-03-21 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/pci.c | 11 +++ hw/pci.h |4 +++- hw/xen_platform.c |8 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index 77001fa..49f1bf0 100644 --- a/hw/pci.c

[Qemu-devel] [PATCH V9 8/8] Introduce Xen PCI Passthrough, MSI (3/3)

2012-03-21 Thread Anthony PERARD
From: Jiang Yunhong yunhong.ji...@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Jiang Yunhong yunhong.ji...@intel.com Signed-off-by: Shan Haitao haitao.s...@intel.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com

[Qemu-devel] [PATCH V9 1/8] pci_ids: Add INTEL_82599_SFP_VF id.

2012-03-21 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/pci_ids.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/pci_ids.h b/hw/pci_ids.h index e8235a7..649e6b3 100644 --- a/hw/pci_ids.h +++ b/hw/pci_ids.h @@ -118,6 +118,7 @@ #define

[Qemu-devel] [PATCH] exec, Fix guest memory access.

2012-03-19 Thread Anthony PERARD
guest. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- exec.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exec.c b/exec.c index be392e2..be08930 100644 --- a/exec.c +++ b/exec.c @@ -3851,8 +3851,8 @@ void cpu_physical_memory_rw(target_phys_addr_t addr

Re: [Qemu-devel] [PATCH V8 RESEND 1/8] pci_ids: Add INTEL_82599_VF id.

2012-03-19 Thread Anthony PERARD
On 19/03/12 11:50, Stefano Stabellini wrote: On Fri, 16 Mar 2012, Anthony PERARD wrote: Signed-off-by: Anthony PERARDanthony.per...@citrix.com --- hw/pci_ids.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/pci_ids.h b/hw/pci_ids.h index e8235a7..943106a 100644

Re: [Qemu-devel] [PATCH V8 RESEND 4/8] pci.c: Add pci_check_bar_overlap

2012-03-19 Thread Anthony PERARD
On 19/03/12 13:15, Michael S. Tsirkin wrote: On Fri, Mar 16, 2012 at 04:54:18PM +, Anthony PERARD wrote: From: Yuji Shimadashimada-...@necst.nec.co.jp This function helps Xen PCI Passthrough device to check for overlap. Signed-off-by: Yuji Shimadashimada-...@necst.nec.co.jp Signed-off

[Qemu-devel] [PATCH V8 RESEND 1/8] pci_ids: Add INTEL_82599_VF id.

2012-03-16 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/pci_ids.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/pci_ids.h b/hw/pci_ids.h index e8235a7..943106a 100644 --- a/hw/pci_ids.h +++ b/hw/pci_ids.h @@ -118,6 +118,7 @@ #define

[Qemu-devel] [PATCH V8 RESEND 4/8] pci.c: Add pci_check_bar_overlap

2012-03-16 Thread Anthony PERARD
From: Yuji Shimada shimada-...@necst.nec.co.jp This function helps Xen PCI Passthrough device to check for overlap. Signed-off-by: Yuji Shimada shimada-...@necst.nec.co.jp Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/pci.c | 50

[Qemu-devel] [PATCH V8 RESEND 7/8] Introduce apic-msidef.h

2012-03-16 Thread Anthony PERARD
This patch move the msi definition from apic.c to apic-msidef.h. So it can be used also by other .c files. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/apic-msidef.h | 30 ++ hw/apic.c| 11 +-- 2 files changed, 31 insertions

[Qemu-devel] [PATCH V8 RESEND 8/8] Introduce Xen PCI Passthrough, MSI (3/3)

2012-03-16 Thread Anthony PERARD
From: Jiang Yunhong yunhong.ji...@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Jiang Yunhong yunhong.ji...@intel.com Signed-off-by: Shan Haitao haitao.s...@intel.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com

[Qemu-devel] [PATCH V8 RESEND 5/8] Introduce Xen PCI Passthrough, qdevice (1/3)

2012-03-16 Thread Anthony PERARD
From: Allen Kay allen.m@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay allen.m@intel.com Signed-off-by: Guy Zana g...@neocleus.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- Makefile.target

[Qemu-devel] [PATCH V8 RESEND 0/8] Xen PCI Passthrough

2012-03-16 Thread Anthony PERARD
Xen PCI Passthrough, PCI config space helpers (2/3) Anthony PERARD (4): pci_ids: Add INTEL_82599_VF id. configure: Introduce --enable-xen-pci-passthrough. Introduce HostPCIDevice to access a pci device on the host. Introduce apic-msidef.h Jiang Yunhong (1): Introduce Xen PCI Passthrough

[Qemu-devel] [PATCH V8 RESEND 6/8] Introduce Xen PCI Passthrough, PCI config space helpers (2/3)

2012-03-16 Thread Anthony PERARD
From: Allen Kay allen.m@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay allen.m@intel.com Signed-off-by: Guy Zana g...@neocleus.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw

[Qemu-devel] [PATCH V8 RESEND 2/8] configure: Introduce --enable-xen-pci-passthrough.

2012-03-16 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- configure | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/configure b/configure index afe7395..1d1204a 100755 --- a/configure +++ b/configure @@ -136,6 +136,7 @@ vnc_png= vnc_thread

[Qemu-devel] [PATCH V8 RESEND 3/8] Introduce HostPCIDevice to access a pci device on the host.

2012-03-16 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- Makefile.target |3 + hw/host-pci-device.c | 278 ++ hw/host-pci-device.h | 75 ++ 3 files changed, 356 insertions(+), 0 deletions(-) create mode 100644 hw/host-pci

[Qemu-devel] Xen, mapcache: Fix the compute of the size of bucket.

2012-03-08 Thread Anthony PERARD
Because the size of a mapping is wrong when there is an offset and a size = bucket_size. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- xen-mapcache.c | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/xen-mapcache.c b/xen-mapcache.c index 585b559

Re: [Qemu-devel] [PATCH V7 06/11] pci.c: Add pci_check_bar_overlap

2012-02-28 Thread Anthony PERARD
On Sun, Feb 19, 2012 at 13:35, Michael S. Tsirkin m...@redhat.com wrote: On Fri, Feb 17, 2012 at 05:08:40PM +, Anthony PERARD wrote: From: Yuji Shimada shimada-...@necst.nec.co.jp This function helps Xen PCI Passthrough device to check for overlap. Signed-off-by: Yuji Shimada shimada

[Qemu-devel] [PATCH V8 4/8] pci.c: Add pci_check_bar_overlap

2012-02-28 Thread Anthony PERARD
From: Yuji Shimada shimada-...@necst.nec.co.jp This function helps Xen PCI Passthrough device to check for overlap. Signed-off-by: Yuji Shimada shimada-...@necst.nec.co.jp Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/pci.c | 50

[Qemu-devel] [PATCH V8 7/8] Introduce apic-msidef.h

2012-02-28 Thread Anthony PERARD
This patch move the msi definition from apic.c to apic-msidef.h. So it can be used also by other .c files. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Cc: Michael S. Tsirkin m...@redhat.com --- hw/apic-msidef.h | 28 hw/apic.c| 11

[Qemu-devel] [PATCH V8 0/8] Xen PCI Passthrough

2012-02-28 Thread Anthony PERARD
) Anthony PERARD (4): pci_ids: Add INTEL_82599_VF id. configure: Introduce --enable-xen-pci-passthrough. Introduce HostPCIDevice to access a pci device on the host. Introduce apic-msidef.h Jiang Yunhong (1): Introduce Xen PCI Passthrough, MSI (3/3) Yuji Shimada (1): pci.c: Add

[Qemu-devel] [PATCH V8 2/8] configure: Introduce --enable-xen-pci-passthrough.

2012-02-28 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- configure | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/configure b/configure index f9d5330..82fa594 100755 --- a/configure +++ b/configure @@ -133,6 +133,7 @@ vnc_png= vnc_thread

[Qemu-devel] [PATCH V8 8/8] Introduce Xen PCI Passthrough, MSI (3/3)

2012-02-28 Thread Anthony PERARD
From: Jiang Yunhong yunhong.ji...@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Jiang Yunhong yunhong.ji...@intel.com Signed-off-by: Shan Haitao haitao.s...@intel.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com

[Qemu-devel] [PATCH V8 1/8] pci_ids: Add INTEL_82599_VF id.

2012-02-28 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/pci_ids.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/pci_ids.h b/hw/pci_ids.h index e8235a7..943106a 100644 --- a/hw/pci_ids.h +++ b/hw/pci_ids.h @@ -118,6 +118,7 @@ #define

[Qemu-devel] [PATCH V8 6/8] Introduce Xen PCI Passthrough, PCI config space helpers (2/3)

2012-02-28 Thread Anthony PERARD
From: Allen Kay allen.m@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay allen.m@intel.com Signed-off-by: Guy Zana g...@neocleus.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw

[Qemu-devel] [PATCH V8 5/8] Introduce Xen PCI Passthrough, qdevice (1/3)

2012-02-28 Thread Anthony PERARD
From: Allen Kay allen.m@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay allen.m@intel.com Signed-off-by: Guy Zana g...@neocleus.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- Makefile.target

[Qemu-devel] [PATCH V8 3/8] Introduce HostPCIDevice to access a pci device on the host.

2012-02-28 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- Makefile.target |3 + hw/host-pci-device.c | 278 ++ hw/host-pci-device.h | 75 ++ 3 files changed, 356 insertions(+), 0 deletions(-) create mode 100644 hw/host-pci

Re: [Qemu-devel] [PATCH RESEND v5 2/6] Introduce save_devices

2012-02-28 Thread Anthony PERARD
, SaveStateHandler *save_state, Acked-by: Anthony PERARD anthony.per...@citrix.com -- Anthony PERARD

Re: [Qemu-devel] [PATCH RESEND v5 3/6] Set runstate to INMIGRATE earlier

2012-02-28 Thread Anthony PERARD
On 28/02/12 15:51, Stefano Stabellini wrote: Set runstate to RUN_STATE_INMIGRATE as soon as we can on resume. Signed-off-by: Stefano Stabellinistefano.stabell...@eu.citrix.com Acked-by: Anthony PERARD anthony.per...@citrix.com -- Anthony PERARD

Re: [Qemu-devel] [PATCH RESEND v5 1/6] cirrus_vga: do not reset videoram

2012-02-28 Thread Anthony PERARD
On 28/02/12 15:51, Stefano Stabellini wrote: There is no need to set the videoram to 0xff in cirrus_reset, because it is the BIOS' job. Signed-off-by: Stefano Stabellinistefano.stabell...@eu.citrix.com Acked-by: Anthony PERARD anthony.per...@citrix.com -- Anthony PERARD

Re: [Qemu-devel] [Xen-devel] [PATCH V7 00/11] Xen PCI Passthrough

2012-02-22 Thread Anthony PERARD
On Mon, 20 Feb 2012, Anthony PERARD wrote: On Mon, Feb 20, 2012 at 19:58, Tobias Geiger tobias.gei...@vido.info wrote: [00:06.0] pt_pci_read_config: address=0x0030 val=0x len=4 [00:06.0] pt_pci_write_config: address=0x0030 val=0x len=4 [00:06.0] pt_iomem_map: BAR 6, e_phys

Re: [Qemu-devel] [PATCH V7 03/11] pci_regs: Add PCI_EXP_TYPE_PCIE_BRIDGE

2012-02-21 Thread Anthony PERARD
On Mon, Feb 20, 2012 at 20:30, Michael S. Tsirkin m...@redhat.com wrote: On Fri, Feb 17, 2012 at 05:08:37PM +, Anthony PERARD wrote: Signed-off-by: Anthony PERARD anthony.per...@citrix.com ---  hw/pci_regs.h |    1 +  1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw

Re: [Qemu-devel] [PATCH V7 11/11] xen passthrough: clean up MSI-X table handling

2012-02-21 Thread Anthony PERARD
to the history, anyway. I'll merge the patch. Thanks, -- Anthony PERARD

[Qemu-devel] PCI: Add PCI_EXP_TYPE_PCIE_BRIDGE value

2012-02-21 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- include/linux/pci_regs.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/pci_regs.h b/include/linux/pci_regs.h index e41a10f..4b608f5 100644 --- a/include/linux/pci_regs.h +++ b/include/linux

Re: [Qemu-devel] [Xen-devel] [PATCH V7 00/11] Xen PCI Passthrough

2012-02-20 Thread Anthony PERARD
version to which these patches apply? Hi, http://git.qemu.org/git/qemu.git or git://git.qemu.org/qemu.git Regards, -- Anthony PERARD

Re: [Qemu-devel] [Xen-devel] [PATCH V7 00/11] Xen PCI Passthrough

2012-02-20 Thread Anthony PERARD
of qemu ( /var/log/xen/qemu-dm-$vm_name.log ). There is also a way to have more from QEMU by decommenting this two lines: /* #define PT_LOGGING_ENABLED */ /* #define PT_DEBUG_PCI_CONFIG_ACCESS */ in hw/xen_pci_passthrough.h Thanks for the testing, -- Anthony PERARD

Re: [Qemu-devel] [Xen-devel] [PATCH V7 00/11] Xen PCI Passthrough

2012-02-20 Thread Anthony PERARD
: Assertion `subregion-parent == mr' failed. This last line is why QEMU fail and I thinks it's because I never try a PCI device with a ROM pci bar. I'll try to fix this tomorrow. Thanks, -- Anthony PERARD

[Qemu-devel] [PATCH V7 02/11] pci_regs: Fix value of PCI_EXP_TYPE_RC_EC.

2012-02-17 Thread Anthony PERARD
Value check in PCI Express Base Specification rev 1.1 Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/pci_regs.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/pci_regs.h b/hw/pci_regs.h index e8357c3..6b42515 100644 --- a/hw/pci_regs.h +++ b/hw

[Qemu-devel] [PATCH V7 03/11] pci_regs: Add PCI_EXP_TYPE_PCIE_BRIDGE

2012-02-17 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/pci_regs.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/pci_regs.h b/hw/pci_regs.h index 6b42515..56a404b 100644 --- a/hw/pci_regs.h +++ b/hw/pci_regs.h @@ -392,6 +392,7 @@ #define

[Qemu-devel] [PATCH V7 00/11] Xen PCI Passthrough

2012-02-17 Thread Anthony PERARD
Passthrough, PCI config space helpers (2/3) Anthony PERARD (6): pci_ids: Add INTEL_82599_VF id. pci_regs: Fix value of PCI_EXP_TYPE_RC_EC. pci_regs: Add PCI_EXP_TYPE_PCIE_BRIDGE configure: Introduce --enable-xen-pci-passthrough. Introduce HostPCIDevice to access a pci device on the host

[Qemu-devel] [PATCH V7 08/11] Introduce Xen PCI Passthrough, PCI config space helpers (2/3)

2012-02-17 Thread Anthony PERARD
From: Allen Kay allen.m@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay allen.m@intel.com Signed-off-by: Guy Zana g...@neocleus.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw

[Qemu-devel] [PATCH V7 11/11] xen passthrough: clean up MSI-X table handling

2012-02-17 Thread Anthony PERARD
. Signed-off-by: Jan Beulich jbeul...@suse.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/xen_pci_passthrough.c | 80 -- hw/xen_pci_passthrough.h | 11 +- hw/xen_pci_passthrough_msi.c | 62

[Qemu-devel] [PATCH V7 10/11] Introduce Xen PCI Passthrough, MSI (3/3)

2012-02-17 Thread Anthony PERARD
From: Jiang Yunhong yunhong.ji...@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Jiang Yunhong yunhong.ji...@intel.com Signed-off-by: Shan Haitao haitao.s...@intel.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com

[Qemu-devel] [PATCH V7 01/11] pci_ids: Add INTEL_82599_VF id.

2012-02-17 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/pci_ids.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/pci_ids.h b/hw/pci_ids.h index e8235a7..943106a 100644 --- a/hw/pci_ids.h +++ b/hw/pci_ids.h @@ -118,6 +118,7 @@ #define

[Qemu-devel] [PATCH V7 06/11] pci.c: Add pci_check_bar_overlap

2012-02-17 Thread Anthony PERARD
From: Yuji Shimada shimada-...@necst.nec.co.jp This function helps Xen PCI Passthrough device to check for overlap. Signed-off-by: Yuji Shimada shimada-...@necst.nec.co.jp Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/pci.c | 47

[Qemu-devel] [PATCH V7 05/11] Introduce HostPCIDevice to access a pci device on the host.

2012-02-17 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- Makefile.target |3 + hw/host-pci-device.c | 278 ++ hw/host-pci-device.h | 75 ++ 3 files changed, 356 insertions(+), 0 deletions(-) create mode 100644 hw/host-pci

[Qemu-devel] [PATCH V7 04/11] configure: Introduce --enable-xen-pci-passthrough.

2012-02-17 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- configure | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 68f9ee6..e2c8d3f 100755 --- a/configure +++ b/configure @@ -132,6 +132,7 @@ vnc_png= vnc_thread

[Qemu-devel] [PATCH V7 07/11] Introduce Xen PCI Passthrough, qdevice (1/3)

2012-02-17 Thread Anthony PERARD
From: Allen Kay allen.m@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay allen.m@intel.com Signed-off-by: Guy Zana g...@neocleus.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- Makefile.target

[Qemu-devel] [PATCH V7 09/11] Introduce apic-msidef.h

2012-02-17 Thread Anthony PERARD
This patch move the msi definition from apic.c to apic-msidef.h. So it can be used also by other .c files. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/apic-msidef.h | 28 hw/apic.c| 11 +-- 2 files changed, 29 insertions(+), 10

Re: [Qemu-devel] [Xen-devel] [PATCH V6 10/11] Introduce Xen PCI Passthrough, MSI (3/3)

2012-02-14 Thread Anthony PERARD
On Tue, Feb 14, 2012 at 13:13, Jan Beulich jbeul...@suse.com wrote: On 13.02.12 at 13:20, Anthony PERARD anthony.per...@citrix.com wrote: From: Jiang Yunhong yunhong.ji...@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git This needs

[Qemu-devel] [PATCH V6 00/11] Xen PCI Passthrough

2012-02-13 Thread Anthony PERARD
Kay (2): Introduce Xen PCI Passthrough, qdevice (1/3) Introduce Xen PCI Passthrough, PCI config space helpers (2/3) Anthony PERARD (7): pci_ids: Add INTEL_82599_VF id. pci_regs: Fix value of PCI_EXP_TYPE_RC_EC. pci_regs: Add PCI_EXP_TYPE_PCIE_BRIDGE configure: Introduce --enable-xen-pci

[Qemu-devel] [PATCH V6 04/11] configure: Introduce --enable-xen-pci-passthrough.

2012-02-13 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- configure | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 763db24..0787992 100755 --- a/configure +++ b/configure @@ -132,6 +132,7 @@ vnc_png= vnc_thread

[Qemu-devel] [PATCH V6 02/11] pci_regs: Fix value of PCI_EXP_TYPE_RC_EC.

2012-02-13 Thread Anthony PERARD
Value check in PCI Express Base Specification rev 1.1 Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/pci_regs.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/pci_regs.h b/hw/pci_regs.h index e8357c3..6b42515 100644 --- a/hw/pci_regs.h +++ b/hw

[Qemu-devel] [PATCH V6 01/11] pci_ids: Add INTEL_82599_VF id.

2012-02-13 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/pci_ids.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/pci_ids.h b/hw/pci_ids.h index e8235a7..943106a 100644 --- a/hw/pci_ids.h +++ b/hw/pci_ids.h @@ -118,6 +118,7 @@ #define

[Qemu-devel] [PATCH V6 06/11] pci.c: Add pci_check_bar_overlap

2012-02-13 Thread Anthony PERARD
From: Yuji Shimada shimada-...@necst.nec.co.jp This function helps Xen PCI Passthrough device to check for overlap. Signed-off-by: Yuji Shimada shimada-...@necst.nec.co.jp Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/pci.c | 47

[Qemu-devel] [PATCH V6 08/11] Introduce Xen PCI Passthrough, PCI config space helpers (2/3)

2012-02-13 Thread Anthony PERARD
From: Allen Kay allen.m@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay allen.m@intel.com Signed-off-by: Guy Zana g...@neocleus.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw

[Qemu-devel] [PATCH V6 07/11] Introduce Xen PCI Passthrough, qdevice (1/3)

2012-02-13 Thread Anthony PERARD
From: Allen Kay allen.m@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay allen.m@intel.com Signed-off-by: Guy Zana g...@neocleus.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- Makefile.target

[Qemu-devel] [PATCH V6 11/11] pci: Do not check if a bus exist in pci_parse_devaddr.

2012-02-13 Thread Anthony PERARD
Actually, pci_parse_devaddr checks if the dom/bus of the PCI address exist. But this should be the jobs of a caller. In fact, the two callers of this function will try to retrieve the PCIBus related to the devaddr and return an error if they cannot. Signed-off-by: Anthony PERARD anthony.per

[Qemu-devel] [PATCH V6 10/11] Introduce Xen PCI Passthrough, MSI (3/3)

2012-02-13 Thread Anthony PERARD
From: Jiang Yunhong yunhong.ji...@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Jiang Yunhong yunhong.ji...@intel.com Signed-off-by: Shan Haitao haitao.s...@intel.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com

<    4   5   6   7   8   9   10   11   12   13   >