Re: [Qemu-devel] Re: [libvirt] Libvirt debug API

2010-04-24 Thread Anthony Liguori
On 04/24/2010 04:46 AM, Avi Kivity wrote: On 04/23/2010 09:29 PM, Anthony Liguori wrote: Maybe. We'll still have issues. For example, sVirt: if a QMP command names a labeled resource, the non-libvirt user will have no way of knowing how to label it. This is orthogonal to QMP and has to do

Re: [Qemu-devel] [PATCH 26/26] block: Free iovec arrays allocated by multiwrite_merge()

2010-04-24 Thread Aurelien Jarno
On Fri, Apr 23, 2010 at 03:22:14PM -0500, Ryan Harper wrote: > * Kevin Wolf [2010-04-23 11:29]: > > From: Stefan Hajnoczi > > > > A new iovec array is allocated when creating a merged write request. > > This patch ensures that the iovec array is deleted in addition to its > > qiov owner. > > >

Re: [Qemu-devel] Help getting an qemu-alpha environment to work

2010-04-24 Thread Richard Henderson
On 04/24/2010 08:51 AM, q...@zensonic.dk wrote: > I was a bit surprised not being greeted with "hello world", so I ran: > > $ ../../alpha-linux-user/qemu-alpha -strace hello-alpha > 17682 write(1,0,536871368) = -1 errno=14 (Bad address) > 17682 exit(0) There's a problem with the current implemen

[Qemu-devel] Re: [PATCH] linux-user: Remove ELFLOAD32.

2010-04-24 Thread Richard Henderson
On 04/23/2010 11:36 AM, Blue Swirl wrote: > On 4/23/10, Richard Henderson wrote: >> The ABI-specific types used by linux_binprm and image_info >> are different after forcing TARGET_ABI32 on. Which means >> that the parameters that load_elf_binary_multi sees are not >> those that loader_exec pa

[Qemu-devel] [PATCH] Move 16k limitation in request size for host devices from ehci to usb-linux

2010-04-24 Thread David Ahern
Update usb-linux to handle maximum of 16k transfers. The 16k limit is imposed by USBFS. EHCI allows up to 20k per request. USBFS cannot be increased to 20k due to constraints on memory use (wants contiguous memory in allocations that are powers of 2). This change breaks large requests from a host

[Qemu-devel] [PATCH] Changes to usb-linux to conform to coding style

2010-04-24 Thread David Ahern
Signed-off-by: David Ahern --- usb-linux.c | 374 +++ 1 files changed, 224 insertions(+), 150 deletions(-) diff --git a/usb-linux.c b/usb-linux.c index d0d7cff..b3d6b28 100644 --- a/usb-linux.c +++ b/usb-linux.c @@ -105,9 +105,9 @@ enum {

[Qemu-devel] Help getting an qemu-alpha environment to work

2010-04-24 Thread qemu
Hi There I am new to qemu development but wanted to give a hand with the alpha port. Unfortinuatly it is not that easy to get the initial development environment up and running. So I ask you for help I downloaded qemu 0.12.50 using git. That compiled cleanly on ubuntu 9.10, including qemu-alpha

Re: [Qemu-devel] Re: Bug#573439: qemu-kvm: fail to set hdd serial number

2010-04-24 Thread Andreas Färber
Am 22.04.2010 um 11:40 schrieb Michael Tokarev: 11.03.2010 18:34, Michael Tokarev wrote: [] On version 0.12.3, -drive serial=XXX option does not work. Below patch fixes it. 'serial' is pointer, not array. --- qemu-kvm-0.12.3+dfsg/vl.c 2010-02-26 11:34:00.0 +0900 +++ qemu-kvm-0.12.3+

[Qemu-devel] [PATCH] Fix the RARP protocol ID

2010-04-24 Thread Stefan Berger
The packet(s) sent out after migration are supposed to be RAPR type of packets. If they are supposed to go anywhere useful, the RAPR ethernet identifier needs to be fix. Also see http://www.iana.org/assignments/ethernet-numbers for 0x8035 for RARP. Signed-off-by: Stefan Berger --- savevm.c |

Re: [Qemu-devel] [PATCH] target-ppc: exception model of 603e inherits from 603

2010-04-24 Thread Andreas Färber
Am 23.04.2010 um 11:44 schrieb Thomas Monjalon: From: Thomas Monjalon It appears that the exception handling of 603e is the same as 603. So it could be removed safely. Are you referring to some ppc manual or to the current code base? Andreas

Re: [Qemu-devel] Re: [libvirt] Libvirt debug API

2010-04-24 Thread Avi Kivity
On 04/23/2010 09:29 PM, Anthony Liguori wrote: Maybe. We'll still have issues. For example, sVirt: if a QMP command names a labeled resource, the non-libvirt user will have no way of knowing how to label it. This is orthogonal to QMP and has to do strictly with how libvirt prepares a resou

[Qemu-devel] Re: [PATCH v4] Shared memory uio_pci driver

2010-04-24 Thread Avi Kivity
On 04/23/2010 08:45 PM, Cam Macdonell wrote: On Mon, Apr 12, 2010 at 2:57 PM, Avi Kivity wrote: There is work now to bring msi to the generic pci 2.3 driver, perhaps we can use that instead. From a quick look it looks fine. I'd be interested to follow this development. I can't fin

Re: [Qemu-devel] [PATCH 2/2] VirtIO RNG

2010-04-24 Thread Ian Molton
On 23/04/10 18:32, Jamie Lokier wrote: Ian Molton wrote: You can configure any chardev to be a tcp client. I never do that though as I find it much more convenient to configure it as server. Perhaps thats because chardev clients are nearly useless right now because they just die if the connect

Re: [Qemu-devel] [PATCH 2/2] VirtIO RNG

2010-04-24 Thread Ian Molton
On 24/04/10 02:37, Jamie Lokier wrote: Ian Molton wrote: Jamie Lokier wrote: First of all: Why are your egd daemons with open connections dying anyway? Buggy egd? No, they aren't buggy. but occasionally, the sysadmin of said server farms may want to, you know, update the daemon? Many daemo

[Qemu-devel] [PATCH 1/2][qemu-iotests] explicitly use bash interpreter

2010-04-24 Thread Stefan Hajnoczi
The tests use bash language features like 'let', which aren't supported by /bin/sh on systems that use a conservative shell like dash. This patch changes the interpreter to /bin/bash. Signed-off-by: Stefan Hajnoczi --- v2: Fixed comment about dash's support for the 'local' command. Thanks Jamie

[Qemu-devel] [PATCH 2/2][qemu-iotests] test bdrv_truncate()

2010-04-24 Thread Stefan Hajnoczi
This patch adds an image resize grow test to ensure that existing data is not lost during grow and new space is zeroed. Signed-off-by: Stefan Hajnoczi --- 025 | 73 +++ 025.out | 25 + group |1 + 3 fil

[Qemu-devel] [PATCH 1/2] qemu-img: Add 'resize' command to grow/shrink disk images

2010-04-24 Thread Stefan Hajnoczi
This patch adds a 'resize' command to grow/shrink disk images. This allows changing the size of disk images without copying to a new image file. Currently only raw files support resize. Signed-off-by: Stefan Hajnoczi --- This applies to kevin/block. I am also sending a qemu-iotests patch to te

[Qemu-devel] [PATCH 2/2] qcow2: Implement bdrv_truncate() for growing images

2010-04-24 Thread Stefan Hajnoczi
This patch adds the ability to grow qcow2 images in-place using bdrv_truncate(). This enables qemu-img resize command support for qcow2. Snapshots are not supported and bdrv_truncate() will return -ENOTSUP. The notion of resizing an image with snapshots could lead to confusion: users may expect s

[Qemu-devel] Re: [uq/master patch 2/5] kvm: add logging count to slots

2010-04-24 Thread Jan Kiszka
Marcelo Tosatti wrote: > Otherwise there is no way to differentiate between global and slot > specific logging, so for example > > vga dirty log start > migration start > migration fail > > Disables dirty logging for the vga slot. This is not true (unless there is a bug): Migration logging is