Re: [Qemu-devel] [Xen-devel] Upstream QEMU and Xen unstable not working

2011-07-19 Thread Stefano Stabellini
On Tue, 19 Jul 2011, Wei Liu wrote: > On Tue, 2011-07-19 at 12:09 +0100, Stefano Stabellini wrote: > > On Tue, 19 Jul 2011, Wei Liu wrote: > > > Good, this is it. > > > > > > But this patch is not yet pulled in the tree. > > > > I pushed few com

Re: [Qemu-devel] [PATCH] xen: fix xen-mapcache build on non-Xen capable targets

2011-07-20 Thread Stefano Stabellini
On Wed, 20 Jul 2011, Avi Kivity wrote: > Signed-off-by: Avi Kivity Alex sent another patch few days ago to do the same thing: http://marc.info/?l=qemu-devel&m=131099500331906&w=2 it hasn't been merged yet but it is in Alex's xen-next branch.

Re: [Qemu-devel] [PATCH V2 01/10] configure: Introduce --enable-xen-pci-passthrough.

2011-10-20 Thread Stefano Stabellini
On Wed, 19 Oct 2011, Anthony PERARD wrote: > Signed-off-by: Anthony PERARD > --- > Makefile.target |2 ++ > configure | 21 + > 2 files changed, 23 insertions(+), 0 deletions(-) > > diff --git a/Makefile.target b/Makefile.target > index 417f23e..c518103 100644 > -

Re: [Qemu-devel] [PATCH V2 02/10] Introduce HostPCIDevice to access a pci device on the host.

2011-10-20 Thread Stefano Stabellini
On Wed, 19 Oct 2011, Anthony PERARD wrote: > Signed-off-by: Anthony PERARD > --- > Makefile.target |1 + > hw/host-pci-device.c | 245 > ++ > hw/host-pci-device.h | 75 +++ > 3 files changed, 321 insertions(+), 0 deletions(-

Re: [Qemu-devel] [PATCH V2 08/10] Introduce Xen PCI Passthrough, qdevice (1/3)

2011-10-20 Thread Stefano Stabellini
On Wed, 19 Oct 2011, Anthony PERARD wrote: > From: Allen Kay > > Signed-off-by: Allen Kay > Signed-off-by: Guy Zana > Signed-off-by: Anthony PERARD > --- > Makefile.target |2 + > hw/xen_pci_passthrough.c | 861 > ++ > hw/xen_

Re: [Qemu-devel] [PATCH 1/3] Support guest reboots when in Xen HVM mode

2011-11-07 Thread Stefano Stabellini
On Fri, 28 Oct 2011, John Baboval wrote: > Call xc_domain_shutdown with the reboot flag when the guest requests a > reboot. Thanks for the patch! Sorry for the delay in replaying but away for XenSummit Asia. > Signed-off-by: John V. Baboval > Signed-off-by: Tom Goetz > --- > xen-all.c | 22

Re: [Qemu-devel] [PATCH 2/3] Xen conditionals

2011-11-07 Thread Stefano Stabellini
On Fri, 28 Oct 2011, John Baboval wrote: > Don't perform RTC or APIC setup when running in xen mode. Both are actually emulated in Xen so registering the two devices in Qemu is harmless because they are never going to receive any events from the hypervisor. Thus I would rather keep the difference

Re: [Qemu-devel] [PATCH V3 07/10] Introduce Xen PCI Passthrough, qdevice (1/3)

2011-11-08 Thread Stefano Stabellini
On Fri, 28 Oct 2011, Anthony PERARD wrote: > From: Allen Kay > > Signed-off-by: Allen Kay > Signed-off-by: Guy Zana > Signed-off-by: Anthony PERARD > --- > Makefile.target |2 + > hw/xen_pci_passthrough.c | 838 > ++ > hw/xen_

Re: [Qemu-devel] [PATCH V3 09/10] Introduce apic-msidef.h

2011-11-08 Thread Stefano Stabellini
On Fri, 28 Oct 2011, Anthony PERARD wrote: > This patch move the msi definition from apic.c to apic-msidef.h. So it can be > used also by other .c files. you should CC Michael on this one > Signed-off-by: Anthony PERARD > --- > hw/apic-msidef.h | 28 > hw/apic.c

Re: [Qemu-devel] [Xen-devel] [PATCH V3 07/10] Introduce Xen PCI Passthrough, qdevice (1/3)

2011-11-14 Thread Stefano Stabellini
On Fri, 11 Nov 2011, Konrad Rzeszutek Wilk wrote: > > > > +hw_error("Internal error: Invalid write emulation " > > > > + "return value[%d]. I/O emulator exit.\n", rc); > > > > > > Oh. I hadn't realized this, but you are using hw_error. Which is > > > calling

[Qemu-devel] [PATCH 0/4] prevent Qemu from waking up needlessly

2011-11-15 Thread Stefano Stabellini
elect timeout to 1h: nothing should rely on the select timeout to be 1sec, so we might as well increase it to 1h. Stefano Stabellini (4): xen: introduce mc146818rtcxen xen: do not initialize the interval timer emulator xen: introduce an event channel for buffered io event notifica

Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen

2011-11-15 Thread Stefano Stabellini
On Tue, 15 Nov 2011, Anthony Liguori wrote: > On 11/15/2011 08:51 AM, stefano.stabell...@eu.citrix.com wrote: > > From: Stefano Stabellini > > > > Xen doesn't need full RTC emulation in Qemu because the RTC is already > > emulated by the hypervisor. In partic

Re: [Qemu-devel] [Xen-devel] [PATCH 3/4] xen: introduce an event channel for buffered io event notifications

2011-11-15 Thread Stefano Stabellini
On Tue, 15 Nov 2011, Ian Campbell wrote: > > +xc_get_hvm_param(xen_xc, xen_domid, HVM_PARAM_BUFIOREQ_EVTCHN, > > +&bufioreq_evtchn); > > +rc = xc_evtchn_bind_interdomain(state->xce_handle, xen_domid, > > +(uint32_t)bufioreq_evtchn); > > +if (rc == -1) { > > +

Re: [Qemu-devel] [PATCH 0/5] docs: convert specifications to markdown

2011-11-15 Thread Stefano Stabellini
On Tue, 15 Nov 2011, Alex Bradbury wrote: > On 15 November 2011 13:51, Avi Kivity wrote: > > Does markdown support rendering into man pages? > > You can do this via pandoc: > http://johnmacfarlane.net/pandoc/ Actually we are having the very same issue on xen right now: we have a manual written

Re: [Qemu-devel] Where to log xen_platform_log data

2011-09-05 Thread Stefano Stabellini
On Sat, 3 Sep 2011, Stefan Hajnoczi wrote: > Hi Steven, > The Xen platform PCI device has a logging feature that is currently > implemented using trace_xen_platform_log(s->log_buffer). String > arguments may not be supported by all trace backends so they should be > avoided. For example, the simp

Re: [Qemu-devel] [RFC PATCH 0/5] Add configure flag to disable TCG

2011-09-05 Thread Stefano Stabellini
On Fri, 2 Sep 2011, Anthony Liguori wrote: > Hi, > > There have been a few attempts in the past to allow TCG to be disabled > at build time. Recently, Alex made the suggestion that we could do it by > using > the same trick that we used to introduce kvm support. That involves > introducing > a

[Qemu-devel] [PULL 0/4] xen: old bug fixes

2011-09-09 Thread Stefano Stabellini
/qemu-dm.git xen-next Anthony PERARD (1): xen-mapcache: Fix rlimit set size. John Haxby (2): Introduce a new 'connected' xendev op called when Connected. Move the xenfb pointer handler to the connected method Stefano Stabellini (1): xen: use uint64_t instead of

Re: [Qemu-devel] [PATCH v3 4/4] xen-all: Pass max_ram_below_4g to xen_hvm_init.

2014-03-25 Thread Stefano Stabellini
On Mon, 24 Mar 2014, Don Slutz wrote: > This is the xen part of "pc & q35: Add new object pc-memory-layout." > > Signed-off-by: Don Slutz Acked-by: Stefano Stabellini > v3: Adjust for code readability. Set max_ram_below_4g always and use > it to calculate above_4

Re: [Qemu-devel] [PATCH resend 0/3] QEMU/Xen: disentangle PV and HVM in QEMU

2014-03-25 Thread Stefano Stabellini
On Tue, 25 Mar 2014, Paolo Bonzini wrote: > Il 25/03/2014 17:40, Stefano Stabellini ha scritto: > > > > > > > > Oops, sorry. I did this for first series but forgot about it when > > > > resending. Updated diff stat attached. > > Much better, thanks. &

Re: [Qemu-devel] [PATCH resend 0/3] QEMU/Xen: disentangle PV and HVM in QEMU

2014-03-25 Thread Stefano Stabellini
On Tue, 25 Mar 2014, Wei Liu wrote: > On Tue, Mar 25, 2014 at 05:22:08PM +0100, Paolo Bonzini wrote: > > Il 25/03/2014 16:59, Wei Liu ha scritto: > > >This small series disentangles Xen-specific files in QEMU. PV and HVM > > >guests > > >related files are moved to corresponding locations. Build sy

Re: [Qemu-devel] [PATCH] exec: Limit translation limiting in address_space_translate to xen

2014-03-27 Thread Stefano Stabellini
On Thu, 27 Mar 2014, Paolo Bonzini wrote: > Il 27/03/2014 05:35, Alexey Kardashevskiy ha scritto: > > The address_space_translate() function cuts the returned plen (page size) > > to hardcoded TARGET_PAGE_SIZE. This function can be used on pages bigger > > than that so this limiting should not be u

Re: [Qemu-devel] [PATCH 4/5] xen, gfx passthrough: support Intel IGD passthrough with VT-D

2014-03-27 Thread Stefano Stabellini
CC'ing Michael. On Fri, 21 Feb 2014, Yang Zhang wrote: > From: Yang Zhang > > Some registers of Intel IGD are mapped in host bridge, so it needs to > passthrough these registers of physical host bridge to guest because > emulated host bridge in guest doesn't have these mappings. > > The origina

[Qemu-devel] [PATCH] pass an inclusive address range to xc_domain_pin_memory_cacheattr

2014-04-07 Thread Stefano Stabellini
xc_domain_pin_memory_cacheattr expects an inclusive address range: adjust the parameters. Signed-off-by: Stefano Stabellini diff --git a/xen-all.c b/xen-all.c index ba34739..027e7a8 100644 --- a/xen-all.c +++ b/xen-all.c @@ -323,7 +323,7 @@ go_physmap: xc_domain_pin_memory_cacheattr

Re: [Qemu-devel] [Xen-devel] [PATCH v2 0/2] build QEMU with Xen support on ARM

2014-01-03 Thread Stefano Stabellini
On Wed, 18 Dec 2013, Konrad Rzeszutek Wilk wrote: > On Wed, Dec 18, 2013 at 07:15:43PM +0000, Stefano Stabellini wrote: > > Hi all, > > the xenpv machine provides Xen paravirtualized backends for console, > > disk and framebuffer. xenfb in particular is the only open source &g

[Qemu-devel] [PATCH] xenfb: map framebuffer read-only and handle unmap errors

2014-01-06 Thread Stefano Stabellini
The framebuffer is needlessly mapped (PROT_READ | PROT_WRITE), map it PROT_READ instead. The framebuffer is unmapped by replacing the framebuffer pages with anonymous shared memory, calling mmap. Check for return errors and print a warning. Signed-off-by: Stefano Stabellini CC: Gerd Hoffmann

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-06 Thread Stefano Stabellini
On Mon, 6 Jan 2014, Frediano Ziglio wrote: > On Mon, 2014-01-06 at 12:54 +, Wei Liu wrote: > > Hi all > > > > This idea is to modify QEMU's Makefiles, plus implementing some stubs to > > make it possible to tailor QEMU to a smaller binary. > > > > The current setup for Xen on X86 is to build

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-06 Thread Stefano Stabellini
On Mon, 6 Jan 2014, Anthony Liguori wrote: > On Jan 6, 2014 6:23 AM, "Peter Maydell" wrote: > > > > On 6 January 2014 14:17, Stefano Stabellini > > wrote: > > > It doesn't do any emulation so it is not specific to any architecture or > > >

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-06 Thread Stefano Stabellini
On Mon, 6 Jan 2014, Anthony Liguori wrote: > On Jan 6, 2014 6:55 AM, "Stefano Stabellini" > wrote: > > > > On Mon, 6 Jan 2014, Anthony Liguori wrote: > > > On Jan 6, 2014 6:23 AM, "Peter Maydell" wrote: > > > > > > > > O

Re: [Qemu-devel] Project idea: make QEMU more flexible

2014-01-06 Thread Stefano Stabellini
On Mon, 6 Jan 2014, Peter Maydell wrote: > On 6 January 2014 15:11, Wei Liu wrote: > > On Mon, Jan 06, 2014 at 11:23:24PM +1000, Peter Crosthwaite wrote: > > [...] > >> > > >> > Finally I got a qemu-system-null. And the effect is immediately visible > >> > >> qemu-system-null has been on my wish-l

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-06 Thread Stefano Stabellini
On Mon, 6 Jan 2014, Anthony Liguori wrote: > On Mon, Jan 6, 2014 at 7:57 AM, Stefano Stabellini > wrote: > > On Mon, 6 Jan 2014, Anthony Liguori wrote: > >> On Jan 6, 2014 6:55 AM, "Stefano Stabellini" > >> wrote: > >> > > >> > On

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-07 Thread Stefano Stabellini
On Mon, 6 Jan 2014, Wei Liu wrote: > On Mon, Jan 06, 2014 at 07:12:07PM +0100, Andreas Färber wrote: > > Am 06.01.2014 16:12, schrieb Wei Liu: > > > On Mon, Jan 06, 2014 at 01:30:20PM +, Peter Maydell wrote: > > >> On 6 January 2014 12:54, Wei Liu wrote: > > >>> In fact I've already hacked a p

Re: [Qemu-devel] Project idea: make QEMU more flexible

2014-01-07 Thread Stefano Stabellini
On Mon, 6 Jan 2014, Peter Maydell wrote: > On 6 January 2014 17:34, Stefano Stabellini > wrote: > > On Mon, 6 Jan 2014, Peter Maydell wrote: > >> However I don't think we can have a qemu-system-null > >> (regardless of use cases) until/unless we get rid of &g

Re: [Qemu-devel] Project idea: make QEMU more flexible

2014-01-07 Thread Stefano Stabellini
On Tue, 7 Jan 2014, Paolo Bonzini wrote: > Il 07/01/2014 14:26, Stefano Stabellini ha scritto: > > > The identifiers poisoned by include/qemu/poison.h are > > > an initial but not complete list. Host and target > > > endianness is a particularly obvious one, as is t

[Qemu-devel] [PULL 3/3] xen_pt: Fix passthrough of device with ROM.

2014-01-17 Thread Stefano Stabellini
involved in it. Xen set a limit of memory available for each guest, allocating memory for a ROM can hit this limit. Signed-off-by: Anthony PERARD Signed-off-by: Stefano Stabellini Reported-and-Tested-by: Konrad Rzeszutek Wilk --- hw/xen/xen_pt.c |4 ++-- 1 file changed, 2 insertions(+), 2

[Qemu-devel] [PULL 2/3] xen_pt: Fix debug output.

2014-01-17 Thread Stefano Stabellini
From: Anthony PERARD Signed-off-by: Anthony PERARD Signed-off-by: Stefano Stabellini Reviewed-by: Konrad Rzeszutek Wilk --- hw/xen/xen_pt.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xen/xen_pt.c b/hw/xen/xen_pt.c index d58cb61..eee4354 100644 --- a/hw/xen

[Qemu-devel] [PULL 1/3] xenfb: map framebuffer read-only and handle unmap errors

2014-01-17 Thread Stefano Stabellini
The framebuffer is needlessly mapped (PROT_READ | PROT_WRITE), map it PROT_READ instead. The framebuffer is unmapped by replacing the framebuffer pages with anonymous shared memory, calling mmap. Check for return errors and print a warning. Signed-off-by: Stefano Stabellini --- hw/display

[Qemu-devel] [PULL 0/3] xen-170114

2014-01-17 Thread Stefano Stabellini
794798e36eda77802ce7cc7d7d6b1c65751e8a76: xen_pt: Fix passthrough of device with ROM. (2014-01-17 15:29:33 +) Anthony PERARD (2): xen_pt: Fix debug output. xen_pt: Fix passthrough of device with ROM. Stefano Stabellini (1

Re: [Qemu-devel] use O_DIRECT to open disk images for IDE failed under xen-4.1.2 and qemu upstream

2013-05-23 Thread Stefano Stabellini
On Thu, 23 May 2013, Gonglei (Arei) wrote: > Hi, all > > I use O_DIRECT to open disk images for IDE, but I'm failed. After debug, I > get the below logs: > [2013-05-22 23:25:46] ide: CMD=c8 > [2013-05-22 23:25:46] bmdma: readb 0x00 : 0x08 > [2013-05-22 23:25:46] bmdma: writeb 0x00 : 0x09 > [2013-

Re: [Qemu-devel] use O_DIRECT to open disk images for IDE failed under xen-4.1.2 and qemu upstream

2013-05-24 Thread Stefano Stabellini
On Fri, 24 May 2013, Gonglei (Arei) wrote: > Hi, > > > > > On Thu, 23 May 2013, Gonglei (Arei) wrote: > > > Hi, all > > > > > > I use O_DIRECT to open disk images for IDE, but I'm failed. After debug, > > > I get > > the below logs: > > > [2013-05-22 23:25:46] ide: CMD=c8 > > > [2013-05-22 23:25

Re: [Qemu-devel] [PATCH v3 4/9] ide: Drop redundant IDEState member bs

2014-02-12 Thread Stefano Stabellini
On Wed, 12 Feb 2014, Markus Armbruster wrote: > Markus Armbruster writes: > > > Stefano Stabellini writes: > > > >> On Thu, 6 Feb 2014, Markus Armbruster wrote: > >>> Stefano Stabellini writes: > >>> > >>> > On We

Re: [Qemu-devel] [PULL 00/20] acpi,pc,pci fixes and enhancements

2014-02-18 Thread Stefano Stabellini
On Thu, 13 Feb 2014, Peter Maydell wrote: > On 10 February 2014 16:47, Michael S. Tsirkin wrote: > > The following changes since commit 2b2449f7e467957778ca006904471b231dc0ac8e: > > > > Merge remote-tracking branch 'remotes/borntraeger/tags/kvm-s390-20140131' > > into staging (2014-02-04 18:46:

Re: [Qemu-devel] [PULL 00/20] acpi,pc,pci fixes and enhancements

2014-02-18 Thread Stefano Stabellini
On Tue, 18 Feb 2014, Paolo Bonzini wrote: > Il 18/02/2014 13:16, Stefano Stabellini ha scritto: > > It looks like that this series breaks disk unplug > > (hw/ide/piix.c:pci_piix3_xen_ide_unplug). > > > > I bisected it and the problem is

Re: [Qemu-devel] [PULL 00/20] acpi,pc,pci fixes and enhancements

2014-02-18 Thread Stefano Stabellini
On Tue, 18 Feb 2014, Paolo Bonzini wrote: > Il 18/02/2014 13:45, Stefano Stabellini ha scritto: > > Disk unplug: hw/ide/piix.c:pci_piix3_xen_ide_unplug (see the beginning > > of the email :-P). > > It is called by hw/xen/xen_platform.c:platform_fixed_ioport_writew, in >

Re: [Qemu-devel] [PULL 00/20] acpi,pc,pci fixes and enhancements

2014-02-18 Thread Stefano Stabellini
On Tue, 18 Feb 2014, Igor Mammedov wrote: > On Tue, 18 Feb 2014 12:45:29 + > Stefano Stabellini wrote: > > > On Tue, 18 Feb 2014, Paolo Bonzini wrote: > > > Il 18/02/2014 13:16, Stefano Stabellini ha scritto: > > > > It looks like that this serie

Re: [Qemu-devel] [PULL 00/20] acpi,pc,pci fixes and enhancements

2014-02-18 Thread Stefano Stabellini
On Tue, 18 Feb 2014, Paolo Bonzini wrote: > Il 18/02/2014 15:25, Stefano Stabellini ha scritto: > > On Tue, 18 Feb 2014, Paolo Bonzini wrote: > > > Il 18/02/2014 13:45, Stefano Stabellini ha scritto: > > > > Disk unplug: hw/ide/piix.c:pci_piix3_xen_ide_unplug (se

Re: [Qemu-devel] [PULL 00/20] acpi,pc,pci fixes and enhancements

2014-02-19 Thread Stefano Stabellini
On Wed, 19 Feb 2014, Michael S. Tsirkin wrote: > On Wed, Feb 19, 2014 at 11:08:25AM +0200, Michael S. Tsirkin wrote: > > On Tue, Feb 18, 2014 at 05:10:00PM +, Stefano Stabellini wrote: > > > On Tue, 18 Feb 2014, Paolo Bonzini wrote: > > > > Il 18/02/2014 15:25,

Re: [Qemu-devel] [PATCH v2] xen_disk: add discard support

2014-02-20 Thread Stefano Stabellini
On Thu, 6 Feb 2014, Olaf Hering wrote: > @@ -253,6 +254,8 @@ static int ioreq_parse(struct ioreq *ioreq) > case BLKIF_OP_WRITE: > ioreq->prot = PROT_READ; /* from memory */ > break; > +case BLKIF_OP_DISCARD: > +return 0; > default: > xen_be_printf(&b

[Qemu-devel] [PULL 0/2] xen-140220

2014-02-20 Thread Stefano Stabellini
40220 for you to fetch changes up to 58da5b1e01a586eb5a52ba3eec342d6828269839: xen_disk: fix io accounting (2014-02-20 17:57:13 +) Olaf Hering (1): xen_disk: fix io accounting Stefano Stabellini (1):

[Qemu-devel] [PULL 1/2] Call pci_piix3_xen_ide_unplug from unplug_disks

2014-02-20 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini Acked-by: Paolo Bonzini --- hw/ide/piix.c |3 +-- hw/xen/xen_platform.c |3 ++- include/hw/ide.h |1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hw/ide/piix.c b/hw/ide/piix.c index 0eda301..40757eb 100644 --- a/hw

[Qemu-devel] [PULL 2/2] xen_disk: fix io accounting

2014-02-20 Thread Stefano Stabellini
From: Olaf Hering bdrv_acct_done was called unconditional. But in case the ioreq has no segments there is no matching bdrv_acct_start call. This could lead to bogus accounting values. Found by code inspection. Signed-off-by: Olaf Hering Signed-off-by: Stefano Stabellini --- hw/block

Re: [Qemu-devel] [PATCH v2] xen_disk: add discard support

2014-02-20 Thread Stefano Stabellini
On Thu, 20 Feb 2014, Olaf Hering wrote: > On Thu, Feb 20, Stefano Stabellini wrote: > > > On Thu, 6 Feb 2014, Olaf Hering wrote: > > > @@ -253,6 +254,8 @@ static int ioreq_parse(struct ioreq *ioreq) > > > case BLKIF_OP_WRITE: > > >

Re: [Qemu-devel] [PATCH v2] xen_disk: add discard support

2014-02-23 Thread Stefano Stabellini
On Thu, 20 Feb 2014, Olaf Hering wrote: > On Thu, Feb 20, Stefano Stabellini wrote: > > > On Thu, 6 Feb 2014, Olaf Hering wrote: > > > @@ -253,6 +254,8 @@ static int ioreq_parse(struct ioreq *ioreq) > > > case BLKIF_OP_WRITE: > > >

Re: [Qemu-devel] [PATCH 0/5] xen: add Intel IGD passthrough support

2014-02-27 Thread Stefano Stabellini
On Thu, 27 Feb 2014, Zhang, Yang Z wrote: > Zhang, Yang Z wrote on 2014-02-21: > > From: Yang Zhang > > > > The following patches are ported from Xen Qemu-traditional branch > > which are adding Intel IGD passthrough supporting to Qemu upstream. > > > > To pass through IGD to guest, user need to

Re: [Qemu-devel] [PATCH RFC 0/5] Xen: introduce Xen PV target

2014-01-24 Thread Stefano Stabellini
On Fri, 24 Jan 2014, Paolo Bonzini wrote: > Il 24/01/2014 15:35, Peter Maydell ha scritto: > > > > (1) decide that the Xen ring buffers are little-endian even on > > > big-endian > > > > CPUs > > > > > > > > (2) communicate the endianness of the Xen ring buffers via Xenstore, > > > just > > > > lik

[Qemu-devel] [BUG] BSoD on Windows XP installation

2014-01-29 Thread Stefano Stabellini
Hi Paolo, we have been trying to fix a BSOD that would happen during the Windows XP installation, once every ten times on average. After many days of bisection, we found out that commit commit 149f54b53b7666a3facd45e86eece60ce7d3b114 Author: Paolo Bonzini Date: Fri May 24 12:59:37 2013 +0200

[Qemu-devel] [PATCH] address_space_translate: do not cross page boundaries

2014-01-30 Thread Stefano Stabellini
rom address_space_translate_internal that can span a page boundary. Also in address_space_translate do not ignore the length returned by address_space_translate_internal. This patch should be backported to QEMU 1.6.x. Signed-off-by: Stefano Stabellini Signed-off-by: Anthony Perard --- exec.c |

Re: [Qemu-devel] [BUG] BSoD on Windows XP installation

2014-01-30 Thread Stefano Stabellini
On Wed, 29 Jan 2014, Paolo Bonzini wrote: > Il 29/01/2014 13:00, Stefano Stabellini ha scritto: > > Hi Paolo, > > we have been trying to fix a BSOD that would happen during the Windows > > XP installation, once every ten times on average. > > After many days of bisectio

Re: [Qemu-devel] [PATCH v2] qemu-upstream: add discard support for xen_disk

2014-01-30 Thread Stefano Stabellini
On Thu, 30 Jan 2014, Olaf Hering wrote: > Implement discard support for xen_disk. It makes use of the existing > discard code in qemu. > > The discard support is enabled unconditionally. The tool stack may provide a > property "discard_enable" in the backend node to optionally disable discard > su

Re: [Qemu-devel] [PULL 0/3] xen-170114

2014-01-30 Thread Stefano Stabellini
ping? On Fri, 17 Jan 2014, Stefano Stabellini wrote: > The following changes since commit 1cf892ca2689c84960b4ce4d2723b6bee453711c: > > SPARC: Fix LEON3 power down instruction (2014-01-15 15:37:33 +1000) > > are available in the git repository at: > > git://x

[Qemu-devel] [PULL 1/1] address_space_translate: do not cross page boundaries

2014-01-30 Thread Stefano Stabellini
From: Stefano Stabellini The following commit: commit 149f54b53b7666a3facd45e86eece60ce7d3b114 Author: Paolo Bonzini Date: Fri May 24 12:59:37 2013 +0200 memory: add address_space_translate breaks Xen support in QEMU, in particular the Xen mapcache. The effect is that one Windows XP

[Qemu-devel] [PULL 0/1] xen-140130

2014-01-30 Thread Stefano Stabellini
u to fetch changes up to 360e607b88a23d378f6efaa769c76d26f538234d: address_space_translate: do not cross page boundaries (2014-01-30 14:20:45 +) -------- Stefano Stabellini (1): address_space_translate: do not cross page

Re: [Qemu-devel] [PATCH] xen_disk: add discard support

2014-01-30 Thread Stefano Stabellini
On Thu, 30 Jan 2014, Olaf Hering wrote: > Implement discard support for xen_disk. It makes use of the existing > discard code in qemu. > > The discard support is enabled unconditionally. The tool stack may provide a > property "discard-enable" in the backend node to optionally disable discard > su

Re: [Qemu-devel] [PULL 0/1] xen-140130

2014-01-30 Thread Stefano Stabellini
Anthony, I would appreciate if you could pull this branch quickly, as I am looking forward to backport the patch to the qemu-xen tree for the Xen 4.4 release. Thanks, Stefano On Thu, 30 Jan 2014, Stefano Stabellini wrote: > The following changes since com

Re: [Qemu-devel] [BUGFIX][PATCH v2] configure: Disable libtool if -fPIE does not work with it (bug #1257099)

2014-02-03 Thread Stefano Stabellini
On Wed, 15 Jan 2014, Paolo Bonzini wrote: > Il 03/01/2014 03:12, Don Slutz ha scritto: > > Adjust TMPO and added TMPB, TMPL, and TMPA. libtool needs the names > > to be fixed (TMPB). > > > > Add new functions do_libtool and libtool_prog. > > > > Add check for broken gcc and libtool. > > > > Sig

Re: [Qemu-devel] [Qemu-ppc] standard test image not booting with qemu-system-ppc

2014-02-04 Thread Stefano Stabellini
On Tue, 4 Feb 2014, Paolo Bonzini wrote: > Il 04/02/2014 08:55, Alexander Graf ha scritto: > >> With this change, the > >> memory system is now refusing to allow an access of size > >> 2 through, because it's greater than the region length. So > > > > Ouch. Yes, for ioport reads/writes we definite

Re: [Qemu-devel] [PATCH] xen_disk: add discard support

2014-02-04 Thread Stefano Stabellini
On Tue, 4 Feb 2014, Olaf Hering wrote: > On Mon, Feb 03, Kevin Wolf wrote: > > > Am 30.01.2014 um 16:02 hat Olaf Hering geschrieben: > > > +++ b/hw/block/xen_disk.c > > > > +case BLKIF_OP_DISCARD: > > > +{ > > > +struct blkif_request_discard *discard_req = (void *)&ioreq->req; > >

Re: [Qemu-devel] [BUGFIX][PATCH v2] configure: Disable libtool if -fPIE does not work with it (bug #1257099)

2014-02-04 Thread Stefano Stabellini
On Tue, 4 Feb 2014, Paolo Bonzini wrote: > Il 03/02/2014 12:59, Stefano Stabellini ha scritto: > > > I'm applying this to a "configure" branch on my github repository. > > > Thanks! > > > > Paolo, did this patch ever make it upstream? If so, do

Re: [Qemu-devel] [PATCH] pc_piix: enable legacy hotplug for Xen

2014-02-05 Thread Stefano Stabellini
On Tue, 4 Feb 2014, Sander Eikelenboom wrote: > Tuesday, February 4, 2014, 10:55:18 PM, you wrote: > > > Il 04/02/2014 22:32, Michael S. Tsirkin ha scritto: > >> xenfv has no fwcfg and so does not load acpi from QEMU. > >> as such new acpi features don't work. > >> > >> Reported-by: Sander Eikelen

Re: [Qemu-devel] [PATCH] pc_piix: enable legacy hotplug for Xen

2014-02-05 Thread Stefano Stabellini
On Tue, 4 Feb 2014, Paolo Bonzini wrote: > Il 04/02/2014 22:32, Michael S. Tsirkin ha scritto: > > xenfv has no fwcfg and so does not load acpi from QEMU. > > as such new acpi features don't work. > > > > Reported-by: Sander Eikelenboom > > Signed-off-by: Michael S. Tsirkin > > --- > > > > Sand

Re: [Qemu-devel] [PATCH] pc_piix: enable legacy hotplug for Xen

2014-02-05 Thread Stefano Stabellini
On Wed, 5 Feb 2014, Sander Eikelenboom wrote: > > On Tue, 4 Feb 2014, Sander Eikelenboom wrote: > >> Tuesday, February 4, 2014, 10:55:18 PM, you wrote: > >> > >> > Il 04/02/2014 22:32, Michael S. Tsirkin ha scritto: > >> >> xenfv has no fwcfg and so does not load acpi from QEMU. > >> >> as such ne

Re: [Qemu-devel] [PATCH] pc_piix: enable legacy hotplug for Xen

2014-02-05 Thread Stefano Stabellini
On Wed, 5 Feb 2014, Paolo Bonzini wrote: > Il 05/02/2014 17:41, Stefano Stabellini ha scritto: > > > Yeah, especially because nowadays "-M pc" works with Xen. It would be > > nice if > > > fw_cfg could be enabled even for Xen on all machines except the legacy

Re: [Qemu-devel] [PATCH v3 4/9] ide: Drop redundant IDEState member bs

2014-02-05 Thread Stefano Stabellini
On Wed, 5 Feb 2014, Markus Armbruster wrote: > [Note cc: Stefano] > > Kevin Wolf writes: > > > Am 30.01.2014 um 13:16 hat Markus Armbruster geschrieben: > >> It's a copy of dev->conf.bs. The copy was needed for non-qdevified > >> controllers, which lacked dev. > >> > >> Note how pci_piix3_xen_

Re: [Qemu-devel] [PATCH] pc_piix: enable legacy hotplug for Xen

2014-02-05 Thread Stefano Stabellini
On Wed, 5 Feb 2014, Paolo Bonzini wrote: > Il 05/02/2014 17:54, Stefano Stabellini ha scritto: > > > > I'm not sure how this is related to fw_cfg? fw_cfg is just a simple > > > key-value > > > > store. If hvmloader doesn't use it, it should be a bur

Re: [Qemu-devel] [PATCH 1/2] qom-test: Run for all available machines

2014-02-05 Thread Stefano Stabellini
On Wed, 5 Feb 2014, Andreas Färber wrote: > Stefano, > > Am 10.01.2014 14:31, schrieb arm...@redhat.com: > > From: Markus Armbruster > > > > Get available machines via QMP instead of hardcoding a list that's > > perpetually out of date. > > > > A few machines don't work out of the box: > [...]

Re: [Qemu-devel] [PATCH] xen_disk: add discard support

2014-02-05 Thread Stefano Stabellini
On Tue, 4 Feb 2014, Olaf Hering wrote: > On Tue, Feb 04, Olaf Hering wrote: > > > On Tue, Feb 04, Kevin Wolf wrote: > > > > > Now you call bdrv_acct_done() in the callback without having a matching > > > bdrv_acct_start(). You need to make it conditional in the callback. > > > Stefano, > > Is io

Re: [Qemu-devel] [PATCH] xen_disk: fix io accounting

2014-02-07 Thread Stefano Stabellini
On Thu, 6 Feb 2014, Andreas Färber wrote: > Am 06.02.2014 16:55, schrieb Olaf Hering: > > bdrv_acct_done was called unconditional. But in case the ioreq has no > > segments there is no matching bdrv_acct_start call. This could lead to > > bogus accounting values. > > > > Found by code inspection.

Re: [Qemu-devel] [PATCH v3 4/9] ide: Drop redundant IDEState member bs

2014-02-07 Thread Stefano Stabellini
On Thu, 6 Feb 2014, Markus Armbruster wrote: > Stefano Stabellini writes: > > > On Wed, 5 Feb 2014, Markus Armbruster wrote: > >> [Note cc: Stefano] > >> > >> Kevin Wolf writes: > >> > >> > Am 30.01.2014 um 13:16 hat Markus Armbr

Re: [Qemu-devel] [PATCH v2] memory: fix limiting of translation at a page boundary

2014-02-07 Thread Stefano Stabellini
On Fri, 7 Feb 2014, Paolo Bonzini wrote: > Commit 360e607 (address_space_translate: do not cross page boundaries, > 2014-01-30) broke MMIO accesses in cases where the section is shorter > than the full register width. This can happen for example with the > Bochs DISPI registers, which are 16 bits

Re: [Qemu-devel] [PATCH v2] xen_disk: fix io accounting

2014-02-07 Thread Stefano Stabellini
On Fri, 7 Feb 2014, Olaf Hering wrote: > bdrv_acct_done was called unconditional. But in case the ioreq has no > segments there is no matching bdrv_acct_start call. This could lead to > bogus accounting values. > > Found by code inspection. > > Signed-off-by: Olaf Hering added to my queue, I'll

[Qemu-devel] [PULL 0/2] Xen 2013-12-01

2013-12-01 Thread Stefano Stabellini
The following changes since commit 7dc65c02fe3fb8f3146ce0b9ff5fec5945329f0e: Open 2.0 development tree (2013-11-27 14:02:45 -0800) are available in the git repository at: git://xenbits.xen.org/people/sstabellini/qemu-dm.git xen-2013-12-01 for you to fetch changes up to 539891a85d17bd8c23a25

[Qemu-devel] [PULL 1/2] xen: fix two errors when debug is enabled

2013-12-01 Thread Stefano Stabellini
phys_offset. Signed-off-by: Sander Eikelenboom Signed-off-by: Wei Liu Signed-off-by: Stefano Stabellini --- hw/xen/xen_pt.c |3 ++- xen-all.c |4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hw/xen/xen_pt.c b/hw/xen/xen_pt.c index ca2d460..d58cb61 100644

[Qemu-devel] [PULL 2/2] xen-pvdevice: make device-id property compulsory

2013-12-01 Thread Stefano Stabellini
device ID, it should always be supplied by the Xen toolstack. Signed-off-by: Paul Durrant Signed-off-by: Stefano Stabellini --- hw/xen/xen_pvdevice.c|6 +- include/hw/pci/pci_ids.h |1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hw/xen/xen_pvdevice.c b/hw/xen

Re: [Qemu-devel] [Bug 1257099] [NEW] QEMU fails to build on CentOS 5.10 with relocation R_X86_64_PC32 error

2013-12-03 Thread Stefano Stabellini
CC'ing Paolo and xen-devel. The original thread is here: http://marc.info/?l=xen-devel&m=135718999710640 On Mon, 2 Dec 2013, Don Slutz wrote: > Public bug reported: > > lt LINK libcacard.la > /usr/bin/ld: libcacard/.libs/vcard.o: relocation R_X86_64_PC32 against > `vcard_buffer_response_delet

[Qemu-devel] [PATCH 0/2] build QEMU with Xen support on ARM

2013-12-17 Thread Stefano Stabellini
patch series allows QEMU to build and run (xenpv) with Xen support on ARM. Stefano Stabellini (2): xen_backend: introduce xenstore_read_uint64 and xenstore_read_fe_uint64 xen: build on ARM hw/display/xenfb.c | 17 + hw/xen/xen_backend.c |

[Qemu-devel] [PATCH 1/2] xen_backend: introduce xenstore_read_uint64 and xenstore_read_fe_uint64

2013-12-17 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini --- hw/xen/xen_backend.c | 18 ++ include/hw/xen/xen_backend.h |2 ++ 2 files changed, 20 insertions(+) diff --git a/hw/xen/xen_backend.c b/hw/xen/xen_backend.c index 197795f..5f9be5a 100644 --- a/hw/xen/xen_backend.c +++ b/hw/xen

[Qemu-devel] [PATCH 2/2] xen: build on ARM

2013-12-17 Thread Stefano Stabellini
: Stefano Stabellini --- hw/display/xenfb.c | 17 + xen-all.c |2 +- xen-mapcache.c |4 ++-- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/hw/display/xenfb.c b/hw/display/xenfb.c index f0333a0..cbc2901 100644 --- a/hw/display/xenfb.c +++ b/hw

Re: [Qemu-devel] [PATCH 2/2] xen: build on ARM

2013-12-17 Thread Stefano Stabellini
On Tue, 17 Dec 2013, Peter Maydell wrote: > On 17 December 2013 17:31, Stefano Stabellini > wrote: > > - add __arm__ and __aarch64__ cases in xen-mapcache.c. > > --- a/xen-mapcache.c > > +++ b/xen-mapcache.c > > @@ -33,10 +33,10 @@ > > # define DPRINTF(fm

Re: [Qemu-devel] [PATCH 1/2] xen_backend: introduce xenstore_read_uint64 and xenstore_read_fe_uint64

2013-12-17 Thread Stefano Stabellini
On Tue, 17 Dec 2013, Peter Maydell wrote: > On 17 December 2013 17:30, Stefano Stabellini > wrote: > > Signed-off-by: Stefano Stabellini > > --- > > hw/xen/xen_backend.c | 18 ++ > > include/hw/xen/xen_backend.h |2 ++ >

Re: [Qemu-devel] [Xen-devel] [PATCH 2/2] xen: build on ARM

2013-12-18 Thread Stefano Stabellini
On Wed, 18 Dec 2013, Ian Campbell wrote: > On Tue, 2013-12-17 at 17:31 +0000, Stefano Stabellini wrote: > > Collection of fixes to build QEMU with Xen support on ARM: > > - use xenstore_read_fe_uint64 to retrieve the page-ref (xenfb); > > - use xen_pfn_t instead of u

[Qemu-devel] [PATCH v2 0/2] build QEMU with Xen support on ARM

2013-12-18 Thread Stefano Stabellini
patch series allows QEMU to build and run (xenpv) with Xen support on ARM. Changes in v2: - use SCNu64 instead of PRIu64 with sscanf; - assert mfn == (xen_pfn_t)mfn; - use HOST_LONG_BITS to check for QEMU's address space size. Stefano Stabellini (2): xen_backend: introduce xenstore_read_

[Qemu-devel] [PATCH v2 2/2] xen: build on ARM

2013-12-18 Thread Stefano Stabellini
dress space size. Signed-off-by: Stefano Stabellini --- Changes in v2: - assert mfn == (xen_pfn_t)mfn; - use HOST_LONG_BITS to check for QEMU's address space size. --- hw/display/xenfb.c | 18 ++ xen-all.c |2 +- xen-mapcache.c |4 ++-- 3 files c

[Qemu-devel] [PATCH v2 1/2] xen_backend: introduce xenstore_read_uint64 and xenstore_read_fe_uint64

2013-12-18 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini --- Changes in v2: - use SCNu64 instead of PRIu64 with sscanf. --- hw/xen/xen_backend.c | 18 ++ include/hw/xen/xen_backend.h |2 ++ 2 files changed, 20 insertions(+) diff --git a/hw/xen/xen_backend.c b/hw/xen/xen_backend.c index

Re: [Qemu-devel] [PATCH v3 0/4] QOM'ify apic and ioapic

2013-12-18 Thread Stefano Stabellini
On Wed, 18 Dec 2013, Andreas Färber wrote: > Am 18.12.2013 18:57, schrieb Andreas Färber: > > Am 05.11.2013 11:16, schrieb xiaoqiang zhao: > >> xiaoqiang zhao (4): > >> apic: Cleanup for QOM'ify > >> apic: QOM'ify apic & icc_bus > >> ioapic: Cleanup for QOM'ify > >> ioapic: QOM'ify ioapi

Re: [Qemu-devel] [PATCH v3 0/4] QOM'ify apic and ioapic

2013-12-18 Thread Stefano Stabellini
On Wed, 18 Dec 2013, Andreas Färber wrote: > Am 18.12.2013 20:20, schrieb Stefano Stabellini: > > On Wed, 18 Dec 2013, Andreas Färber wrote: > >> Am 18.12.2013 18:57, schrieb Andreas Färber: > >>> Am 05.11.2013 11:16, schrieb xiaoqiang zhao: > >>>> x

Re: [Qemu-devel] [PATCH] pc: disable acpi info for isapc and old pc machine

2013-11-04 Thread Stefano Stabellini
On Mon, 4 Nov 2013, Paolo Bonzini wrote: > Il 04/11/2013 11:46, Michael S. Tsirkin ha scritto: > > Disable acpi build for isapc and no_kvmclock machine > > types (used by xen), since acpi build currently expects pci. > > Xen is now using "-M pc", so it's okay to remove it from the legacy "-M > xen

Re: [Qemu-devel] [PATCH] pc: disable acpi info for isapc and old pc machine

2013-11-04 Thread Stefano Stabellini
On Mon, 4 Nov 2013, Stefano Stabellini wrote: > On Mon, 4 Nov 2013, Paolo Bonzini wrote: > > Il 04/11/2013 11:46, Michael S. Tsirkin ha scritto: > > > Disable acpi build for isapc and no_kvmclock machine > > > types (used by xen), since acpi build currently expects pci

Re: [Qemu-devel] [PATCH] pc: disable acpi info for isapc and old pc machine

2013-11-04 Thread Stefano Stabellini
On Mon, 4 Nov 2013, Michael S. Tsirkin wrote: > On Mon, Nov 04, 2013 at 03:13:50PM +0100, Paolo Bonzini wrote: > > Il 04/11/2013 11:46, Michael S. Tsirkin ha scritto: > > > Disable acpi build for isapc and no_kvmclock machine > > > types (used by xen), since acpi build currently expects pci. > > >

Re: [Qemu-devel] Questions about Spice pv domUs

2013-11-06 Thread Stefano Stabellini
On Tue, 5 Nov 2013, Fabio Fantoni wrote: > Il 30/09/2013 16:56, Fabio Fantoni ha scritto: > > I'm trying to implement basic spice support on xen pv domUs. > > > > Test seems ok on Ubuntu 12.04 pv domU except mouse which is not visible. > > I also tried agent-mouse=off on qemu spice options but is

Re: [Qemu-devel] Questions about Spice pv domUs

2013-11-07 Thread Stefano Stabellini
On Thu, 7 Nov 2013, Fabio Fantoni wrote: > Il 06/11/2013 18:16, Stefano Stabellini ha scritto: > > On Tue, 5 Nov 2013, Fabio Fantoni wrote: > > > Il 30/09/2013 16:56, Fabio Fantoni ha scritto: > > > > I'm trying to implement basic spice support on xen pv domUs

Re: [Qemu-devel] Questions about Spice pv domUs

2013-11-11 Thread Stefano Stabellini
On Thu, 7 Nov 2013, Fabio Fantoni wrote: > > The xenfb code is here: > > > > hw/display/xenfb.c > > > > It is registered here: > > > > hw/i386/xen_machine_pv.c:xen_init_pv > > Thanks, then I must search on qemu code what xenstore parameters enable xenfb > and after search on xen, right? Yes, o

<    1   2   3   4   5   6   7   8   9   10   >