Re: [Qemu-devel] [PATCH V3 2/2] qemu: Add qemu xen logic for Xen HVM S3 resume

2013-09-10 Thread Anthony PERARD
(shared page at pfn %lx\n, ioreq_pfn); state-shared_page = xc_map_foreign_range(xen_xc, xen_domid, XC_PAGE_SIZE, Reviewed-by: Anthony PERARD anthony.per...@citrix.com -- Anthony PERARD

Re: [Qemu-devel] [PATCH V3 1/2] qemu: Adjust qemu wakeup

2013-09-10 Thread Anthony PERARD
-by: Anthony PERARD anthony.per...@citrix.com -- Anthony PERARD

[Qemu-devel] [PATCH] docs: Fix IO port number for CPU present bitmap.

2013-09-10 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- docs/specs/acpi_cpu_hotplug.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/specs/acpi_cpu_hotplug.txt b/docs/specs/acpi_cpu_hotplug.txt index 5dec0c5..f6f5774 100644 --- a/docs/specs/acpi_cpu_hotplug.txt

[Qemu-devel] [PATCH v4 2/2] xen: Enable cpu-hotplug on xenfv machine.

2013-09-10 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/i386/pc_piix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index 275e395..5d43663 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -730,6 +730,7 @@ static QEMUMachine

[Qemu-devel] [PATCH v4 1/2] xen: Fix vcpu initialization.

2013-09-10 Thread Anthony PERARD
Each vcpu need a evtchn binded in qemu, even those that are offline at QEMU initialisation. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- xen-all.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xen-all.c b/xen-all.c index eb13111..f4c3ffa 100644

[Qemu-devel] [PATCH v4 0/2] Enable CPU hotplug when running under Xen

2013-09-10 Thread Anthony PERARD
First patch fix a bug that would be otherwise trigger when we'll hotplug a CPU. Second patch does enable CPU hotplug on the xenfv qemu machine so a default installation of Xen 4.3+ can use the cpu-hotplug capability of QEMU. Anthony PERARD (2): xen: Fix vcpu initialization. xen: Enable cpu

Re: [Qemu-devel] [PATCH] qemu-xen: make use of xenstore relative paths

2013-09-26 Thread Anthony PERARD
on a domain different than Dom0. Instead make the xenstore paths relative to the domain where Qemu is actually running. Signed-off-by: Roger Pau Monné roger@citrix.com Cc: xen-de...@lists.xenproject.org Cc: Anthony PERARD anthony.per...@citrix.com Cc: Stefano Stabellini stefano.stabell

Re: [Qemu-devel] [PATCH] qemu-xen: make use of xenstore relative paths

2013-09-27 Thread Anthony PERARD
On Thu, Sep 26, 2013 at 07:20:31PM +0200, Roger Pau Monné wrote: On 26/09/13 18:46, Anthony PERARD wrote: On Wed, Sep 18, 2013 at 09:50:58PM +0200, Roger Pau Monne wrote: Qemu has several hardcoded xenstore paths that are only valid on Dom0. Attempts to launch a Qemu instance (to act

[Qemu-devel] [PATCH] qxl: Fix QXLRam initialisation.

2013-06-17 Thread Anthony PERARD
The qxl driver expect NULL for QXLRam.memory_configs, but this is never initialized. If memory is set to 0xc2c2.., it leads to a spice-critical error when trying to start qxl. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/display/qxl.c | 1 + 1 file changed, 1 insertion

Re: [Qemu-devel] [Qemu-trivial] [PATCH] qxl: Fix QXLRam initialisation.

2013-06-18 Thread Anthony PERARD
, it's not critical. There is other issue with Xen before to get QXL running. Regards, -- Anthony PERARD

[Qemu-devel] [PATCH V5 00/14] xen device model support

2010-10-11 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Hi all, This is the fifth version of the patch series that adds Xen device model support in QEMU. The change we have made on the last version are: - We removed the Xen specific ACPI PIIX4 implementation and added a Xen call in acpi_piix4.c

[Qemu-devel] [PATCH V5 02/14] xen: Support new libxc calls from xen unstable.

2010-10-11 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Update the libxenctrl calls in Qemu to use the new interface, otherwise Qemu wouldn't be able to build against new versions of the library. We also check libxenctrl version in configure, from Xen 3.3.0 to Xen unstable. Signed-off-by: Anthony PERARD

[Qemu-devel] [PATCH V5 04/14] Introduce -accel command option.

2010-10-11 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This option gives the ability to switch one accelerator like kvm, xen or the default one tcg. We can specify more than one accelerator by separate them by a comma. QEMU will try each one and use the first whose works. So, -accel xen,kvm,tcg which

[Qemu-devel] [PATCH V5 03/14] xen: Add xen_machine_fv

2010-10-11 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Add the Xen FV (Fully Virtualized) machine to Qemu; this is groundwork to add Xen device model support in Qemu. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com

[Qemu-devel] [PATCH V5 01/14] xen: Replace some tab-indents with spaces (clean-up).

2010-10-11 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/xen_backend.c | 308 hw/xen_disk.c| 412 +++--- hw/xen_nic.c | 222

[Qemu-devel] [PATCH V5 07/14] piix_pci: Introduces Xen specific call for irq.

2010-10-11 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This patch introduces Xen specific call in piix_pci. The specific part for Xen is in write_config, set_irq and get_pirq. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com

[Qemu-devel] [PATCH V5 06/14] xen: Add the Xen platform pci device

2010-10-11 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Introduce a new emulated PCI device, specific to fully virtualized Xen guests. The device is necessary for PV on HVM drivers to work. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell

[Qemu-devel] [PATCH V5 08/14] xen: add a 8259 Interrupt Controller

2010-10-11 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Introduce a 8259 Interrupt Controller for target-xen; every set_irq call makes a Xen hypercall. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- hw/xen_common.h

[Qemu-devel] [PATCH V5 13/14] xen: Set running state in xenstore.

2010-10-11 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This tells to the xen management tool that the machine can begin run. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- xen-all.c | 27 +++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/xen

[Qemu-devel] [PATCH V5 10/14] Introduce qemu_ram_ptr_unlock.

2010-10-11 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This function allows to unlock a ram_ptr give by qemu_get_ram_ptr. After a call to qemu_ram_ptr_unlock, the pointer may be unmap from QEMU when used with Xen. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- cpu-common.h |1

[Qemu-devel] [PATCH V5 12/14] xen: Initialize event channels and io rings

2010-10-11 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Open and bind event channels; map ioreq and buffered ioreq rings. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- hw/xen_common.h |3 + xen-all.c | 407

[Qemu-devel] [PATCH V5 11/14] vl.c: Introduce getter for shutdown_requested and reset_requested.

2010-10-11 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Introduce two functions qemu_shutdown_requested_get and qemu_reset_requested_get to get the value of shutdown/reset_requested without reset it. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell

[Qemu-devel] [PATCH V5 05/14] xen: Add xen in -accel option.

2010-10-11 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This come with the initialisation of Xen. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- Makefile.target |5 + hw/xen.h| 10 ++ vl.c|2 ++ xen-all.c | 25 + xen

[Qemu-devel] [PATCH V5 14/14] acpi-piix4: Add Xen hypercall for sleep state.

2010-10-11 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/acpi_piix4.c |4 hw/xen.h|2 ++ xen-all.c |7 +++ xen-stub.c |4 4 files changed, 17 insertions(+), 0 deletions(-) diff --git a/hw

[Qemu-devel] [PATCH V5 09/14] xen: Introduce the Xen mapcache

2010-10-11 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com The mapcache maps chucks of guest memory on demand, unmaps them when they are not needed anymore. Each call to qemu_get_ram_ptr makes a call to qemu_map_cache with the lock option, so mapcache will not unmap these ram_ptr. Signed-off-by: Anthony

[Qemu-devel] [PATCH] e1000: Handle IO Port.

2010-10-12 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This patch introduces the two IOPorts on e1000, IOADDR and IODATA. The IOADDR is used to specify which register we want to access when we read or write on IODATA. It also check the RDLEN register when a packet is received, if the value is 0

[Qemu-devel] [PATCH V6 00/15] xen device model support

2010-10-21 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Hi all, This is the fifth version of the patch series that adds Xen device model support in QEMU. Some change are made on the last version: - We fixed the build error in Xen MapCache by use -1 as default value of last_address_index (instead

[Qemu-devel] [PATCH V6 02/15] xen: Support new libxc calls from xen unstable.

2010-10-21 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Update the libxenctrl calls in Qemu to use the new interface, otherwise Qemu wouldn't be able to build against new versions of the library. We also check libxenctrl version in configure, from Xen 3.3.0 to Xen unstable. Signed-off-by: Anthony PERARD

[Qemu-devel] [PATCH V6 01/15] xen: Replace some tab-indents with spaces (clean-up).

2010-10-21 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/xen_backend.c | 308 hw/xen_disk.c| 412 +++--- hw/xen_nic.c | 222

[Qemu-devel] [PATCH V6 06/15] xen: Add the Xen platform pci device

2010-10-21 Thread anthony . perard
From: Steven Smith ssm...@xensource.com Introduce a new emulated PCI device, specific to fully virtualized Xen guests. The device is necessary for PV on HVM drivers to work. Signed-off-by: Steven Smith ssm...@xensource.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off

[Qemu-devel] [PATCH V6 11/15] Introduce qemu_ram_ptr_unlock.

2010-10-21 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This function allows to unlock a ram_ptr give by qemu_get_ram_ptr. After a call to qemu_ram_ptr_unlock, the pointer may be unmap from QEMU when used with Xen. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- cpu-common.h |1

[Qemu-devel] [PATCH V6 07/15] piix_pci: Introduces Xen specific call for irq.

2010-10-21 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This patch introduces Xen specific call in piix_pci. The specific part for Xen is in write_config, set_irq and get_pirq. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com

[Qemu-devel] [PATCH V6 14/15] xen: Set running state in xenstore.

2010-10-21 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This tells to the xen management tool that the machine can begin run. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- xen-all.c | 27 +++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/xen

[Qemu-devel] [PATCH V6 15/15] acpi-piix4: Add Xen hypercall for sleep state.

2010-10-21 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/acpi_piix4.c |4 hw/xen.h|2 ++ xen-all.c |7 +++ xen-stub.c |4 4 files changed, 17 insertions(+), 0 deletions(-) diff --git a/hw

[Qemu-devel] [PATCH V6 08/15] xen: add a 8259 Interrupt Controller

2010-10-21 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Introduce a 8259 Interrupt Controller for target-xen; every set_irq call makes a Xen hypercall. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- hw/xen_common.h

[Qemu-devel] [PATCH V6 10/15] configure: Always use 64bits target physical addresses with xen enabled.

2010-10-21 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com With MapCache, we can handle a 64b target, even with a 32b host/qemu. So, we need to have target_phys_addr_t to 64bits. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- configure |3 +++ 1 files changed, 3 insertions(+), 0 deletions

[Qemu-devel] [PATCH V6 09/15] xen: Introduce the Xen mapcache

2010-10-21 Thread anthony . perard
-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- Makefile.target |3 + configure |3 + exec.c | 40 ++- hw/xen.h| 10 ++ hw/xen_common.h |2 + xen-all.c | 64

[Qemu-devel] [PATCH V6 04/15] Introduce -accel command option.

2010-10-21 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This option gives the ability to switch one accelerator like kvm, xen or the default one tcg. We can specify more than one accelerator by separate them by a comma. QEMU will try each one and use the first whose works. So, -accel xen,kvm,tcg which

[Qemu-devel] [PATCH V6 12/15] vl.c: Introduce getter for shutdown_requested and reset_requested.

2010-10-21 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Introduce two functions qemu_shutdown_requested_get and qemu_reset_requested_get to get the value of shutdown/reset_requested without reset it. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell

[Qemu-devel] [PATCH V6 13/15] xen: Initialize event channels and io rings

2010-10-21 Thread anthony . perard
From: Arun Sharma arun.sha...@intel.com Open and bind event channels; map ioreq and buffered ioreq rings. Signed-off-by: Arun Sharma arun.sha...@intel.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- hw

[Qemu-devel] [PATCH V6 03/15] xen: Add xen_machine_fv

2010-10-21 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Add the Xen FV (Fully Virtualized) machine to Qemu; this is groundwork to add Xen device model support in Qemu. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com

[Qemu-devel] [PATCH V6 05/15] xen: Add xen in -accel option.

2010-10-21 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This come with the initialisation of Xen. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- Makefile.target |5 + hw/xen.h| 10 ++ vl.c|2 ++ xen-all.c | 25 + xen

[Qemu-devel] Re: [PATCH V6 00/15] xen device model support

2010-10-26 Thread Anthony PERARD
Hi, Any comment on this patches series? Also, a git tree is available here: git://xenbits.xen.org/people/aperard/qemu-dm.git qemu-dm-v6 Thanks, On Thu, 21 Oct 2010, Anthony Perard wrote: Hi all, This is the fifth version of the patch series that adds Xen device model support in QEMU

Re: [Qemu-devel] [PATCH V6 04/15] Introduce -accel command option.

2010-11-15 Thread Anthony PERARD
On Mon, 15 Nov 2010, Alexander Graf wrote: On 21.10.2010, at 19:36, anthony.per...@citrix.com wrote: From: Anthony PERARD anthony.per...@citrix.com This option gives the ability to switch one accelerator like kvm, xen or the default one tcg. We can specify more than one accelerator

Re: [Qemu-devel] [PATCH V6 04/15] Introduce -accel command option.

2010-11-15 Thread Anthony PERARD
On Mon, 15 Nov 2010, Anthony PERARD wrote: On Mon, 15 Nov 2010, Alexander Graf wrote: On 21.10.2010, at 19:36, anthony.per...@citrix.com wrote: From: Anthony PERARD anthony.per...@citrix.com This option gives the ability to switch one accelerator like kvm, xen or the default

[Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-15 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This option gives the ability to switch one accelerator like kvm, xen or the default one tcg. We can specify more than one accelerator by separate them by a comma. QEMU will try each one and use the first whose works. So, -accel xen,kvm,tcg which

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Anthony PERARD
as a -machine option too with accel=xen:kvm:tcg to specify order. This is not clear to me, did you mean that you prefer to have both -accel accels and -machine accel=accels options? For the -machine options, I can put it in qemu-config.c and it will be saved. Regards, -- Anthony PERARD

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Anthony PERARD
should imply -machine accel=xen. Actually, it works like that for qemu-xen, we just specify -M xenpv, and we don't have any --enable-xen or other -accel xen. A user should never have to specify and accelerator option IMHO. -- Anthony PERARD

[Qemu-devel] [PATCH V2 0/2] Introduce machine QemuOpts

2010-11-23 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com The first patch adds -machine accel=accels to Qemu options. And the second one adds a new field in QEMUMachine to be able to specify a set of machine options. The difference with the V1: - use of QemuOpts. - replace -accel command line options

[Qemu-devel] [PATCH V2 2/2] machine, Add default_machine_opts to QEMUMachine.

2010-11-23 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com With this new field, we can specified which accelerator use to run the machine, if the accelerator is not already specified by either a configuration file or the command line options. Currently, the only use will be made in the xenfv machine

[Qemu-devel] [PATCH V7 00/15] Xen device model support

2010-11-23 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Hi all, Here is the V7 of the patch series that adds Xen device model support in QEMU. The change made on it since the v6: - I introduce a patch from Alexander Graf to add a generic layer for the Xen calls. - So compatibility support have been

[Qemu-devel] [PATCH V7 06/15] xen: Add the Xen platform pci device

2010-11-23 Thread anthony . perard
From: Steven Smith ssm...@xensource.com Introduce a new emulated PCI device, specific to fully virtualized Xen guests. The device is necessary for PV on HVM drivers to work. Signed-off-by: Steven Smith ssm...@xensource.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off

[Qemu-devel] [PATCH V7 01/15] xen: Replace some tab-indents with spaces (clean-up).

2010-11-23 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/xen_backend.c | 308 hw/xen_disk.c| 412 +++--- hw/xen_nic.c | 222

[Qemu-devel] [PATCH V7 02/15] xen: Add a generic layer for xc calls

2010-11-23 Thread anthony . perard
From: Alexander Graf ag...@suse.de This patch adds a generic layer for xc calls, allowing us to choose between the xenner and xen implementations at runtime. Signed-off-by: Alexander Graf ag...@suse.de Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/xen_interfaces.c | 100

[Qemu-devel] [PATCH V7 10/15] configure: Always use 64bits target physical addresses with xen enabled.

2010-11-23 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com With MapCache, we can handle a 64b target, even with a 32b host/qemu. So, we need to have target_phys_addr_t to 64bits. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- configure |3 +++ 1 files changed, 3 insertions(+), 0 deletions

[Qemu-devel] [PATCH V7 05/15] xen: Add initialisation of Xen

2010-11-23 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- Makefile.target |5 + hw/xen.h| 13 + vl.c|2 ++ xen-all.c | 29 + xen-stub.c | 17

[Qemu-devel] [PATCH V7 08/15] xen: add a 8259 Interrupt Controller

2010-11-23 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Introduce a 8259 Interrupt Controller for target-xen; every set_irq call makes a Xen hypercall. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- hw/xen_common.h

[Qemu-devel] [PATCH V7 11/15] Introduce qemu_ram_ptr_unlock.

2010-11-23 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This function allows to unlock a ram_ptr give by qemu_get_ram_ptr. After a call to qemu_ram_ptr_unlock, the pointer may be unmap from QEMU when used with Xen. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- cpu-common.h |1

[Qemu-devel] [PATCH V7 12/15] vl.c: Introduce getter for shutdown_requested and reset_requested.

2010-11-23 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Introduce two functions qemu_shutdown_requested_get and qemu_reset_requested_get to get the value of shutdown/reset_requested without reset it. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell

[Qemu-devel] [PATCH V7 13/15] xen: Initialize event channels and io rings

2010-11-23 Thread anthony . perard
From: Arun Sharma arun.sha...@intel.com Open and bind event channels; map ioreq and buffered ioreq rings. Signed-off-by: Arun Sharma arun.sha...@intel.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- hw

[Qemu-devel] [PATCH V7 04/15] xen: Add xen_machine_fv

2010-11-23 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Add the Xen FV (Fully Virtualized) machine to Qemu; this is groundwork to add Xen device model support in Qemu. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com

[Qemu-devel] [PATCH V7 03/15] xen: Support new libxc calls from xen unstable.

2010-11-23 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Update the libxenctrl calls in Qemu to use the new interface, otherwise Qemu wouldn't be able to build against new versions of the library. We also check libxenctrl version in configure, from Xen 3.3.0 to Xen unstable. Signed-off-by: Anthony PERARD

[Qemu-devel] [PATCH V7 07/15] piix_pci: Introduces Xen specific call for irq.

2010-11-23 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This patch introduces Xen specific call in piix_pci. The specific part for Xen is in write_config, set_irq and get_pirq. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com

[Qemu-devel] [PATCH V7 09/15] xen: Introduce the Xen mapcache

2010-11-23 Thread anthony . perard
-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- Makefile.target |3 + configure |3 + exec.c | 40 ++- hw/xen.h| 13 +++ xen-all.c | 64 +++ xen-mapcache

[Qemu-devel] [PATCH V7 14/15] xen: Set running state in xenstore.

2010-11-23 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This tells to the xen management tool that the machine can begin run. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- xen-all.c | 27 +++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/xen

[Qemu-devel] [PATCH V7 15/15] acpi-piix4: Add Xen hypercall for sleep state.

2010-11-23 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/acpi_piix4.c |4 hw/xen.h|2 ++ xen-all.c |7 +++ xen-stub.c |4 4 files changed, 17 insertions(+), 0 deletions(-) diff --git a/hw

Re: [Qemu-devel] [PATCH V7 00/15] Xen device model support

2010-11-29 Thread Anthony PERARD
On Mon, 29 Nov 2010, Alexander Graf wrote: On 23.11.2010, at 20:51, anthony.per...@citrix.com wrote: From: Anthony PERARD anthony.per...@citrix.com Hi all, Here is the V7 of the patch series that adds Xen device model support in QEMU. The change made on it since the v6: - I

Re: [Qemu-devel] [PATCH V7 00/15] Xen device model support

2010-11-29 Thread Anthony PERARD
On Mon, 29 Nov 2010, Alexander Graf wrote: On 29.11.2010, at 16:10, Anthony PERARD wrote: On Mon, 29 Nov 2010, Alexander Graf wrote: On 23.11.2010, at 20:51, anthony.per...@citrix.com wrote: From: Anthony PERARD anthony.per...@citrix.com Hi all, Here is the V7 of the patch

Re: [Qemu-devel] [PATCH V7 10/15] configure: Always use 64bits target physical addresses with xen enabled.

2010-11-29 Thread Anthony PERARD
On Mon, 29 Nov 2010, Alexander Graf wrote: On 23.11.2010, at 20:51, anthony.per...@citrix.com wrote: From: Anthony PERARD anthony.per...@citrix.com With MapCache, we can handle a 64b target, even with a 32b host/qemu. So, we need to have target_phys_addr_t to 64bits. Signed-off

Re: [Qemu-devel] [PATCH V7 00/15] Xen device model support

2010-11-29 Thread Anthony PERARD
On Mon, 29 Nov 2010, Alexander Graf wrote: On 29.11.2010, at 17:06, Anthony PERARD wrote: On Mon, 29 Nov 2010, Alexander Graf wrote: On 29.11.2010, at 16:10, Anthony PERARD wrote: On Mon, 29 Nov 2010, Alexander Graf wrote: On 23.11.2010, at 20:51, anthony.per...@citrix.com

Re: [Qemu-devel] [PATCH] xen: Restrict build to x86 targets

2010-12-01 Thread Anthony PERARD
stuff, feel like putting this on your TODO list too? (Sorry this takes so long :( - I'll try to review stuff quicker next time around) OK, but I will go a little further by putting all Xen stuff in x86 only target, not only xenpv. -- Anthony PERARD

[Qemu-devel] [PATCH V8 02/16] xen: Make xen build only on x86 target.

2010-12-01 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- Makefile.objs |4 Makefile.target |4 +++- configure |5 + 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index

[Qemu-devel] [PATCH V8 05/16] xen: Add xen_machine_fv

2010-12-01 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Add the Xen FV (Fully Virtualized) machine to Qemu; this is groundwork to add Xen device model support in Qemu. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com

[Qemu-devel] [PATCH V8 11/16] configure: Always use 64bits target physical addresses with xen enabled.

2010-12-01 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com With MapCache, we can handle a 64b target, even with a 32b host/qemu. So, we need to have target_phys_addr_t to 64bits. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- configure |1 + 1 files changed, 1 insertions(+), 0 deletions

[Qemu-devel] [PATCH V8 08/16] piix_pci: Introduces Xen specific call for irq.

2010-12-01 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This patch introduces Xen specific call in piix_pci. The specific part for Xen is in write_config, set_irq and get_pirq. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com

[Qemu-devel] [PATCH V8 01/16] xen: Replace some tab-indents with spaces (clean-up).

2010-12-01 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/xen_backend.c | 308 hw/xen_disk.c| 412 +++--- hw/xen_nic.c | 222

[Qemu-devel] [PATCH V8 12/16] Introduce qemu_ram_ptr_unlock.

2010-12-01 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This function allows to unlock a ram_ptr give by qemu_get_ram_ptr. After a call to qemu_ram_ptr_unlock, the pointer may be unmap from QEMU when used with Xen. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- cpu-common.h |1

[Qemu-devel] [PATCH V8 10/16] xen: Introduce the Xen mapcache

2010-12-01 Thread anthony . perard
-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- Makefile.target |3 + configure |3 + exec.c | 40 ++- hw/xen.h| 13 +++ xen-all.c | 64 +++ xen-mapcache

[Qemu-devel] [PATCH V8 09/16] xen: add a 8259 Interrupt Controller

2010-12-01 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Introduce a 8259 Interrupt Controller for target-xen; every set_irq call makes a Xen hypercall. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- hw/xen_common.h

[Qemu-devel] [PATCH V8 14/16] xen: Initialize event channels and io rings

2010-12-01 Thread anthony . perard
From: Arun Sharma arun.sha...@intel.com Open and bind event channels; map ioreq and buffered ioreq rings. Signed-off-by: Arun Sharma arun.sha...@intel.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- hw

[Qemu-devel] [PATCH V8 06/16] xen: Add initialisation of Xen

2010-12-01 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- Makefile.target |3 +++ hw/xen.h| 13 + vl.c|2 ++ xen-all.c | 29 + xen-stub.c | 17

[Qemu-devel] [PATCH V8 13/16] vl.c: Introduce getter for shutdown_requested and reset_requested.

2010-12-01 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Introduce two functions qemu_shutdown_requested_get and qemu_reset_requested_get to get the value of shutdown/reset_requested without reset it. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell

[Qemu-devel] [PATCH V8 15/16] xen: Set running state in xenstore.

2010-12-01 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This tells to the xen management tool that the machine can begin run. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- xen-all.c | 27 +++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/xen

[Qemu-devel] [PATCH V8 16/16] acpi-piix4: Add Xen hypercall for sleep state.

2010-12-01 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/acpi_piix4.c |4 hw/xen.h|2 ++ xen-all.c |7 +++ xen-stub.c |4 4 files changed, 17 insertions(+), 0 deletions(-) diff --git a/hw

[Qemu-devel] [PATCH V8 00/16] Xen device model support

2010-12-01 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Hi all, Here is the V8 of the patch series that adds Xen device model support in QEMU. The change mades on it since the v7: - Move build of all xen object to x86 target only since Xen work only for this type of target. You can find a git

[Qemu-devel] [PATCH V8 03/16] xen: Add a generic layer for xc calls

2010-12-01 Thread anthony . perard
From: Alexander Graf ag...@suse.de This patch adds a generic layer for xc calls, allowing us to choose between the xenner and xen implementations at runtime. Signed-off-by: Alexander Graf ag...@suse.de Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/xen_interfaces.c | 100

[Qemu-devel] [PATCH V8 07/16] xen: Add the Xen platform pci device

2010-12-01 Thread anthony . perard
From: Steven Smith ssm...@xensource.com Introduce a new emulated PCI device, specific to fully virtualized Xen guests. The device is necessary for PV on HVM drivers to work. Signed-off-by: Steven Smith ssm...@xensource.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off

[Qemu-devel] [PATCH V8 04/16] xen: Support new libxc calls from xen unstable.

2010-12-01 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Update the libxenctrl calls in Qemu to use the new interface, otherwise Qemu wouldn't be able to build against new versions of the library. We also check libxenctrl version in configure, from Xen 3.3.0 to Xen unstable. Signed-off-by: Anthony PERARD

[Qemu-devel] Re: [PATCH V2 1/2] Introduce -machine command option.

2010-12-02 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This option gives the ability to switch one accelerator like kvm, xen or the default one tcg. We can specify more than one accelerator by separate them by a colon. QEMU will try each one and use the first whose works. So, ./qemu -machine accel

Re: [Qemu-devel] Re: [PATCH V2 1/2] Introduce -machine command option.

2010-12-21 Thread Anthony PERARD
On Tue, 21 Dec 2010, Alexander Graf wrote: On 21.12.2010, at 19:57, Andreas Färber wrote: Am 21.12.2010 um 18:33 schrieb Alexander Graf: On 02.12.2010, at 15:18, anthony.per...@citrix.com wrote: From: Anthony PERARD anthony.per...@citrix.com This option gives the ability

[Qemu-devel] [PATCH 0/2] Xen VGA dirtybit support

2011-01-11 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Hi, This two patchs provides the support for sync dirty bitmap. The sync dirty bitmap is not provide for Xen 3.3. This serie depends on the other serie Xen device model support. Anthony PERARD (2): xen: Add xc_domain_add_to_physmap

[Qemu-devel] [PATCH 2/2] xen: Introduce VGA sync dirty bitmap support

2011-01-11 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This patch introduces phys memory client for Xen. Only sync dirty_bitmap and set_memory are actually implemented. migration_log will stay empty for the moment. Xen can only log one range for bit change, so only the range in the first call

[Qemu-devel] [PATCH 1/2] xen: Add xc_domain_add_to_physmap to xen_interface.

2011-01-11 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This function will be used to support sync dirty bitmap. This come with a check against every Xen release, and special implementation for Xen version that doesn't have this specific call. This function will not be usable with Xen 3.3 because

[Qemu-devel] Re: [PATCH 2/2] xen: Introduce VGA sync dirty bitmap support

2011-01-12 Thread Anthony PERARD
On Wed, 12 Jan 2011, Jan Kiszka wrote: Am 11.01.2011 16:37, anthony.per...@citrix.com wrote: From: Anthony PERARD anthony.per...@citrix.com This patch introduces phys memory client for Xen. Only sync dirty_bitmap and set_memory are actually implemented. migration_log will stay empty

[Qemu-devel] Re: [Xen-devel] [PATCH 2/2] xen: Introduce VGA sync dirty bitmap support

2011-01-12 Thread Anthony PERARD
On Wed, 12 Jan 2011, Stefano Stabellini wrote: On Tue, 11 Jan 2011, anthony.per...@citrix.com wrote: From: Anthony PERARD anthony.per...@citrix.com This patch introduces phys memory client for Xen. Only sync dirty_bitmap and set_memory are actually implemented. migration_log

[Qemu-devel] [PATCH V2 2/3] xen: Add xc_domain_add_to_physmap to xen_interface.

2011-01-14 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This function will be used to support sync dirty bitmap. This come with a check against every Xen release, and special implementation for Xen version that doesn't have this specific call. This function will not be usable with Xen 3.3 because

[Qemu-devel] [PATCH V2 1/3] Introduce log_start/log_stop in CPUPhysMemoryClient

2011-01-14 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com In order to use log_start/log_stop with Xen as well in the vga code, this two operations have been put in CPUPhysMemoryClient. The two new functions cpu_physical_log_start,cpu_physical_log_stop are used in hw/vga.c and replace the kvm_log_start/stop

[Qemu-devel] [PATCH V2 0/3] Xen VGA dirtybit support

2011-01-14 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com Hi, This three patches provides the support for sync dirty bitmap. The sync dirty bitmap is not provided for Xen 3.3. This series depends on the other series Xen device model support. Change v1 - v2: * Intruduce a patch to put log_start/log_stop

[Qemu-devel] [PATCH V2 3/3] xen: Introduce VGA sync dirty bitmap support

2011-01-14 Thread anthony . perard
From: Anthony PERARD anthony.per...@citrix.com This patch introduces phys memory client for Xen. Only sync dirty_bitmap and set_memory are actually implemented. migration_log will stay empty for the moment. Xen can only log one range for bit change, so only the range in the first call

[Qemu-devel] Re: [PATCH V2 1/3] Introduce log_start/log_stop in CPUPhysMemoryClient

2011-01-17 Thread Anthony PERARD
On Mon, 17 Jan 2011, Jan Kiszka wrote: On 2011-01-14 19:10, anthony.per...@citrix.com wrote: From: Anthony PERARD anthony.per...@citrix.com In order to use log_start/log_stop with Xen as well in the vga code, this two operations have been put in CPUPhysMemoryClient. The two new

  1   2   3   4   5   6   7   8   9   10   >