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

2010-08-23 Thread stefano . stabellini
From: Anthony PERARD Open and bind event channels; map ioreq and buffered ioreq rings. Signed-off-by: Anthony PERARD Signed-off-by: Stefano Stabellini --- hw/xen_machine_fv.c | 21 +++ target-xen/cpu.h |6 + target-xen/helper.c | 339 +++

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

2010-08-13 Thread Stefano Stabellini
On Thu, 12 Aug 2010, Blue Swirl wrote: > > +static inline void read_physical(uint64_t addr, unsigned long size, void > > *val) > > +{ > > +return cpu_physical_memory_rw((target_phys_addr_t)addr, val, size, 0); > > +} > > + > > +static inline void write_physical(uint64_t addr, unsigned long siz

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

2010-08-12 Thread Blue Swirl
On Thu, Aug 12, 2010 at 2:09 PM, wrote: > From: Anthony PERARD > > Open and bind event channels; map ioreq and buffered ioreq rings. > > Signed-off-by: Anthony PERARD > Signed-off-by: Stefano Stabellini > --- >  hw/xen_machine_fv.c   |   25 >  target-xen/cpu.h      |    1 + >  target-xen/

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

2010-08-12 Thread stefano . stabellini
From: Anthony PERARD Open and bind event channels; map ioreq and buffered ioreq rings. Signed-off-by: Anthony PERARD Signed-off-by: Stefano Stabellini --- hw/xen_machine_fv.c | 25 target-xen/cpu.h |1 + target-xen/helper.c | 362 ++