Hi,
I' m glad to submit my first patches to the QEMU-devel list.
This set of patches improves SPARC handling of trap and the shutdown
capability on trap 0.
Regards,
Fabien Chouteau (1) :
Improve sparc handling of ta
Julien Grall (1) :
Fix TA0_SHUTDOWN feature
target-sparc/helper.h
Improve sparc handling of ta
Signed-off-by: Julien Grall julien.gr...@gmail.com
---
target-sparc/helper.h | 1 +
target-sparc/op_helper.c | 6 ++
target-sparc/translate.c | 7 ---
3 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/target-sparc/helper.h b/target
Fix TA0_SHUTDOWN feature
Signed-off-by: Julien Grall julien.gr...@gmail.com
---
target-sparc/op_helper.c | 13 +++--
target-sparc/translate.c |9 +
2 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c
index
On Tue, May 17, 2011 at 9:57 PM, Blue Swirl blauwir...@gmail.com wrote:
On Tue, May 17, 2011 at 6:32 PM, Julien Grall julien.gr...@gmail.com wrote:
Fix TA0_SHUTDOWN feature
But what would be the bug?
We try to add RTEMS's support on leon platform for QEMU. RTEMS uses
software trap 0
Hello,
Since the last patch, I have added a special helper for trap 0. It
will be use when the TA0_Shutdown feature is enabled.
Signed-off-by: Grall Julien julien.gr...@gmail.com
---
target-sparc/helper.h|1 +
target-sparc/op_helper.c | 14 ++
target-sparc/translate.c |
When an IOREQ_TYPE_INVALIDATE is sent to QEMU, it invalidates all entry
of the map cache even if it's locked.
QEMU is not able to know that entry was invalidated, so when an IO
access is requested a segfault occured.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
xen-mapcache.c |3
that will be forward to server later.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
xen/arch/x86/hvm/Makefile |1 +
xen/arch/x86/hvm/pci_emul.c | 147 +++
2 files changed, 148 insertions(+), 0 deletions(-)
create mode 100644 xen/arch/x86
Add interface for the new xen hypercalls
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/xen.h |3 +++
xen-all.c |2 ++
xen-stub.c | 13 +
3 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/hw/xen.h b/hw/xen.h
index b056b13..a76616f 100644
This patch remove useless hvm_param due to structure modification
and bind the new hypercalls to handle ioreq servers and pci.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
xen/arch/x86/hvm/hvm.c | 127 ++--
1 files changed, 80 insertions
When an invalidate mapcache cache occurs, Xen need to send and
IOREQ_TYPE_INVALIDATE to each server and wait that all IO is completed.
We introduce a new function hvm_wait_on_io to wait until an IO is completed.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
xen/arch/x86/hvm/hvm.c
which page it must use.
We introduce a new kind a ioreq type IOREQ_TYPE_PCICONFIG
which permit to forward easily PCI config space access.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
xen/include/asm-x86/hvm/domain.h | 24 +-
xen/include/asm-x86/hvm/vcpu.h |4
Quickly fix for hvm_build in python.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
tools/python/xen/lowlevel/xc/xc.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/tools/python/xen/lowlevel/xc/xc.c
b/tools/python/xen/lowlevel/xc/xc.c
index 7c89756..eb004b6
This patch modifies initialization and the destruction of an hvm
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
xen/arch/x86/hvm/hvm.c | 33 ++---
1 files changed, 10 insertions(+), 23 deletions(-)
diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm
This patch add a structure with contain all informations about
a device model.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
tools/libxl/libxl.h |4 ++--
tools/libxl/libxl_internal.h |1 +
tools/libxl/libxl_types.idl | 11 +++
3 files changed, 14 insertions
With the support of multiple device, the qmp library needs to know
which device model is currently used.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
tools/libxl/libxl_internal.h |9 +
tools/libxl/libxl_qmp.c | 24 +---
2 files changed, 18
to implement
multiple ioreq server on Xen and QEMU.
Julien Grall (15):
hvm: Modify interface to support multiple ioreq server
hvm: Add functions to handle ioreq servers
hvm-pci: Handle PCI config space in Xen
hvm: Change initialization/destruction of an hvm
hvm: Modify hvm_op
hvm-io: IO
, pci=00:4.0
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
tools/libxl/Makefile |2 +-
tools/libxl/libxlu_dm.c | 202 ++
tools/libxl/libxlutil.h |5 +
tools/libxl/xl_cmdimpl.c | 28 ++-
4 files changed, 235 insertions(+), 2
This patch permits to launch and destroy all device models.
For the moment it's a fork of libxl__build_device*
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
tools/libxl/libxl.c |8 +-
tools/libxl/libxl_create.c | 30 +-
tools/libxl/libxl_dm.c | 225
register all range. Indeed,
the new ranges will be for PCI Bar.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
exec.c|9 ++
ioport.c | 17
xen-all.c | 83 +
3 files changed, 109 insertions(+), 0 deletions
QEMU will now register PCI in Xen. It will usefull to forward
IO config space to the right QEMU.
Before to register a PCI device, QEMU will check with XenStore if it is
autorized to register the PCI associate to a given BDF.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/pci.c
This patch add 5 hypercalls to register server, io range and PCI.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
tools/libxc/xc_domain.c | 140 +++
tools/libxc/xenctrl.h | 13
2 files changed, 153 insertions(+), 0 deletions(-)
diff
This patchs add functions to help to :
- create/destroy server
- map/unmap IO range to a server
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
xen/arch/x86/hvm/hvm.c | 352
1 files changed, 352 insertions(+), 0 deletions(-)
diff
This ioreq type is introduced to handle easily the access
to the PCI config space. Indeed, all PCI config spaces are access
by the same IO ports (cf8 - cff).
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
xen-all.c | 14 ++
1 files changed, 14 insertions(+), 0 deletions
With this option, QEMU knows it's ID and can retrieve it's configuration
from XenStore.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/xen.h|1 +
qemu-options.hx |2 ++
vl.c|8
3 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/hw
to implement
multiple ioreq server on Xen and QEMU.
Julien Grall (6):
option: Add -xen-dmid
xen: Add functions to register PCI and IO in Xen
memory: Add xen memory hook
xen-pci: Register PCI in Xen
xen-io: Handle the new ioreq type IOREQ_TYPE_PCI_CONFIG
xen: handle qemu disaggregation
the server.
Moreover, all IO which are unhandleabled by Xen or by a server
will be directly discard by Xen.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
xen/arch/x86/hvm/emulate.c| 56 +
xen/arch/x86/hvm/hvm.c|5 ++-
xen
.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
xen/arch/x86/hvm/io.c | 85 -
1 files changed, 63 insertions(+), 22 deletions(-)
diff --git a/xen/arch/x86/hvm/io.c b/xen/arch/x86/hvm/io.c
index cd89ff6..d9df913 100644
--- a/xen/arch/x86
* Register QEMU in Xen as server
* Retrieve it's own shared pages
* Check if the page is already mapping before to populate
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
xen-all.c | 62 ++--
1 files changed, 59 insertions(+), 3
This patchs permits to allocate more special pages. Indeed, for multiple
ioreq server, we need to have 2 shared pages by server.
xc_hvm_build will take an argument which will indicate the number of
special pages we want to allocate.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
tools
On 03/23/2012 11:47 AM, Ian Campbell wrote:
On Thu, 2012-03-22 at 15:59 +, Julien Grall wrote:
This patch add a structure with contain all informations about
a device model.
Signed-off-by: Julien Gralljulien.gr...@citrix.com
---
tools/libxl/libxl.h |4 ++--
tools/libxl
On 03/22/2012 04:59 PM, Tim Deegan wrote:
At 15:59 + on 22 Mar (1332431961), Julien Grall wrote:
Julien Grall (15):
xc: Add the hypercall for multiple servers
xc: Add argument to allocate more special pages
xc: Fix python build
Shouldn't something here update
On 03/22/2012 05:44 PM, Jan Kiszka wrote:
static void core_region_nop(MemoryListener *listener,
diff --git a/ioport.c b/ioport.c
index 78a3b89..073ed75 100644
--- a/ioport.c
+++ b/ioport.c
@@ -28,6 +28,7 @@
#include ioport.h
#include trace.h
#include memory.h
+#include hw/xen.h
On 03/26/2012 12:02 PM, Avi Kivity wrote:
On 03/26/2012 01:01 PM, Stefano Stabellini wrote:
On Sun, 25 Mar 2012, Avi Kivity wrote:
On 03/23/2012 06:37 PM, Jan Kiszka wrote:
On 2012-03-23 16:08, Julien Grall wrote:
On 03/22/2012 05:44 PM, Jan Kiszka wrote
On 03/23/2012 08:29 AM, Jan Beulich wrote:
Is there a reasonably low enforced boundary on the number
of devices? Otherwise, a linear lookup would seem overly
simple to me.
The maximum of bdf is 2^16 = 65536.
Which kind of structure do you advice ? Array ? Hash Table ?
Further, with how
On 03/23/2012 08:18 AM, Jan Beulich wrote:
+#define HVMOP_register_pcidev 24
+struct xen_hvm_register_pcidev {
+domid_t domid;/* IN - domain to be serviced */
+servid_t id; /* IN - handle from HVMOP_register_ioreq_server */
+uint16_t bdf; /* IN - pci */
Replace register_ioport* by portio_list_*.
All ioports registered by the previous functions don't call memory callback.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/acpi_piix4.c | 22 +++---
hw/cirrus_vga.c | 31 ++-
hw/pc.c
On 04/03/2012 08:51 AM, Avi Kivity wrote:
On 04/02/2012 05:37 PM, Julien Grall wrote:
if (!inited) {
inited = 1;
@@ -2814,19 +2830,8 @@ static void cirrus_init_common(CirrusVGAState * s, int
device_id, int is_pci,
s-bustype = CIRRUS_BUSTYPE_ISA
On 04/03/2012 02:31 PM, Ian Jackson wrote:
Stefano Stabellini writes (Re: [Xen-devel] [XEN][RFC PATCH 14/15] xl-parsing: Parse
the new option device_models):
On Mon, 2 Apr 2012, Ian Jackson wrote:
I don't think this is really a suitable interface. The PCI space in
the guest is
This patch resolves a bug in memory listener registration.
range_add callback was called on each section of the both
address space (IO and memory space) even if it doesn't match
the address space filter.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
memory.c |5 +
1 files
On 04/03/2012 08:51 AM, Avi Kivity wrote:
On 04/02/2012 05:37 PM, Julien Grall wrote:
s = g_malloc0(sizeof(SerialState));
@@ -820,8 +828,9 @@ SerialState *serial_init(int base, qemu_irq irq, int
baudbase,
vmstate_register(NULL, base,vmstate_serial, s
functions, add IO address space as argument.
- Add isa_address_space_io function
I may not to be aware about some new modifications (hw/dma.c and hw/apm.c),
any advice on its will be welcome.
Julien Grall (7):
isa: add isa_address_space_io
hw/acpi_piix4.c: replace register_ioport*
hw
This patch replaces all register_ioport* with portio_*. It permits to
use the new Memory stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/acpi_piix4.c | 76 +++
1 files changed, 65 insertions(+), 11 deletions
This patch replaces all register_ioport* with portio_* or
isa_register_portio_list. It permits to use the new Memory
stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/pc.c | 37 +++--
1 files changed, 23 insertions(+), 14 deletions
This function permits to retrieve ISA IO address space.
It will be usefull when we need to pass IO address space as argument.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/isa-bus.c |5 +
hw/isa.h |1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git
This patch replaces all register_ioport* with isa_register_portio_list.
It permits to use the new Memory stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/dma.c | 55 +--
1 files changed, 37 insertions(+), 18
This patch replaces all register_ioport* with portio_*. It permits to
use the new Memory stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/cirrus_vga.c | 38 ++
1 files changed, 22 insertions(+), 16 deletions(-)
diff --git a/hw
This patch replaces all register_ioport* with a MemoryRegion. It permits to
use the new Memory stuff like listener.
For more flexibility, the IO address space is passed as an argument.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/pc.h |2 +-
hw/serial.c |8 +---
2
This patch replaces all register_ioport* by a MemorySection.
It permits to use the new Memory stuff like listener.
Moreover, the PCI is added as an argument for apm_init, so we
can register IO inside the pci IO address space.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/acpi_piix4
This patch replaces all register_ioport* with portio_* or
isa_register_portio_list. It permits to use the new Memory
stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/pc.c | 58 +++---
1 files changed, 43
This patch replaces all register_ioport* by a MemorySection.
It permits to use the new Memory stuff like listener.
Moreover, the PCI is added as an argument for apm_init, so we
can register IO inside the pci IO address space.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/acpi_piix4
This patch fix smb_ioport_* to be compliant with read/write memory callback.
Moreover it replaces all register_ioport* which use theses functions by
the new Memory API.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/acpi_piix4.c | 16 ++--
hw/pm_smbus.c |7
This patch replaces all register_ioport* be the new memory API functions.
It permits to use the new Memory stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/dma.c | 84 -
1 files changed, 60 insertions
to be compliant with memory callback.
Julien Grall (8):
isa: add isa_address_space_io
hw/acpi_piix4.c: replace register_ioport*
hw/cirrus_vga.c: replace register_ioport*
hw/serial.c: replace register_ioport*
hw/pc.c: replace register_ioport*
hw/dma.c: replace register_ioport*
hw/apm.c: replace
This patch replaces all register_ioport* with a MemoryRegion. It permits to
use the new Memory stuff like listener.
For more flexibility, the IO address space is passed as an argument.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/mips_mipssim.c |3 ++-
hw/pc.h |2
This function permits to retrieve ISA IO address space.
It will be usefull when we need to pass IO address space as argument.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/isa-bus.c |5 +
hw/isa.h |1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git
On 04/05/2012 11:10 AM, Avi Kivity wrote:
On 04/04/2012 05:15 PM, Julien Grall wrote:
This patch resolves a bug in memory listener registration.
range_add callback was called on each section of the both
address space (IO and memory space) even if it doesn't match
the address space filter
This patch replaces all register_ioport* with portio_*. It permits to
use the new Memory stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/cirrus_vga.c | 38 ++
1 files changed, 22 insertions(+), 16 deletions(-)
diff --git a/hw
On 09/11/2012 10:25 AM, Avi Kivity wrote:
On 09/11/2012 12:15 PM, Avi Kivity wrote:
On 09/04/2012 06:13 PM, Julien Grall wrote:
This is the nineth version of patch series about ioport registration.
Some part of QEMU still use register_ioport* functions to register ioport
On 09/11/2012 12:57 PM, Jan Kiszka wrote:
On 2012-09-11 13:48, Jan Kiszka wrote:
On 2012-09-11 13:27, Julien Grall wrote:
On 09/11/2012 10:25 AM, Avi Kivity wrote:
On 09/11/2012 12:15 PM, Avi Kivity wrote:
On 09/04/2012 06:13 PM, Julien Grall wrote:
This is the nineth version
This function permits to retrieve ISA IO address space.
It will be usefull when we need to pass IO address space as argument.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/isa-bus.c |9 +
hw/isa.h |1 +
2 files changed, 10 insertions(+), 0 deletions(-)
diff
string in hw/dma.c;
- Rebase on master as hw/pc.c and hw/cirrus_vga.c was modified.
Julien Grall (8):
isa: add isa_address_space_io
hw/apm.c: replace register_ioport*
smb: replace_register_ioport*
hw/acpi_piix4.c: replace register_ioport*
hw/cirrus_vga.c: replace register_ioport*
hw
This patch replaces all register_ioport* with a MemoryRegion. It permits to
use the new Memory stuff like listener.
For more flexibility, the IO address space is passed as an argument.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/mips_mipssim.c |3 ++-
hw/pc.h |2
This patch fix smb_ioport_* to be compliant with read/write memory callback.
Moreover it replaces all register_ioport* which use theses functions by
the new Memory API.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/acpi_piix4.c | 18 --
hw/pm_smbus.c |7
This patch replaces all register_ioport* be the new memory API functions.
It permits to use the new Memory stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/dma.c | 108 +
1 files changed, 72 insertions
This patch replaces all register_ioport* by a MemorySection.
It permits to use the new Memory stuff like listener.
Moreover, the PCI is added as an argument for apm_init, so we
can register IO inside the pci IO address space.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/acpi_piix4
This patch replaces all register_ioport* with portio_* or
isa_register_portio_list. It permits to use the new Memory
stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/pc.c | 49 -
1 files changed, 40 insertions(+), 9
This patch replaces all register_ioport* with the new memory API. It permits
to use the new Memory stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/acpi_piix4.c | 154 +--
1 files changed, 116 insertions(+), 38
This patch replaces all register_ioport* with portio_*. It permits to
use the new Memory stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/cirrus_vga.c | 48
1 files changed, 28 insertions(+), 20 deletions(-)
diff
Hello,
In the current model, only one instance of qemu is running for each running HVM
domain.
We are looking at disaggregating qemu to have, for example, an instance to
emulate only
network controllers, another to emulate block devices, etc...
Multiple instances of qemu would run for a
On 03/05/2012 10:06 PM, Ian Campbell wrote:
I'm not aware of any code existing to do this.
There's a bunch of interesting stuff to do on the Xen side to make this
stuff work.
Firstly you would need to add support to the hypervisor for dispatching
I/O requests to multiple qemu instances (via
This patch replaces all register_ioport* with the new memory API. It permits
to use the new Memory stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/acpi_piix4.c | 112 +-
1 files changed, 93 insertions(+), 19
This patch replaces all register_ioport* with portio_*. It permits to
use the new Memory stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/cirrus_vga.c | 38 ++
1 files changed, 22 insertions(+), 16 deletions(-)
diff --git a/hw
This patch replaces all register_ioport* by a MemorySection.
It permits to use the new Memory stuff like listener.
Moreover, the PCI is added as an argument for apm_init, so we
can register IO inside the pci IO address space.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/acpi_piix4
This patch replaces all register_ioport* with portio_* or
isa_register_portio_list. It permits to use the new Memory
stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/pc.c | 58 +++---
1 files changed, 43
This function permits to retrieve ISA IO address space.
It will be usefull when we need to pass IO address space as argument.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/isa-bus.c |5 +
hw/isa.h |1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git
This patch replaces all register_ioport* be the new memory API functions.
It permits to use the new Memory stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/dma.c | 108 +
1 files changed, 72 insertions
This patch replaces all register_ioport* with the new memory API. It permits
to use the new Memory stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/acpi_piix4.c | 150 +--
1 files changed, 112 insertions(+), 38
prototype to be compliant with memory callback.
Modifications between V3 and V4:
- Fix compilation in hw/dma.c
- Fix address conversion (hw/dma.c, hw/acpi_piix4.c) with MemorySection.
Indeed the new version use offset from MemorySection start instead of 0.
Julien Grall (8):
isa: add
This patch replaces all register_ioport* with a MemoryRegion. It permits to
use the new Memory stuff like listener.
For more flexibility, the IO address space is passed as an argument.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/mips_mipssim.c |3 ++-
hw/pc.h |2
This patch fix smb_ioport_* to be compliant with read/write memory callback.
Moreover it replaces all register_ioport* which use theses functions by
the new Memory API.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/acpi_piix4.c | 16 ++--
hw/pm_smbus.c |7
On 03/23/2012 11:33 AM, Ian Campbell wrote:
On Thu, 2012-03-22 at 15:59 +, Julien Grall wrote:
Add structure to handle ioreq server. It's server which can
handle a range of IO (MMIO and/or PIO) and emulate a PCI.
Each server as its own shared page to receive ioreq. So
we have introduced
version use offset from MemorySection start instead of 0.
Modifications between V4 and V4:
- Rebase on qemu upstream.
- Forget some ioport_register_* in acpi_piix4.c.
- Register 0x3b0 - 0x3df range for cirrus instead of ioport by ioport.
Julien Grall (8):
isa: add isa_address_space_io
This function permits to retrieve ISA IO address space.
It will be usefull when we need to pass IO address space as argument.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/isa-bus.c |5 +
hw/isa.h |1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git
This patch replaces all register_ioport* be the new memory API functions.
It permits to use the new Memory stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/dma.c | 108 +
1 files changed, 72 insertions
This patch replaces all register_ioport* with the new memory API. It permits
to use the new Memory stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/acpi_piix4.c | 160 ++
1 files changed, 124 insertions(+), 36
This patch fix smb_ioport_* to be compliant with read/write memory callback.
Moreover it replaces all register_ioport* which use theses functions by
the new Memory API.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/pm_smbus.c |7 ---
hw/pm_smbus.h |6 --
hw/vt82c686
This patch replaces all register_ioport* with portio_* or
isa_register_portio_list. It permits to use the new Memory
stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/pc.c | 58 +++---
1 files changed, 43
xen hypercall.
(Root bridge, south bridge, ...).
- xen_emulate_ide (on/off): enable/disable emulation in QEMU.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
qemu-config.c | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/qemu-config.c b/qemu
QEMU disaggregation is not supported on old Xen versions.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/xen_common.h | 58 +++
1 files changed, 58 insertions(+), 0 deletions(-)
diff --git a/hw/xen_common.h b/hw/xen_common.h
QEMU will now write its status in another XenStore path because multiple
QEMU can run for a same domain. If xen_dmid machine option is not specified,
it means that an old version of Xen is used, so status is written in the old
path.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
xen
This patch replaces all register_ioport* with a MemoryRegion. It permits to
use the new Memory stuff like listener.
For more flexibility, the IO address space is passed as an argument.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/mips_mipssim.c |3 ++-
hw/pc.h |2
This patch add 5 hypercalls to register server, io range and PCI.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
tools/libxc/xc_domain.c | 155 +++
tools/libxc/xenctrl.h | 21 ++
2 files changed, 176 insertions(+), 0 deletions
the server.
Moreover, all IO which are unhandleabled by Xen or by a server
will be directly discard inside Xen.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
xen/arch/x86/hvm/emulate.c| 56 +
xen/arch/x86/hvm/hvm.c|5
server.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
xen/arch/x86/hvm/io.c | 75 +---
1 files changed, 58 insertions(+), 17 deletions(-)
diff --git a/xen/arch/x86/hvm/io.c b/xen/arch/x86/hvm/io.c
index b73a462..6e0160c 100644
--- a/xen/arch/x86
This patch permits to allocate more special pages. Indeed, for multiple
ioreq server, we need to have 2 shared pages by server.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
tools/libxc/xc_hvm_build_x86.c| 59 +++-
tools/libxc/xenguest.h
This patch replaces all register_ioport* by a MemorySection.
It permits to use the new Memory stuff like listener.
Moreover, the PCI is added as an argument for apm_init, so we
can register IO inside the pci IO address space.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/apm.c
);
xen_be_register(qdisk, xen_blkdev_ops);
+
+if (xen_emulate_default_dev) {
+xen_be_register(console, xen_console_ops);
+xen_be_register(vkbd, xen_kbdmouse_ops);
+}
xen_read_physmap(state);
return 0;
--
Julien Grall
xen_piix3_set_irq(void *opaque, int irq_num, int level)
{
}
+int xen_register_pcidev(PCIDevice *pci_dev)
+{
+return 1;
+}
+
void xen_piix_pci_write_config_client(uint32_t address, uint32_t val, int len)
{
}
--
Julien Grall
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
arch_init.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 9b46bfc..1077b16 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -44,6 +44,7 @@
#include exec-memory.h
#include hw
buffered I/O shared page or not (It was an idea
of Christian Limpach)
I don't test all configurations. Comments, bug reports, ... are welcome.
Julien Grall (17):
hvm: Modify interface to support multiple ioreq server
hvm: Add functions to handle ioreq servers
hvm-pci: Handle PCI config space
1 - 100 of 209 matches
Mail list logo