[Qemu-devel] [PATCH 2/3] qemu-ga: add guest-suspend-ram

2012-02-28 Thread Luiz Capitulino
Signed-off-by: Luiz Capitulino --- qapi-schema-guest.json | 28 qga/commands-posix.c | 10 ++ 2 files changed, 38 insertions(+), 0 deletions(-) diff --git a/qapi-schema-guest.json b/qapi-schema-guest.json index f4e0e1d..b102311 100644 --- a/qapi-schema-

[Qemu-devel] [PATCH v9 0/3]: qemu-ga: add guest-suspend commands

2012-02-28 Thread Luiz Capitulino
This is probably my longer developed series... v9 o Rebase against master (qemu-ga for windows broke v8) o Drop "set O_NONBLOCK for serial channels" patch (Michael fixed this already) o Minor doc changes qapi-schema-guest.json | 75 + qemu-ga.c | 19 - qga/c

Re: [Qemu-devel] KVM call agenda for Tuesday 28th

2012-02-28 Thread Stefan Hajnoczi
On Mon, Feb 27, 2012 at 10:06 PM, Anthony Liguori wrote: > On 02/27/2012 03:58 PM, Paolo Bonzini wrote: >> >> Il 27/02/2012 18:21, Eric Blake ha scritto: > > Please send in any agenda items you are interested in covering. >>> >>> Given all the threads on snapshot/mirror/migrate/reopen in t

[Qemu-devel] [PATCH v4 0/2] Group Live Snapshots

2012-02-28 Thread Jeff Cody
This patchset adds the ability to take a snapshot of a group of devices, rather than each device individually. Upon failure of any snapshot, all snapshots taken by the command will be abandoned, and the appropriate failure code returned. All the changes from v3 to v4 are in patch 1/2. This differ

Re: [Qemu-devel] KVM call agenda for Tuesday 28th

2012-02-28 Thread Paolo Bonzini
Il 28/02/2012 15:39, Stefan Hajnoczi ha scritto: > I'm not a fan of transactions or freeze/thaw (if used to atomically > perform other commands). > > We should not export low-level block device operations so that > external software can micromanage via QMP. I don't think this is a > good idea bec

[Qemu-devel] [Bug 942659] [NEW] ARM: CORTEX M, PRIMASK does not disable interrupts

2012-02-28 Thread Oleksiy Bondarenko
Public bug reported: qemu version 0.15.1 but the same code is in qemu 1.0 "CPSID I" does not disable interrupts for CORTEX M3 if (interrupt_request & CPU_INTERRUPT_HARD && ((IS_M(env) && env->regs[15] < 0xfff0) || !(env->uncached_cpsr & CP

Re: [Qemu-devel] KVM call agenda for Tuesday 28th

2012-02-28 Thread Stefan Hajnoczi
On Tue, Feb 28, 2012 at 2:47 PM, Paolo Bonzini wrote: > Il 28/02/2012 15:39, Stefan Hajnoczi ha scritto: >> I'm not a fan of transactions or freeze/thaw (if used to atomically >> perform other commands). >> >> We should not export low-level block device operations so that >> external software can

Re: [Qemu-devel] [PATCH 7/8] gtk: add translation support

2012-02-28 Thread Kevin Wolf
Am 27.02.2012 09:32, schrieb Paolo Bonzini: > On 02/27/2012 12:46 AM, Anthony Liguori wrote: >> The de_DE translation is just a placeholder so that I could test the >> infrastructure. > > Here is an it_IT translation that you can use instead. And here's a real de_DE. Kevin # German translation f

[Qemu-devel] [Bug 942659] Re: ARM: CORTEX M, PRIMASK does not disable interrupts

2012-02-28 Thread Peter Maydell
> This change changes the behaviour for non-M-profile cores ...or maybe not: I was confused by the resemblance to that other patch. I still think one-line fixes are unlikely to be the right approach here, though. -- You received this bug notification because you are a member of qemu- devel-ml, w

[Qemu-devel] [Bug 942659] Re: ARM: CORTEX M, PRIMASK does not disable interrupts

2012-02-28 Thread Peter Maydell
This change changes the behaviour for non-M-profile cores, which looks wrong. See discussion in this mailing list thread where a similar patch was suggested: http://lists.gnu.org/archive/html/qemu-devel/2011-06/msg00500.html M profile interrupt handling is known-broken. I'm not accepting any pat

Re: [Qemu-devel] [PULL] VirtFS update

2012-02-28 Thread Anthony Liguori
On 02/26/2012 11:44 AM, Aneesh Kumar K.V wrote: Hi Anthony, Please pull the below VirtFS update -aneesh The following changes since commit 235fe3bfd46b1104575b540d0bc3fdf584030b99: qom: add test tools (2012-02-22 12:18:26 -0600) are available in the git repository at: git://github.co

Re: [Qemu-devel] [PULL] slirp: Fix for requeuing crash & assert on DHCPNAK, cleanups

2012-02-28 Thread Anthony Liguori
On 02/27/2012 09:30 AM, Jan Kiszka wrote: The following changes since commit b4bd0b168e9f4898b98308f4a8a089f647a86d16: audio: Add some fall through comments (2012-02-25 18:16:11 +0400) are available in the git repository at: git://git.kiszka.org/qemu.git queues/slirp Pulled. Thanks. R

[Qemu-devel] [PATCH v5] qemu-ga: Add guest-network-info command

2012-02-28 Thread Michal Privoznik
This command returns an array of: [ifname, hwaddr, [ipaddr, ipaddr_family, prefix] ] for each interface in the system. Currently, only IPv4 and IPv6 are supported. Signed-off-by: Michal Privoznik --- diff to v4: -change return type diff to v3: -use ctpop32() instead of separate count_one_bits

[Qemu-devel] [PATCH RESEND v5 0/6] save/restore on Xen

2012-02-28 Thread Stefano Stabellini
Hi all, this is the fifth version of the Xen save/restore patch series. We have been discussing this issue for quite a while on #qemu and qemu-devel: http://marc.info/?l=qemu-devel&m=132346828427314&w=2 http://marc.info/?l=qemu-devel&m=132377734605464&w=2 Please review the first three patches t

[Qemu-devel] [PATCH RESEND v5 6/6] xen: do not allocate RAM during INMIGRATE runstate

2012-02-28 Thread Stefano Stabellini
From: Anthony PERARD Signed-off-by: Anthony PERARD Signed-off-by: Stefano Stabellini --- xen-all.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/xen-all.c b/xen-all.c index 972cffd..10d53d1 100644 --- a/xen-all.c +++ b/xen-all.c @@ -190,6 +190,14 @@ void xen_r

[Qemu-devel] [PATCH RESEND v5 4/6] xen: record physmap changes to xenstore

2012-02-28 Thread Stefano Stabellini
Write to xenstore any physmap changes so that the hypervisor can be aware of them. Read physmap changes from xenstore on boot. Signed-off-by: Stefano Stabellini --- xen-all.c | 78 - 1 files changed, 77 insertions(+), 1 deletions(-)

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

2012-02-28 Thread Stefano Stabellini
Set runstate to RUN_STATE_INMIGRATE as soon as we can on resume. Signed-off-by: Stefano Stabellini --- vl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/vl.c b/vl.c index 5b2b84c..341775b 100644 --- a/vl.c +++ b/vl.c @@ -3099,6 +3099,7 @@ int main(int argc, char **ar

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

2012-02-28 Thread Stefano Stabellini
There is no need to set the videoram to 0xff in cirrus_reset, because it is the BIOS' job. Signed-off-by: Stefano Stabellini --- hw/cirrus_vga.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c index 4edcb94..afedaa4 100644 --- a/hw/ci

[Qemu-devel] [PATCH RESEND v5 5/6] xen mapcache: check if memory region has moved.

2012-02-28 Thread Stefano Stabellini
From: Anthony PERARD This patch changes the xen_map_cache behavior. Before trying to map a guest addr, mapcache will look into the list of range of address that have been moved (physmap/set_memory). There is currently one memory space like this, the vram, "moved" from were it's allocated to were

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

2012-02-28 Thread Stefano Stabellini
- add an "is_ram" flag to SaveStateEntry; - add an "is_ram" parameter to register_savevm_live; - introduce a "save_devices" monitor command that can be used to save the state of non-ram devices. Signed-off-by: Stefano Stabellini --- block-migration.c |2 +- hmp-commands.hx | 14 +++

Re: [Qemu-devel] Live Block Migration using Mirroring

2012-02-28 Thread Stefan Hajnoczi
On Wed, Feb 22, 2012 at 5:13 PM, Federico Simoncelli wrote: > Step 3 - Mirrored Live Snapshot > === > A mirrored live snapshot is issued using src/hd0snap1 and dst/hd0snap1 as > image files. (Where "<-" stands for "has backing file") > > [src/hd0base] <- [src/hd0snap1]

[Qemu-devel] blockdev operations [was: KVM call agenda for Tuesday 28th]

2012-02-28 Thread Eric Blake
On 02/28/2012 07:58 AM, Stefan Hajnoczi wrote: > On Tue, Feb 28, 2012 at 2:47 PM, Paolo Bonzini wrote: >> Il 28/02/2012 15:39, Stefan Hajnoczi ha scritto: >>> I'm not a fan of transactions or freeze/thaw (if used to atomically >>> perform other commands). >>> >>> We should not export low-level blo

Re: [Qemu-devel] blockdev operations [was: KVM call agenda for Tuesday 28th]

2012-02-28 Thread Paolo Bonzini
Il 28/02/2012 17:07, Eric Blake ha scritto: > { 'enum': 'BlockdevOp', > 'data': [ 'snapshot', 'snapshot-mirror', 'reopen' ] } > { 'type': 'BlockdevAction', > 'data': {'device': 'str', 'op': 'BlockdevOp', >'file': 'str', '*format': 'str', '*reuse': 'bool', >'*mirror': 'st

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

2012-02-28 Thread Anthony PERARD
From: Yuji Shimada This function helps Xen PCI Passthrough device to check for overlap. Signed-off-by: Yuji Shimada Signed-off-by: Anthony PERARD --- hw/pci.c | 50 ++ hw/pci.h |5 + 2 files changed, 55 insertions(+), 0 deletions(-) d

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

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

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

2012-02-28 Thread Anthony PERARD
Hi all, This patch series introduces the PCI passthrough for Xen. First, we have HostPCIDevice that help to access one PCI device of the host. Then, there is an additions in the QEMU code, pci_check_bar_overlap. There are also several change in pci_ids and pci_regs. Last part, but not least, t

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

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

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

2012-02-28 Thread Anthony PERARD
From: Jiang Yunhong A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Jiang Yunhong Signed-off-by: Shan Haitao Signed-off-by: Anthony PERARD --- Makefile.target |1 + hw/apic-msidef.h |

[Qemu-devel] [PATCH 02/11] sdl: remove NULL check, g_malloc0 can't fail

2012-02-28 Thread Gerd Hoffmann
From: Alon Levy Signed-off-by: Alon Levy Signed-off-by: Gerd Hoffmann --- ui/sdl.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/ui/sdl.c b/ui/sdl.c index 6f8091c..f6f711c 100644 --- a/ui/sdl.c +++ b/ui/sdl.c @@ -167,10 +167,6 @@ static PixelFormat sdl_to_qemu_pix

[Qemu-devel] [PULL] spice patch queue

2012-02-28 Thread Gerd Hoffmann
Hi, Here comes the spice patch queue. For the most part this brings the async local rendering (for vnc, sdl and screenshots) work done by Alon. Also a few bug fixes. please pull, Gerd The following changes since commit b4bd0b168e9f4898b98308f4a8a089f647a86d16: audio: Add some fall throug

Re: [Qemu-devel] [PATCH] VMXNET3 paravirtual NIC device implementation

2012-02-28 Thread malc
On Tue, 28 Feb 2012, Yan Vugenfirer wrote: > From: Dmitry Fleytman > > Implementation of VMWare VMXNET3 paravirtual NIC device. > Supports of all the device features including offload capabilties, > VLANs and etc. > The device is tested on different OSes: [..snip..] > @@ -0,0 +1,146 @@ > +/* >

[Qemu-devel] [PATCH 11/11] qxl: properly handle upright and non-shared surfaces

2012-02-28 Thread Gerd Hoffmann
Although qxl creates a shared displaysurface when the qxl surface is upright and doesn't need to be flipped there is no guarantee that the surface doesn't become unshared for some reason. Rename qxl_flip to qxl_blit and fix it to handle both flip and non-flip cases. Signed-off-by: Gerd Hoffmann

[Qemu-devel] [PATCH 09/11] spice: use error_report to report errors

2012-02-28 Thread Gerd Hoffmann
From: Christophe Fergeau Error message reporting during spice startup wasn't consistent, it was done with fprintf(stderr, "") but sometimes the message didn't have a trailing \n. Using error_report make the intent of the message clearer and deal with the final \n for us. Signed-off-by: Gerd Hoff

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

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

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

2012-02-28 Thread Anthony PERARD
From: Allen Kay A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay Signed-off-by: Guy Zana Signed-off-by: Anthony PERARD --- hw/xen_pci_passthrough.c | 10 + hw/xen_pci_passthrough.h |2 + hw/xen

[Qemu-devel] [PATCH 04/11] qxl: require spice >= 0.8.2

2012-02-28 Thread Gerd Hoffmann
From: Alon Levy drop all ifdefs on SPICE_INTERFACE_QXL_MINOR >= 1 as a result, any check for SPICE_SERVER_VERSION that is now always satisfied, and SPICE_INTERFACE_CORE_MINOR >= 3 tests, because 0.8.2 has SPICE_INTERFACE_QXL_MINOR == 1 and SPICE_INTERFACE_CORE_MINOR == 3. Signed-off-by: Alon Lev

[Qemu-devel] [PATCH 07/11] qxl: make qxl_render_update async

2012-02-28 Thread Gerd Hoffmann
From: Alon Levy RHBZ# 747011 Removes the last user of QXL_SYNC when using update drivers that use the _ASYNC io ports. The last user is qxl_render_update, it is called both by qxl_hw_update which is the vga_hw_update_ptr passed to graphic_console_init, and by qxl_hw_screen_dump. At the same ti

Re: [Qemu-devel] virtio-blk performance regression and qemu-kvm

2012-02-28 Thread Stefan Hajnoczi
On Tue, Feb 28, 2012 at 4:39 PM, Martin Mailand wrote: > I could reproduce it and I bisected it down to this commit. > > 12d4536f7d911b6d87a766ad7300482ea663cea2 is the first bad commit > commit 12d4536f7d911b6d87a766ad7300482ea663cea2 > Author: Anthony Liguori > Date:   Mon Aug 22 08:24:58 2011

Re: [Qemu-devel] [PATCH v4] qemu-ga: Add guest-network-info command

2012-02-28 Thread Michael Roth
On Tue, Feb 28, 2012 at 11:22:22AM -0300, Luiz Capitulino wrote: > On Mon, 27 Feb 2012 20:07:28 -0600 > Michael Roth wrote: > > > What about something like this instead: > > > > { 'enum': 'GuestIpAddressType', > > 'data': [ 'ipv4', 'ipv6' ] } > > > > { 'type': 'GuestIpAddress', > > 'data':

Re: [Qemu-devel] Live Block Migration using Mirroring

2012-02-28 Thread Federico Simoncelli
- Original Message - > From: "Stefan Hajnoczi" > To: "Federico Simoncelli" > Cc: qemu-devel@nongnu.org, kw...@redhat.com, mtosa...@redhat.com > Sent: Tuesday, February 28, 2012 4:47:48 PM > Subject: Re: [Qemu-devel] Live Block Migration using Mirroring > > On Wed, Feb 22, 2012 at 5:13 PM,

[Qemu-devel] noob seeking someone, preferably in new york city, to talk shop with

2012-02-28 Thread nweissma
might you know someone who is willing to spend time with a noob in new york city. the person need not live in nyc: skype is excellent. Thanks. /s/ Neal Weissman

[Qemu-devel] [PATCH 03/11] qxl: drop qxl_spice_update_area_async definition

2012-02-28 Thread Gerd Hoffmann
From: Alon Levy It was never used. Introduced in 5ff4e36c804157bd84af43c139f8cd3a59722db9 qxl: async io support using new spice api But not used even then. Signed-off-by: Alon Levy Signed-off-by: Gerd Hoffmann --- hw/qxl.h |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff

[Qemu-devel] [PATCH 10/11] Error out when tls-channel option is used without TLS

2012-02-28 Thread Gerd Hoffmann
From: Christophe Fergeau It's currently possible to setup spice channels using TLS when no TLS port has been specified (ie TLS is disabled). This cannot work, so better to error out in such a situation. Signed-off-by: Gerd Hoffmann --- ui/spice-core.c |8 +++- 1 files changed, 7 insert

[Qemu-devel] [PATCH 05/11] qxl: remove flipped

2012-02-28 Thread Gerd Hoffmann
From: Alon Levy Tested on linux and windows guests. For negative stride, qxl_flip copies directly to vga->ds->surface->data, for positive it's reallocated to share qxl->guest_primary.data Signed-off-by: Alon Levy Signed-off-by: Gerd Hoffmann --- hw/qxl-render.c | 66

Re: [Qemu-devel] Live Block Migration using Mirroring

2012-02-28 Thread Paolo Bonzini
Il 28/02/2012 16:47, Stefan Hajnoczi ha scritto: > At this stage we have dst/hd0snap1 opened with BDRV_O_NO_BACKING. If > it has no backing file and the guest issues a write request that is > smaller than a cluster in the image file, the untouched areas of that > cluster will be populated with zer

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

2012-02-28 Thread Anthony PERARD
From: Allen Kay A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay Signed-off-by: Guy Zana Signed-off-by: Anthony PERARD --- Makefile.target |2 + hw/xen_common.h |3 + hw/xen

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

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

Re: [Qemu-devel] Live Block Migration using Mirroring

2012-02-28 Thread Paolo Bonzini
Il 28/02/2012 18:15, Federico Simoncelli ha scritto: > Thank you for getting this. Being able to have a bogus backing file was > a bonus but it's not really required for the mirrored live block migration. > We can add the support for switching the backing file in the drive-reopen > part. Wait, it'

[Qemu-devel] [PATCH 08/11] qxl: add optinal 64bit vram bar

2012-02-28 Thread Gerd Hoffmann
This patch adds an 64bit pci bar for vram. It is turned off by default. It can be enabled by setting the size of the 64bit bar to be larger than the 32bit bar. Both 32bit and 64bit bar refer to the same memory. Only the first part of the memory is available via 32bit bar. The intention is to al

Re: [Qemu-devel] [PATCH v4] qemu-ga: Add guest-network-info command

2012-02-28 Thread Luiz Capitulino
On Tue, 28 Feb 2012 11:09:38 -0600 Michael Roth wrote: > On Tue, Feb 28, 2012 at 11:22:22AM -0300, Luiz Capitulino wrote: > > On Mon, 27 Feb 2012 20:07:28 -0600 > > Michael Roth wrote: > > > > > What about something like this instead: > > > > > > { 'enum': 'GuestIpAddressType', > > > 'data':

Re: [Qemu-devel] [PATCH v5] qemu-ga: Add guest-network-info command

2012-02-28 Thread Ryan Harper
* Michal Privoznik [2012-02-28 09:38]: > This command returns an array of: > > [ifname, hwaddr, [ipaddr, ipaddr_family, prefix] ] > > for each interface in the system. > Currently, only IPv4 and IPv6 are supported. What about vlans and bonding info? > > Signed-off-by: Michal Privoznik > --

Re: [Qemu-devel] Live Block Migration using Mirroring

2012-02-28 Thread Federico Simoncelli
- Original Message - > From: "Paolo Bonzini" > To: "Federico Simoncelli" > Cc: "Stefan Hajnoczi" , qemu-devel@nongnu.org, > kw...@redhat.com, mtosa...@redhat.com > Sent: Tuesday, February 28, 2012 6:36:57 PM > Subject: Re: [Qemu-devel] Live Block Migration using Mirroring > > Il 28/02/2

Re: [Qemu-devel] [PULL] Memory core space reduction

2012-02-28 Thread Michael S. Tsirkin
On Tue, Feb 28, 2012 at 02:25:42PM +0200, Avi Kivity wrote: > [repost with pull info, brain not yet back up to speed] > > This is the current memory queue (posted as two separate series before > my vacation). When applied, the overhead of 16 bytes/page is reduced to > basically nil. > > Please p

Re: [Qemu-devel] Live Block Migration using Mirroring

2012-02-28 Thread Paolo Bonzini
Il 28/02/2012 18:46, Federico Simoncelli ha scritto: > > > Thank you for getting this. Being able to have a bogus backing file > > > was a bonus but it's not really required for the mirrored live block > > > migration. We can add the support for switching the backing file in the > > > drive-reopen

[Qemu-devel] [PATCH 01/11] qxl: fix spice+sdl no cursor regression

2012-02-28 Thread Gerd Hoffmann
From: Alon Levy regression introduced by 075360945860ad9bdd491921954b383bf762b0e5, v2: lock around qemu_spice_cursor_refresh_unlocked Reported-by: Fabiano Fidêncio Signed-off-by: Alon Levy Signed-off-by: Gerd Hoffmann --- hw/qxl.c |4 ui/spice-display.c | 23 +++

[Qemu-devel] [PATCH 06/11] qxl: introduce QXLCookie

2012-02-28 Thread Gerd Hoffmann
From: Alon Levy Will be used in the next patch. Signed-off-by: Alon Levy Signed-off-by: Gerd Hoffmann --- hw/qxl-render.c|2 +- hw/qxl.c | 61 hw/qxl.h |2 +- ui/spice-display.c | 22 -- u

Re: [Qemu-devel] [PULL] Memory core space reduction

2012-02-28 Thread Anthony Liguori
On 02/28/2012 11:59 AM, Michael S. Tsirkin wrote: On Tue, Feb 28, 2012 at 02:25:42PM +0200, Avi Kivity wrote: [repost with pull info, brain not yet back up to speed] This is the current memory queue (posted as two separate series before my vacation). When applied, the overhead of 16 bytes/page

Re: [Qemu-devel] [PULL] Memory core space reduction

2012-02-28 Thread Avi Kivity
On 02/28/2012 08:13 PM, Anthony Liguori wrote: > > FWIW, I'm processing this PULL request right now and I'm seeing a SEGV > too. The backtrace is a malloc failure in QOM. > How do we reproduce this? -- error compiling committee.c: too many arguments to function

[Qemu-devel] [PATCH] sdl: Add QEMU mascot icon for use with SDL

2012-02-28 Thread Stefan Weil
This is a bitmap file (32x32x4) derived from the official QEMU mascot (which was designed by Benoît Canet). I stripped the text from the SVG to get a nearly square image and converted the result to BMP without any manual optimization. The bitmap is currently used by QEMU's SDL interface and replac

Re: [Qemu-devel] Live Block Migration using Mirroring

2012-02-28 Thread Federico Simoncelli
- Original Message - > From: "Paolo Bonzini" > To: qemu-devel@nongnu.org > Sent: Tuesday, February 28, 2012 7:02:40 PM > Subject: Re: [Qemu-devel] Live Block Migration using Mirroring > > Il 28/02/2012 18:46, Federico Simoncelli ha scritto: > > > > Thank you for getting this. Being able t

Re: [Qemu-devel] [PATCH] sdl: Add QEMU mascot icon for use with SDL

2012-02-28 Thread Stefan Weil
Am 28.02.2012 19:19, schrieb Stefan Weil: This is a bitmap file (32x32x4) derived from the official QEMU mascot (which was designed by Benoît Canet). I stripped the text from the SVG to get a nearly square image and converted the result to BMP without any manual optimization. The bitmap is curre

Re: [Qemu-devel] [PULL] Memory core space reduction

2012-02-28 Thread Anthony Liguori
On 02/28/2012 12:15 PM, Avi Kivity wrote: On 02/28/2012 08:13 PM, Anthony Liguori wrote: FWIW, I'm processing this PULL request right now and I'm seeing a SEGV too. The backtrace is a malloc failure in QOM. How do we reproduce this? It looks like just repeatedly running QEMU with a -devic

Re: [Qemu-devel] [PATCH 1/2] qdev: accept empty string properties

2012-02-28 Thread Gerhard Wiesinger
Works well, Tested-by: Gerhard Wiesinger Ciao, Gerhard -- http://www.wiesinger.com/ On Tue, 28 Feb 2012, Paolo Bonzini wrote: These were stored as NULL due to wrong cut-and-paste from set_pointer. Reported-by: Gerhard Wiesinger Signed-off-by: Paolo Bonzini --- hw/qdev-properties.c |

Re: [Qemu-devel] [PULL] Memory core space reduction

2012-02-28 Thread Anthony Liguori
On 02/28/2012 12:15 PM, Avi Kivity wrote: On 02/28/2012 08:13 PM, Anthony Liguori wrote: FWIW, I'm processing this PULL request right now and I'm seeing a SEGV too. The backtrace is a malloc failure in QOM. How do we reproduce this? The guest never gets to run so I don't think the initrd/

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

2012-02-28 Thread Anthony PERARD
On 28/02/12 15:51, Stefano Stabellini wrote: - add an "is_ram" flag to SaveStateEntry; - add an "is_ram" parameter to register_savevm_live; - introduce a "save_devices" monitor command that can be used to save the state of non-ram devices. Signed-off-by: Stefano Stabellini --- block-migratio

Re: [Qemu-devel] [PULL] Memory core space reduction

2012-02-28 Thread Anthony Liguori
On 02/28/2012 12:15 PM, Avi Kivity wrote: On 02/28/2012 08:13 PM, Anthony Liguori wrote: FWIW, I'm processing this PULL request right now and I'm seeing a SEGV too. The backtrace is a malloc failure in QOM. How do we reproduce this? I don't trust this bisect completely, but here are the r

Re: [Qemu-devel] [PULL] Memory core space reduction

2012-02-28 Thread Avi Kivity
On 02/28/2012 09:14 PM, Anthony Liguori wrote: > On 02/28/2012 12:15 PM, Avi Kivity wrote: >> On 02/28/2012 08:13 PM, Anthony Liguori wrote: >>> >>> FWIW, I'm processing this PULL request right now and I'm seeing a SEGV >>> too. The backtrace is a malloc failure in QOM. >>> >> >> How do we reprodu

Re: [Qemu-devel] [PULL] Memory core space reduction

2012-02-28 Thread Anthony Liguori
On 02/28/2012 01:17 PM, Avi Kivity wrote: On 02/28/2012 09:14 PM, Anthony Liguori wrote: On 02/28/2012 12:15 PM, Avi Kivity wrote: On 02/28/2012 08:13 PM, Anthony Liguori wrote: FWIW, I'm processing this PULL request right now and I'm seeing a SEGV too. The backtrace is a malloc failure in Q

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

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

Re: [Qemu-devel] [PATCH] VMXNET3 paravirtual NIC device implementation

2012-02-28 Thread Yan Vugenfirer
Adding Izik from Ravello. Best regards, Yan. On Tue, Feb 28, 2012 at 6:43 PM, malc wrote: > On Tue, 28 Feb 2012, Yan Vugenfirer wrote: > >> From: Dmitry Fleytman >> >> Implementation of VMWare VMXNET3 paravirtual NIC device. >> Supports of all the device features including offload capabilties,

Re: [Qemu-devel] virtio-blk performance regression and qemu-kvm

2012-02-28 Thread Martin Mailand
Hi, I could reproduce it and I bisected it down to this commit. 12d4536f7d911b6d87a766ad7300482ea663cea2 is the first bad commit commit 12d4536f7d911b6d87a766ad7300482ea663cea2 Author: Anthony Liguori Date: Mon Aug 22 08:24:58 2011 -0500 -martin On 22.02.2012 20:53, Stefan Hajnoczi wrote:

Re: [Qemu-devel] virtio-blk performance regression and qemu-kvm

2012-02-28 Thread Martin Mailand
Hi Stefan, I was bisecting qemu-kvm.git. git remote show origin * remote origin Fetch URL: git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git Push URL: git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git The bisect log is: git bisect start # good: [b8095f24f24e50a7d4be33d8a79474aff3324295]

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

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

Re: [Qemu-devel] [PATCH 1/4] qapi-schema: fix typos and explain 'spice' auth

2012-02-28 Thread Luiz Capitulino
On Fri, 24 Feb 2012 23:22:02 +0200 Alon Levy wrote: > Signed-off-by: Alon Levy > --- > qapi-schema.json | 18 ++ > 1 files changed, 10 insertions(+), 8 deletions(-) > > diff --git a/qapi-schema.json b/qapi-schema.json > index d0b6792..72b17f1 100644 > --- a/qapi-schema.json >

Re: [Qemu-devel] [PATCH] VMXNET3 paravirtual NIC device implementation

2012-02-28 Thread Izik Eidus
On Tue, Feb 28, 2012 at 2:50 PM, Yan Vugenfirer wrote: > Adding Izik from Ravello. > > Best regards, > Yan. > > On Tue, Feb 28, 2012 at 6:43 PM, malc wrote: >> On Tue, 28 Feb 2012, Yan Vugenfirer wrote: >> >>> From: Dmitry Fleytman >>> >>> Implementation of VMWare VMXNET3 paravirtual NIC device.

Re: [Qemu-devel] [PATCH 2/4] qjson.h: include compiler.h for GCC_FMT_ATTR

2012-02-28 Thread Luiz Capitulino
On Fri, 24 Feb 2012 23:22:03 +0200 Alon Levy wrote: > Signed-off-by: Alon Levy Acked-by: Luiz Capitulino Or, I can apply it in my queue if you allow me to cherry pick. > --- > qjson.h |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/qjson.h b/qjson.h > index 6

Re: [Qemu-devel] [PATCH] VMXNET3 paravirtual NIC device implementation

2012-02-28 Thread Daniel P. Berrange
On Tue, Feb 28, 2012 at 02:57:32PM -0500, Izik Eidus wrote: > On Tue, Feb 28, 2012 at 2:50 PM, Yan Vugenfirer > wrote: > > Adding Izik from Ravello. > > > > Best regards, > > Yan. > > > > On Tue, Feb 28, 2012 at 6:43 PM, malc wrote: > >> On Tue, 28 Feb 2012, Yan Vugenfirer wrote: > >> > >>> From

Re: [Qemu-devel] [PATCH 3/4] monitor, console: add QEVENT_SCREEN_DUMP_COMPLETE

2012-02-28 Thread Luiz Capitulino
On Fri, 24 Feb 2012 23:22:04 +0200 Alon Levy wrote: > Signed-off-by: Alon Levy > --- > QMP/qmp-events.txt | 14 ++ > console.c | 18 ++ > console.h |1 + > monitor.c |2 ++ > monitor.h |1 + > 5 files changed, 36 in

Re: [Qemu-devel] [PATCH 4/4] add qmp screendump-async

2012-02-28 Thread Luiz Capitulino
On Fri, 24 Feb 2012 23:22:05 +0200 Alon Levy wrote: > This is an across the board change since I wanted to keep the existing > (good imo) single graphic_console_init callback setter, instead of > introducing a new cb that isn't set by it but instead by a second > initialization function. > > Sig

Re: [Qemu-devel] [PATCH] VMXNET3 paravirtual NIC device implementation

2012-02-28 Thread Izik Eidus
On 02/28/2012 03:01 PM, Daniel P. Berrange wrote: On Tue, Feb 28, 2012 at 02:57:32PM -0500, Izik Eidus wrote: On Tue, Feb 28, 2012 at 2:50 PM, Yan Vugenfirer wrote: Adding Izik from Ravello. Best regards, Yan. On Tue, Feb 28, 2012 at 6:43 PM, malc wrote: On Tue, 28 Feb 2012, Yan Vugenfirer

Re: [Qemu-devel] [PATCH] VMXNET3 paravirtual NIC device implementation

2012-02-28 Thread Izik Eidus
On Tue, Feb 28, 2012 at 3:01 PM, Daniel P. Berrange wrote: > On Tue, Feb 28, 2012 at 02:57:32PM -0500, Izik Eidus wrote: >> On Tue, Feb 28, 2012 at 2:50 PM, Yan Vugenfirer >> wrote: >> > Adding Izik from Ravello. >> > >> > Best regards, >> > Yan. >> > >> > On Tue, Feb 28, 2012 at 6:43 PM, malc

Re: [Qemu-devel] [PATCH 4/4] add qmp screendump-async

2012-02-28 Thread Luiz Capitulino
On Sat, 25 Feb 2012 10:46:07 +0200 Alon Levy wrote: > On Fri, Feb 24, 2012 at 04:40:15PM -0600, Anthony Liguori wrote: > > On 02/24/2012 03:22 PM, Alon Levy wrote: > > >This is an across the board change since I wanted to keep the existing > > >(good imo) single graphic_console_init callback sett

Re: [Qemu-devel] [RFC PATCH v4 00/14] Tracing Improvements, Simpletrace v2

2012-02-28 Thread Lluís Vilanova
Harsh Prateek Bora writes: > This patchset introduces 2 major updates: > 1) Tracetool Improvements (Conversion from shell script to python) > 2) Simpletrace v2 log format (Support for variable args, strings) ping Lluis -- "And it's much the same thing with knowledge, for whenever you learn

Re: [Qemu-devel] [PATCH] qmp: Fix spelling fourty -> forty

2012-02-28 Thread Luiz Capitulino
On Sat, 25 Feb 2012 13:47:10 +0100 Stefan Weil wrote: > This was found by codespell. > > Signed-off-by: Stefan Weil Acked-by: Luiz Capitulino > --- > test-qmp-output-visitor.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/test-qmp-output-visitor.c b/test-

Re: [Qemu-devel] [PATCH 2/4] qjson.h: include compiler.h for GCC_FMT_ATTR

2012-02-28 Thread Alon Levy
On Tue, Feb 28, 2012 at 04:58:46PM -0300, Luiz Capitulino wrote: > On Fri, 24 Feb 2012 23:22:03 +0200 > Alon Levy wrote: > > > Signed-off-by: Alon Levy > > Acked-by: Luiz Capitulino > > Or, I can apply it in my queue if you allow me to cherry pick. > Sure. > > > --- > > qjson.h |1 +

Re: [Qemu-devel] [PATCH 3/4] monitor, console: add QEVENT_SCREEN_DUMP_COMPLETE

2012-02-28 Thread Alon Levy
On Tue, Feb 28, 2012 at 05:01:13PM -0300, Luiz Capitulino wrote: > On Fri, 24 Feb 2012 23:22:04 +0200 > Alon Levy wrote: > > > Signed-off-by: Alon Levy > > --- > > QMP/qmp-events.txt | 14 ++ > > console.c | 18 ++ > > console.h |1 + > > mo

[Qemu-devel] [PATCH v5 0/2] Group Live Snapshots

2012-02-28 Thread Jeff Cody
This patchset adds the ability to take a snapshot of a group of devices, rather than each device individually. Upon failure of any snapshot, all snapshots taken by the command will be abandoned, and the appropriate failure code returned. All the changes from v4 to v5 are in patch 1/2. This differ

[Qemu-devel] [PATCH v5 1/2] qapi: Introduce blockdev-group-snapshot-sync command

2012-02-28 Thread Jeff Cody
This is a QAPI/QMP only command to take a snapshot of a group of devices. This is similar to the blockdev-snapshot-sync command, except blockdev-group-snapshot-sync accepts a list devices, filenames, and formats. It is attempted to keep the snapshot of the group atomic; if the creation or open of

[Qemu-devel] [PATCH v5 2/2] QMP: Add qmp command for blockdev-group-snapshot-sync

2012-02-28 Thread Jeff Cody
This adds the QMP command for blockdev-group-snapshot-sync. It takes an array in as the input, for the argument devlist. The array consists of the following elements: + device:device to snapshot. e.g. "ide-hd0", "virtio0" + snapshot-file: path & file for the snapshot image. e.g. "

[Qemu-devel] [PATCH 10/15] target-ppc: Clean includes

2012-02-28 Thread Stefan Weil
Remove some include statements which are not needed. Acked-by: Alexander Graf Signed-off-by: Stefan Weil --- target-ppc/helper.c|6 -- target-ppc/translate.c |6 -- 2 files changed, 0 insertions(+), 12 deletions(-) diff --git a/target-ppc/helper.c b/target-ppc/helper.c inde

[Qemu-devel] [PATCH 01/15] Remove macro HOST_LONG_SIZE

2012-02-28 Thread Stefan Weil
HOST_LONG_SIZE is simply the size of a pointer value. There is no need for this macro. Signed-off-by: Stefan Weil --- cpu-defs.h |2 -- thunk.h|4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/cpu-defs.h b/cpu-defs.h index 57a709b..4527cbf 100644 --- a/cpu-defs.

[Qemu-devel] [PATCH 03/15] target-arm: Clean includes

2012-02-28 Thread Stefan Weil
Remove some include statements which are not needed. Reviewed-by: Peter Maydell Signed-off-by: Stefan Weil --- target-arm/helper.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/target-arm/helper.c b/target-arm/helper.c index 4929372..abe1c30 100644 --- a/target-ar

[Qemu-devel] [PATCH 09/15] target-mips: Clean includes

2012-02-28 Thread Stefan Weil
Remove some include statements which are not needed. Cc: Aurelien Jarno Signed-off-by: Stefan Weil --- target-mips/translate.c |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/target-mips/translate.c b/target-mips/translate.c index d5b1c76..8361d88 100644 --- a/tar

[Qemu-devel] [PATCH 05/15] target-i386: Clean includes

2012-02-28 Thread Stefan Weil
Remove some include statements which are not needed. Signed-off-by: Stefan Weil --- target-i386/helper.c|6 -- target-i386/op_helper.c |1 - 2 files changed, 0 insertions(+), 7 deletions(-) diff --git a/target-i386/helper.c b/target-i386/helper.c index 2586aff..87c6a8f 100644 --

[Qemu-devel] [PATCH 15/15] Move definition of HOST_LONG_BITS to qemu-common.h

2012-02-28 Thread Stefan Weil
Like the related macro TCG_TARGET_LONG, HOST_LONG_BITS can be determined by the C preprocessor. It is also not used in Makefiles. So there is no need to calculate it in configure, and it can be defined in qemu-common.h. Signed-off-by: Stefan Weil --- configure | 12 qemu-comm

[Qemu-devel] [PATCH 08/15] target-microblaze: Clean includes

2012-02-28 Thread Stefan Weil
The change in cpu.h is needed when HOST_LONG_BITS is defined in qemu-common.h. Signed-off-by: Stefan Weil --- target-microblaze/cpu.h |3 +++ target-microblaze/helper.c|5 - target-microblaze/mmu.c |4 target-microblaze/translate.c |8 4 files ch

Re: [Qemu-devel] [PATCH 2/3] slirp: Fix requeuing of batchq packets in if_start

2012-02-28 Thread Stefan Weil
Am 17.02.2012 16:45, schrieb Jan Kiszka: In case we requeued a packet that was the head of a longer session queue, we failed to restore this ordering. Also, we did not properly deal with changes to Slirp::next_m. Instead of a cumbersome roll back, this fix simply avoids any changes until we know

[Qemu-devel] [PATCH 11/15] target-s390x: Clean includes

2012-02-28 Thread Stefan Weil
The change in cpu.h is needed when HOST_LONG_BITS is defined in qemu-common.h. Signed-off-by: Stefan Weil --- target-s390x/cpu.h |3 +++ target-s390x/helper.c|5 - target-s390x/translate.c |5 - 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/target-

[Qemu-devel] [PATCH 13/15] target-unicore32: Clean includes

2012-02-28 Thread Stefan Weil
The change in cpu.h is needed when HOST_LONG_BITS is defined in qemu-common.h. Signed-off-by: Stefan Weil --- target-unicore32/cpu.h|2 ++ target-unicore32/helper.c |4 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/target-unicore32/cpu.h b/target-unicore32/cpu.h

Re: [Qemu-devel] [PATCH 6/6] kvm: Fix dirty tracking with large kernel page size

2012-02-28 Thread Benjamin Herrenschmidt
On Tue, 2012-02-28 at 14:32 +0200, Avi Kivity wrote: > What if TARGET_PAGE_SIZE > getpagesize()? Or is that impossible? We have yet to encounter such a case. It's not currently possible on power (some old embedded chips could do 1K and 2K page sizes in the TLB iirc but we never supported that in

<    1   2   3   >