Re: [Qemu-devel] Re: [SeaBIOS] SMBIOS strings

2010-06-01 Thread Jes Sorensen
On 06/01/10 07:34, Markus Armbruster wrote: Sebastian Herbszt herb...@gmx.de writes: Gleb Natapov wrote: I don't care much as long as we will not have CPU :. It looks like something that can change after BIOS upgrade, so it is hard to believe Windows will stop working because of this

[Qemu-devel] Re: [PATCH v2] sdl: fix setenv for win32

2010-06-01 Thread Jan Kiszka
TeLeMan wrote: setenv() is not implemented on MinGW, so we have to use putenv(). Signed-off-by: TeLeMan gele...@gmail.com --- sdl.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/sdl.c b/sdl.c index add1148..eac898a 100644 --- a/sdl.c +++ b/sdl.c @@

Re: [Qemu-devel] Re: [PATCH v2] sdl: fix setenv for win32

2010-06-01 Thread Avi Kivity
On 06/01/2010 09:28 AM, Jan Kiszka wrote: TeLeMan wrote: setenv() is not implemented on MinGW, so we have to use putenv(). Signed-off-by: TeLeMangele...@gmail.com --- sdl.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/sdl.c b/sdl.c index

Re: [Qemu-devel] Re: [PATCH 00/14] Block-related fixes and cleanups

2010-06-01 Thread Jes Sorensen
On 05/31/10 11:19, Gerd Hoffmann wrote: On 05/28/10 15:38, Markus Armbruster wrote: I'm working on cleanly separating block device host and guest parts. I'd like to route all this work through Kevin's block tree. This is just preliminaries. Markus Armbruster (14): blockdev: Belatedly

[Qemu-devel] [Bug 588127] Re: qemu fails to recognize host features SSE4.1, SSE4.2

2010-06-01 Thread Jes Sorensen
Tried this on with two versions of QEMU (0.12.50 out of CVS) and qemu- kvm 0.12.1: QEMU emulator version 0.12.50, Copyright (c) 2003-2008 Fabrice Bellard QEMU PC emulator version 0.12.1 (qemu-kvm-devel), Copyright (c) 2003-2008 Fabrice Bellard model name : Intel(R) Xeon(R) CPU

[Qemu-devel] Målstyrt försäljningsarbete

2010-06-01 Thread DokuMera Nyhetsbrev
Om du har problem med att läsa detta e-postmeddelande, klicka här (http://www.anp.se/newsletter/718304/444059437941455D4B7142445C43) för en webb-version. Vårt nyhetsbrev skickas automatiskt till våra kunder och intressenter. Vill du inte ha detta nyhetsbrev framöver, klicka här för att

[Qemu-devel] [Bug 588127] Re: qemu fails to recognize host features SSE4.1, SSE4.2

2010-06-01 Thread fonz
I'm testing as-shipped w/ Fedora 12 and 13. Other flags (+ssse3) seem to work fine. Thanks for taking a look. -- qemu fails to recognize host features SSE4.1, SSE4.2 https://bugs.launchpad.net/bugs/588127 You received this bug notification because you are a member of qemu- devel-ml, which is

Re: [Qemu-devel] [PATCH 2/3] QMP: Introduce commands documentation

2010-06-01 Thread Jan Kiszka
Stefan Hajnoczi wrote: On Mon, May 31, 2010 at 6:43 PM, Luiz Capitulino lcapitul...@redhat.com wrote: Hi Luiz, I'm interested in QMP, have left some feedback. As I get up to speed with QMP my questions and suggestions will hopefully be useful. Apologies in advance if any of my thoughts

[Qemu-devel] Re: [PATCH] virtio-serial: Simplify virtio_serial_load()

2010-06-01 Thread Amit Shah
On (Mon) May 31 2010 [16:19:43], Markus Armbruster wrote: For all i, ports_map[i] is used in and only in the i-th iteration. Replace the dynamic array by a scalar variable. Signed-off-by: Markus Armbruster arm...@redhat.com --- hw/virtio-serial-bus.c | 12 +++- 1 files changed,

Re: [Qemu-devel] [PATCH] ceph/rbd block driver for qemu-kvm (v3)

2010-06-01 Thread Kevin Wolf
Hi Christian, Am 31.05.2010 21:31, schrieb Christian Brunner: Hi Kevin, here is an updated patch for the ceph/rbd driver. I hope that everything is fine now. I'll try to get to give it a final review later this week. In the meantime, I would be happy to see another review by someone else.

[Qemu-devel] [PATCH 1/4] virtio-9p: Add fidtype so that we can do type specific operation

2010-06-01 Thread Aneesh Kumar K.V
We want to add type specific operation during read/write Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- hw/virtio-9p.c | 99 +++- hw/virtio-9p.h | 24 - 2 files changed, 77 insertions(+), 46 deletions(-)

[Qemu-devel] [PATCH 2/4] virtio-9p: Implement TXATTRWALK

2010-06-01 Thread Aneesh Kumar K.V
TXATTRWALK: Descend a ATTR namespace size[4] TXATTRWALK tag[2] fid[4] newfid[4] name[s] size [4] RXATTRWALK tag[2] size[8] txattrwalk gets a fid pointing to xattr. This fid can later be used to get read the xattr value. If name is NULL the fid returned can be used to get the list of extended

[Qemu-devel] [PATCH 3/4] virtio-9p: Implement TXATTRCREATE

2010-06-01 Thread Aneesh Kumar K.V
TXATTRCREATE: Prepare a fid for setting xattr value on a file system object. size[4] TXATTRCREATE tag[2] fid[4] name[s] attr_size[8] flags[4] size[4] RXATTRWALK tag[2] txattrcreate gets a fid pointing to xattr. This fid can later be used to get set the xattr value. flag value is derived from

[Qemu-devel] [PATCH 4/4] virtio-9p: Hide user.virtfs xattr in case of mapped security.

2010-06-01 Thread Aneesh Kumar K.V
With mapped security mode we use user.virtfs namespace is used to store the virtFs related attributes. So hide it from user. Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- hw/virtio-9p-local.c | 73 - 1 files changed, 71

[Qemu-devel] Latest GIT doesn't work with long device names

2010-06-01 Thread Peter Lieven
Hi, I just compiled latest git to work on Bug #585113 . Unfortunately, I can't start the the VMs with the device mappings generated by our multipath setup. cmdline: /usr/bin/qemu-kvm-devel -net none -drive

[Qemu-devel] Re: [[RfC PATCH]] linux fbdev display driver prototype.

2010-06-01 Thread Julian Pidancet
On 05/25/2010 08:11 AM, Gerd Hoffmann wrote: - You should register a Display Allocator and override the create_displaysurface() method like I did in the DirectFB driver. This way you save qemu a data copy. fbdev_render_32() should only be used when the guest framebuffer is not compatible with

Re: [Qemu-devel] Latest GIT doesn't work with long device names

2010-06-01 Thread Kevin Wolf
Am 01.06.2010 12:59, schrieb Peter Lieven: Hi, I just compiled latest git to work on Bug #585113 . Unfortunately, I can't start the the VMs with the device mappings generated by our multipath setup. cmdline: /usr/bin/qemu-kvm-devel -net none -drive

Re: [Qemu-devel] Latest GIT doesn't work with long device names

2010-06-01 Thread Peter Lieven
Kevin Wolf wrote: Am 01.06.2010 12:59, schrieb Peter Lieven: Hi, I just compiled latest git to work on Bug #585113 . Unfortunately, I can't start the the VMs with the device mappings generated by our multipath setup. cmdline: /usr/bin/qemu-kvm-devel -net none -drive

[Qemu-devel] [PATCH] Fix error message in drive_init

2010-06-01 Thread Kevin Wolf
The real error is the return value of bdrv_open. errno might be overwritten or not even set to that value in the first place. Signed-off-by: Kevin Wolf kw...@redhat.com --- vl.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/vl.c b/vl.c index 7f84af8..551138f

Re: [Qemu-devel] [PATCH] Default to cache=writeback

2010-06-01 Thread Alexander Graf
On 26.05.2010, at 21:28, Stefan Hajnoczi wrote: On Wed, May 26, 2010 at 7:13 PM, Alexander Graf ag...@suse.de wrote: In the previous discussion Anthony brought up the fact that cache=writeback is safe enough considering data integrity. If so, I don't see a reason not to use it as

Re: [Qemu-devel] Latest GIT doesn't work with long device names

2010-06-01 Thread Peter Lieven
Kevin Wolf wrote: Am 01.06.2010 12:59, schrieb Peter Lieven: Hi, I just compiled latest git to work on Bug #585113 . Unfortunately, I can't start the the VMs with the device mappings generated by our multipath setup. cmdline: /usr/bin/qemu-kvm-devel -net none -drive

Re: [Qemu-devel] Latest GIT doesn't work with long device names

2010-06-01 Thread Peter Lieven
Kevin Wolf wrote: Am 01.06.2010 12:59, schrieb Peter Lieven: Hi, I just compiled latest git to work on Bug #585113 . Unfortunately, I can't start the the VMs with the device mappings generated by our multipath setup. cmdline: /usr/bin/qemu-kvm-devel -net none -drive

Re: [Qemu-devel] [PATCH] Default to cache=writeback

2010-06-01 Thread Kevin Wolf
Am 01.06.2010 13:31, schrieb Alexander Graf: On 26.05.2010, at 21:28, Stefan Hajnoczi wrote: On Wed, May 26, 2010 at 7:13 PM, Alexander Graf ag...@suse.de wrote: In the previous discussion Anthony brought up the fact that cache=writeback is safe enough considering data integrity. If so,

Re: [Qemu-devel] [PATCH] Default to cache=writeback

2010-06-01 Thread Stefan Hajnoczi
On Tue, Jun 1, 2010 at 12:31 PM, Alexander Graf ag...@suse.de wrote: On 26.05.2010, at 21:28, Stefan Hajnoczi wrote: On Wed, May 26, 2010 at 7:13 PM, Alexander Graf ag...@suse.de wrote: In the previous discussion Anthony brought up the fact that cache=writeback is safe enough considering

[Qemu-devel] [Bug 585113] Re: e1000 irq problems after live migration with qemu-kvm 0.12.4

2010-06-01 Thread Peter Lieven
Update. Testing done with latest GIT. I can confirm that I no longer see irq nobody cared errors into Ubuntu 9.10 and 10.04 64-bit guests, but I run directly into 100% CPU after migration (#584516). if i boot the guest with kernel parameter no-kvmclock or clocksource=acpi_pm the migration

[Qemu-devel] [Bug 584516] Re: opensuse 11.2 guest hangs after live migration with clocksource=kvm-clock

2010-06-01 Thread Peter Lieven
Update: Problem still exists with lastest GIT. Ubuntu 9.10 and 10.04 64-bit guests are also affected. -- opensuse 11.2 guest hangs after live migration with clocksource=kvm-clock https://bugs.launchpad.net/bugs/584516 You received this bug notification because you are a member of qemu-

Re: [SeaBIOS] [Qemu-devel] Re: SMBIOS strings

2010-06-01 Thread Olivier Galibert
On Tue, Jun 01, 2010 at 07:34:33AM +0200, Markus Armbruster wrote: Sebastian Herbszt herb...@gmx.de writes: Gleb Natapov wrote: I don't care much as long as we will not have CPU :. It looks like something that can change after BIOS upgrade, so it is hard to believe Windows will stop

[Qemu-devel] Re: [PATCH] qdev: Reject duplicate and anti-social device IDs

2010-06-01 Thread Luiz Capitulino
On Mon, 31 May 2010 16:13:12 +0200 Markus Armbruster arm...@redhat.com wrote: We need Device IDs to be unique and not contain '/' so device tree nodes can always be unambigously referenced by tree path. We already have some protection against duplicate IDs, but it got holes: * We don't

[Qemu-devel] Re: [PATCH] qdev: Reject duplicate and anti-social device IDs

2010-06-01 Thread Jan Kiszka
Luiz Capitulino wrote: Two bugs that might not be related to this thread: * id member is not mandatory for the device_add command: { execute: device_add, arguments: { driver: e1000 } } {return: {}} Once we enable qtree paths for device_del, this is no longer an issue, devices

[Qemu-devel] disable clocksource=kvm-clock

2010-06-01 Thread Peter Lieven
hi, is it possible to avoid detection of clocksource=kvm_clock in a linux guest by patching the qemu-kvm binary? i would like to be able to avoid a guest detecting kvm-clock until bug #584516 is fixed without modifying all guest systems and reverting that later. thanks, peter

[Qemu-devel] Re: [PATCH] qdev: Reject duplicate and anti-social device IDs

2010-06-01 Thread Luiz Capitulino
On Tue, 01 Jun 2010 15:09:34 +0200 Jan Kiszka jan.kis...@siemens.com wrote: Luiz Capitulino wrote: Two bugs that might not be related to this thread: * id member is not mandatory for the device_add command: { execute: device_add, arguments: { driver: e1000 } } {return:

[Qemu-devel] Re: KVM call agenda for June 1

2010-06-01 Thread Chris Wright
* Chris Wright (chr...@redhat.com) wrote: Please send in any agenda items you are interested in covering. If we have a lack of agenda items I'll cancel the week's call. No, agenda, so this week's call is cancelled. thanks, -chris

[Qemu-devel] Re: [PATCH] qdev: Reject duplicate and anti-social device IDs

2010-06-01 Thread Jan Kiszka
Luiz Capitulino wrote: On Tue, 01 Jun 2010 15:09:34 +0200 Jan Kiszka jan.kis...@siemens.com wrote: Luiz Capitulino wrote: Two bugs that might not be related to this thread: * id member is not mandatory for the device_add command: { execute: device_add, arguments: { driver: e1000 }

Re: [Qemu-devel] [PATCH] virtio-serial: Simplify virtio_serial_load()

2010-06-01 Thread Alon Levy
- Markus Armbruster arm...@redhat.com wrote: For all i, ports_map[i] is used in and only in the i-th iteration. Replace the dynamic array by a scalar variable. Signed-off-by: Markus Armbruster arm...@redhat.com --- hw/virtio-serial-bus.c | 12 +++- 1 files changed, 3

[Qemu-devel] Re: [PATCH] qdev: Reject duplicate and anti-social device IDs

2010-06-01 Thread Avi Kivity
On 06/01/2010 04:19 PM, Jan Kiszka wrote: Main point is whether id is required or not, I think it should be. And I think it might be recommended but should become mandatory (specifically not for HMP). I agree. Making id a mandatory argument will just result in clients being

[Qemu-devel] Re: [PATCH] qdev: Reject duplicate and anti-social device IDs

2010-06-01 Thread Luiz Capitulino
On Tue, 01 Jun 2010 15:19:59 +0200 Jan Kiszka jan.kis...@siemens.com wrote: Luiz Capitulino wrote: On Tue, 01 Jun 2010 15:09:34 +0200 Jan Kiszka jan.kis...@siemens.com wrote: Luiz Capitulino wrote: Two bugs that might not be related to this thread: * id member is not mandatory

[Qemu-devel] Re: disable clocksource=kvm-clock

2010-06-01 Thread Avi Kivity
On 06/01/2010 04:12 PM, Peter Lieven wrote: hi, is it possible to avoid detection of clocksource=kvm_clock in a linux guest by patching the qemu-kvm binary? i would like to be able to avoid a guest detecting kvm-clock until bug #584516 is fixed without modifying all guest systems and

Re: [Qemu-devel] [PATCH 2/3] QMP: Introduce commands documentation

2010-06-01 Thread Luiz Capitulino
On Mon, 31 May 2010 21:22:22 +0100 Stefan Hajnoczi stefa...@gmail.com wrote: On Mon, May 31, 2010 at 6:43 PM, Luiz Capitulino lcapitul...@redhat.com wrote: Hi Luiz, I'm interested in QMP, have left some feedback. As I get up to speed with QMP my questions and suggestions will hopefully

Re: [Qemu-devel] [PATCH 2/3] QMP: Introduce commands documentation

2010-06-01 Thread Luiz Capitulino
On Tue, 01 Jun 2010 09:40:44 +0200 Jan Kiszka jan.kis...@siemens.com wrote: Stefan Hajnoczi wrote: On Mon, May 31, 2010 at 6:43 PM, Luiz Capitulino lcapitul...@redhat.com wrote: Hi Luiz, I'm interested in QMP, have left some feedback. As I get up to speed with QMP my questions and

Re: [Qemu-devel] Re: disable clocksource=kvm-clock

2010-06-01 Thread Peter Lieven
Avi Kivity wrote: On 06/01/2010 04:12 PM, Peter Lieven wrote: hi, is it possible to avoid detection of clocksource=kvm_clock in a linux guest by patching the qemu-kvm binary? i would like to be able to avoid a guest detecting kvm-clock until bug #584516 is fixed without modifying all guest

Re: [Qemu-devel] Re: disable clocksource=kvm-clock

2010-06-01 Thread Avi Kivity
On 06/01/2010 04:57 PM, Peter Lieven wrote: Avi Kivity wrote: On 06/01/2010 04:12 PM, Peter Lieven wrote: hi, is it possible to avoid detection of clocksource=kvm_clock in a linux guest by patching the qemu-kvm binary? i would like to be able to avoid a guest detecting kvm-clock until bug

Re: [Qemu-devel] Re: disable clocksource=kvm-clock

2010-06-01 Thread Peter Lieven
Avi Kivity wrote: On 06/01/2010 04:57 PM, Peter Lieven wrote: Avi Kivity wrote: On 06/01/2010 04:12 PM, Peter Lieven wrote: hi, is it possible to avoid detection of clocksource=kvm_clock in a linux guest by patching the qemu-kvm binary? i would like to be able to avoid a guest detecting

Re: [Qemu-devel] [PATCH 2/3] QMP: Introduce commands documentation

2010-06-01 Thread Stefan Hajnoczi
On Tue, Jun 1, 2010 at 2:49 PM, Luiz Capitulino lcapitul...@redhat.com wrote: On Tue, 01 Jun 2010 09:40:44 +0200 Jan Kiszka jan.kis...@siemens.com wrote: That said, first let us merge this documentation as baseline, then fix such things (including error documentation) on top of it.  Exactly,

Re: [Qemu-devel] Re: disable clocksource=kvm-clock

2010-06-01 Thread Avi Kivity
On 06/01/2010 05:06 PM, Peter Lieven wrote: avi, i do not know whats going on. but if i supply -cpu xxx,-kvmclock the guest still uses kvm-clock, but it seems bug #584516 is not triggered... thats weird... I guess that bug was resolved in qemu-kvm.git. Likely 1a03675db1, but it appears to

[Qemu-devel] qemu:virtio-9p: [RFC] [PATCH 01/02] Send iounit to client for read/write operations

2010-06-01 Thread M. Mohan Kumar
Compute iounit based on the host filesystem block size and pass it to client with open/create response. Also return iounit as statfs's f_bsize for optimal block size transfers. Signed-off-by: M. Mohan Kumar mo...@in.ibm.com --- hw/virtio-9p.c | 56

Re: [Qemu-devel] Re: disable clocksource=kvm-clock

2010-06-01 Thread Peter Lieven
Avi Kivity wrote: On 06/01/2010 05:06 PM, Peter Lieven wrote: avi, i do not know whats going on. but if i supply -cpu xxx,-kvmclock the guest still uses kvm-clock, but it seems bug #584516 is not triggered... thats weird... I guess that bug was resolved in qemu-kvm.git. Likely 1a03675db1,

[Qemu-devel] 9p: [RFC] [PATCH 02/02] Make use of iounit for read/write

2010-06-01 Thread M. Mohan Kumar
Change the v9fs_file_readn function to limit the maximum transfer size based on the iounit instead of msize. Also remove the redundant check for limiting the transfer size in v9fs_file_write. This check is done by p9_client_write. Signed-off-by: M. Mohan Kumar mo...@in.ibm.com ---

[Qemu-devel] [PATCH] propagate write_refcount_block_entries error

2010-06-01 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com --- block/qcow2-refcount.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/block/qcow2-refcount.c b/block/qcow2-refcount.c index 744107c..4226dce 100644 --- a/block/qcow2-refcount.c +++

[Qemu-devel] Re: [PATCH] propagate write_refcount_block_entries error

2010-06-01 Thread Kevin Wolf
Am 01.06.2010 16:11, schrieb Juan Quintela: Signed-off-by: Juan Quintela quint...@redhat.com --- block/qcow2-refcount.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/block/qcow2-refcount.c b/block/qcow2-refcount.c index 744107c..4226dce 100644 ---

[Qemu-devel] guest ATA errors on 'recently loopback built disk image'

2010-06-01 Thread Ico
(I hope this is the right place to go to with my question, if not please refer me to the proper mailing list) short version: kvm reports ATA errors on images which are newly built on a loopback disk image. If the image is copied to another file and booted, no problems occur long version:

Re: [Qemu-devel] Re: [PATCH] qdev: Reject duplicate and anti-social device IDs

2010-06-01 Thread Markus Armbruster
Luiz Capitulino lcapitul...@redhat.com writes: On Mon, 31 May 2010 16:13:12 +0200 Markus Armbruster arm...@redhat.com wrote: We need Device IDs to be unique and not contain '/' so device tree nodes can always be unambigously referenced by tree path. We already have some protection against

Re: [Qemu-devel] Re: [PATCH] qdev: Reject duplicate and anti-social device IDs

2010-06-01 Thread Luiz Capitulino
On Tue, 01 Jun 2010 16:44:24 +0200 Markus Armbruster arm...@redhat.com wrote: Luiz Capitulino lcapitul...@redhat.com writes: On Mon, 31 May 2010 16:13:12 +0200 Markus Armbruster arm...@redhat.com wrote: We need Device IDs to be unique and not contain '/' so device tree nodes can

[Qemu-devel] [PATCHv3 1/2] virtio: support layout with avail ring before idx

2010-06-01 Thread Michael S. Tsirkin
This adds an (unused) option to put available ring before control (avail index, flags), and adds padding between index and flags. This avoids cache line sharing between control and ring, and also makes it possible to extend avail control without incurring extra cache misses. Signed-off-by:

[Qemu-devel] [PATCHv3 0/2] virtio: put last seen used index into ring itself

2010-06-01 Thread Michael S. Tsirkin
Changes from v2: added padding between avail idx and flags, and changed virtio to only publish used index when callbacks are enabled. Here's a rewrite of the original patch with a new layout. I haven't tested it yet so no idea how this performs, but I think this addresses the cache bounce issue

[Qemu-devel] Re: [PATCH 07/14] ide: Change ide_init_drive() to require valid dinfo argument

2010-06-01 Thread Kevin Wolf
Am 28.05.2010 15:38, schrieb Markus Armbruster: IDEState members drive_serial_str and version are now left empty until an actual drive is connected. Before, they got a default value that was overwritten when a drive got connected. Doesn't matter, because they're used only while a drive is

Re: [Qemu-devel] [RFC PATCH v4 3/3] block: add sheepdog driver for distributed storage support

2010-06-01 Thread Chris Krumme
On 05/27/2010 09:44 PM, MORITA Kazutaka wrote: Sheepdog is a distributed storage system for QEMU. It provides highly available block level storage volumes to VMs like Amazon EBS. This patch adds a qemu block driver for Sheepdog. Sheepdog features are: - No node in the cluster is special (no

[Qemu-devel] Re: [PATCHv3 0/2] virtio: put last seen used index into ring itself

2010-06-01 Thread Michael S. Tsirkin
On Tue, Jun 01, 2010 at 05:47:08PM +0300, Michael S. Tsirkin wrote: Changes from v2: added padding between avail idx and flags, and changed virtio to only publish used index when callbacks are enabled. Here's the updated spec patch. Signed-off-by: Michael S. Tsirkin m...@redhat.com -- diff

Re: [Qemu-devel] [PATCH 2/3] QMP: Introduce commands documentation

2010-06-01 Thread Anthony Liguori
On 06/01/2010 02:40 AM, Jan Kiszka wrote: If the QMP cpu command is supported in a QEMU release, can it be phased out later? Better avoid it being rolled out. I agree. All of the per-monitor CPU stuff needs to be eliminated before 0.13 in QMP. Regards, Anthony Liguori That

Re: [Qemu-devel] guest ATA errors on 'recently loopback built disk image'

2010-06-01 Thread Ico
* On 2010-06-01 Ico q...@zevv.nl wrote : short version: kvm reports ATA errors on images which are newly built on a loopback disk image. If the image is copied to another file and booted, no problems occur Extra note: the created image is a sparse file. If I create the disk using dd

[Qemu-devel] [PATCH 4/4] migration: add support to print migration info on incoming side.

2010-06-01 Thread Yoshiaki Tamura
Set current_migration after calling tcp_star_incoming_migration(). On incoming side, we don't have to print remaining rams, so introduce incoming flag to switch messages. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- migration.c | 18 ++ 1 files changed, 14

[Qemu-devel] [PATCH 3/4] arch_init: calculate transferred bytes at ram_load().

2010-06-01 Thread Yoshiaki Tamura
Currently incoming side of migration doesn't know how many bytes are transferred. To print info migrate on incoming side, we need to calculate transferred bytes at ram_load(). Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- arch_init.c |2 ++ 1 files changed, 2

[Qemu-devel] [PATCH 2/4] migration-tcp: threaded tcp incoming migration.

2010-06-01 Thread Yoshiaki Tamura
Create a thread to handle tcp incoming migration when CONFIG_IOTHREAD is enabled. Spawned thread writes it's return status to th_fds[1] before exit, and main thread joins and reads it. In tcp_start_incoming_migration(), allocate FdMigrationState and return MigrationState to let migration to

[Qemu-devel] [PATCH 0/4] Threaded tcp incoming migration.

2010-06-01 Thread Yoshiaki Tamura
Hi, This series add threaded tcp incoming migration. Currently, tcp migration on incoming side is blocked when outgoing has started on the remote side, and you can't do anything. With this series you can get info of incoming migration by calling info migrate like on outgoing side. Threaded tcp

[Qemu-devel] [PATCH 1/4] qemu-thread: add qemu_thread_join().

2010-06-01 Thread Yoshiaki Tamura
Add missing function to join created thread. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- qemu-thread.c |9 + qemu-thread.h |1 + 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/qemu-thread.c b/qemu-thread.c index afc9933..21953cd 100644 ---

[Qemu-devel] Re: [PATCH 0/4] Threaded tcp incoming migration.

2010-06-01 Thread Anthony Liguori
On 06/01/2010 10:40 AM, Yoshiaki Tamura wrote: Hi, This series add threaded tcp incoming migration. Currently, tcp migration on incoming side is blocked when outgoing has started on the remote side, and you can't do anything. With this series you can get info of incoming migration by calling

[Qemu-devel] Re: [PATCH 2/4] migration-tcp: threaded tcp incoming migration.

2010-06-01 Thread Anthony Liguori
On 06/01/2010 10:40 AM, Yoshiaki Tamura wrote: Create a thread to handle tcp incoming migration when CONFIG_IOTHREAD is enabled. Spawned thread writes it's return status to th_fds[1] before exit, and main thread joins and reads it. In tcp_start_incoming_migration(), allocate FdMigrationState

[Qemu-devel] Re: [PATCH 2/3] QMP: Introduce commands documentation

2010-06-01 Thread Jan Kiszka
Luiz Capitulino wrote: From: Jan Kiszka jan.kis...@siemens.com One of the most important missing feature in QMP today is its supported commands documentation. The plan is to make it part of self-description support, however self-description is a big task we have been postponing for a

Re: [Qemu-devel] Re: [PATCH 0/4] Threaded tcp incoming migration.

2010-06-01 Thread Yoshiaki Tamura
2010/6/2 Anthony Liguori aligu...@linux.vnet.ibm.com: On 06/01/2010 10:40 AM, Yoshiaki Tamura wrote: Hi, This series add threaded tcp incoming migration.  Currently, tcp migration on incoming side is blocked when outgoing has started on the remote side, and you can't do anything.  With

Re: [Qemu-devel] Re: [PATCH 0/4] Threaded tcp incoming migration.

2010-06-01 Thread Anthony Liguori
On 06/01/2010 11:18 AM, Yoshiaki Tamura wrote: 2010/6/2 Anthony Liguorialigu...@linux.vnet.ibm.com: On 06/01/2010 10:40 AM, Yoshiaki Tamura wrote: Hi, This series add threaded tcp incoming migration. Currently, tcp migration on incoming side is blocked when outgoing has started on

Re: [Qemu-devel] Re: [PATCH 2/4] migration-tcp: threaded tcp incoming migration.

2010-06-01 Thread Anthony Liguori
On 06/01/2010 11:23 AM, Yoshiaki Tamura wrote: 2010/6/2 Anthony Liguorialigu...@linux.vnet.ibm.com: On 06/01/2010 10:40 AM, Yoshiaki Tamura wrote: Create a thread to handle tcp incoming migration when CONFIG_IOTHREAD is enabled. Spawned thread writes it's return status to th_fds[1]

Re: [Qemu-devel] Re: [PATCH 2/4] migration-tcp: threaded tcp incoming migration.

2010-06-01 Thread Yoshiaki Tamura
2010/6/2 Anthony Liguori aligu...@linux.vnet.ibm.com: On 06/01/2010 10:40 AM, Yoshiaki Tamura wrote: Create a thread to handle tcp incoming migration when CONFIG_IOTHREAD is enabled.  Spawned thread writes it's return status to th_fds[1] before exit, and main thread joins and reads it.  In

Re: [Qemu-devel] Re: [PATCH 0/4] Threaded tcp incoming migration.

2010-06-01 Thread Yoshiaki Tamura
2010/6/2 Anthony Liguori aligu...@linux.vnet.ibm.com: On 06/01/2010 11:18 AM, Yoshiaki Tamura wrote: 2010/6/2 Anthony Liguorialigu...@linux.vnet.ibm.com: On 06/01/2010 10:40 AM, Yoshiaki Tamura wrote: Hi, This series add threaded tcp incoming migration.  Currently, tcp migration on

Re: [Qemu-devel] Re: [PATCH 2/4] migration-tcp: threaded tcp incoming migration.

2010-06-01 Thread Yoshiaki Tamura
2010/6/2 Anthony Liguori aligu...@linux.vnet.ibm.com: On 06/01/2010 11:23 AM, Yoshiaki Tamura wrote: 2010/6/2 Anthony Liguorialigu...@linux.vnet.ibm.com: On 06/01/2010 10:40 AM, Yoshiaki Tamura wrote: Create a thread to handle tcp incoming migration when CONFIG_IOTHREAD is enabled.  

[Qemu-devel] [PATCH] block: Assume raw for drives without media

2010-06-01 Thread Kevin Wolf
qemu -cdrom /dev/cdrom with an empty CD-ROM drive doesn't work any more because we try to guess the format and when this fails (because there is no medium) we exit with an error message. This patch should restore the old behaviour by assuming raw format for such drives. Signed-off-by: Kevin Wolf

Re: [Qemu-devel] Re: [PULL] pci, vhost fixes

2010-06-01 Thread Blue Swirl
On Tue, Jun 1, 2010 at 5:32 AM, Markus Armbruster arm...@redhat.com wrote: Blue Swirl blauwir...@gmail.com writes: On Mon, May 31, 2010 at 1:35 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, May 31, 2010 at 02:51:26PM +0200, Paolo Bonzini wrote: On 05/30/2010 08:19 PM, Blue Swirl

Re: [Qemu-devel] [PATCH] block: Assume raw for drives without media

2010-06-01 Thread Nicholas A. Bellinger
On Tue, 2010-06-01 at 18:50 +0200, Kevin Wolf wrote: qemu -cdrom /dev/cdrom with an empty CD-ROM drive doesn't work any more because we try to guess the format and when this fails (because there is no medium) we exit with an error message. This patch should restore the old behaviour by

Re: [Qemu-devel] [PATCH -V4 2/7] virtio-9p: Rearrange fileop structures

2010-06-01 Thread Aneesh Kumar K.V
On Wed, May 26, 2010 at 04:21:41PM -0700, Venkateswararao Jujjuri (JV) wrote: Signed-off-by: Venkateswararao Jujjuri jv...@linux.vnet.ibm.com --- hw/virtio-9p.c | 185 ++-- hw/virtio-9p.h | 92 2 files

Re: [Qemu-devel] [PATCH -V4 1/7] virtio-9p: Introduces an option to specify the security model.

2010-06-01 Thread Aneesh Kumar K.V
On Wed, May 26, 2010 at 04:21:40PM -0700, Venkateswararao Jujjuri (JV) wrote: The new option is: -fsdev fstype,id=myid,path=/share_path/,security_model=[mapped|passthrough] -virtfs fstype,path=/share_path/,security_model=[mapped|passthrough],mnt_tag=tag In the case of mapped security

[Qemu-devel] Re: [PATCH 2/3] QMP: Introduce commands documentation

2010-06-01 Thread Luiz Capitulino
On Tue, 01 Jun 2010 18:10:26 +0200 Jan Kiszka jan.kis...@siemens.com wrote: Luiz Capitulino wrote: From: Jan Kiszka jan.kis...@siemens.com One of the most important missing feature in QMP today is its supported commands documentation. The plan is to make it part of self-description

Re: [Qemu-devel] [PATCH -V4 3/7] virtio-9p: modify create/open2 and mkdir for new security model.

2010-06-01 Thread Aneesh Kumar K.V
On Wed, May 26, 2010 at 04:21:42PM -0700, Venkateswararao Jujjuri (JV) wrote: Add required infrastructure and modify create/open2 and mkdir per the new security model. Signed-off-by: Venkateswararao Jujjuri jv...@linux.vnet.ibm.com --- hw/file-op-9p.h | 23 +++-

Re: [Qemu-devel] [PATCH -V4 7/7] virtio-9p: Implemented security model for chown and chgrp.

2010-06-01 Thread Aneesh Kumar K.V
On Wed, May 26, 2010 at 04:21:46PM -0700, Venkateswararao Jujjuri (JV) wrote: Signed-off-by: Venkateswararao Jujjuri jv...@linux.vnet.ibm.com --- hw/file-op-9p.h |4 ++-- hw/virtio-9p-local.c | 18 ++ hw/virtio-9p.c | 15 --- 3 files changed,

[Qemu-devel] Re: [PATCH 2/3] QMP: Introduce commands documentation

2010-06-01 Thread Jan Kiszka
Luiz Capitulino wrote: On Tue, 01 Jun 2010 18:10:26 +0200 Jan Kiszka jan.kis...@siemens.com wrote: Luiz Capitulino wrote: From: Jan Kiszka jan.kis...@siemens.com One of the most important missing feature in QMP today is its supported commands documentation. The plan is to make it part

[Qemu-devel] Re: [PATCH] sparc32 esp fix spurious interrupts in chip reset

2010-06-01 Thread Blue Swirl
On Sun, May 30, 2010 at 10:35 PM, Artyom Tarasenko atar4q...@googlemail.com wrote: lower interrupt during chip reset. Otherwise the ESP_RSTAT register may get out of sync with the IRQ line status. This effect became visible after commit 65899fe3 Hard reset handlers should not touch qemu_irqs,

[Qemu-devel] [PATCH] x86: svm: Always clear event_inj on vmexit

2010-06-01 Thread Jan Kiszka
We currently only clear SVM_EVTINJ_VALID after successful interrupt delivery. This apparently does not match real hardware which clears the whole event_inj field on every vmexit, including unsuccessful interrupt delivery. Reported-by: Erik van der Kouwe vdko...@cs.vu.nl Signed-off-by: Jan Kiszka

Re: [Qemu-devel] Re: [RFT][PATCH 07/15] qemu_irq: Add IRQ handlers with delivery feedback

2010-06-01 Thread Blue Swirl
On Mon, May 31, 2010 at 5:19 AM, Gleb Natapov g...@redhat.com wrote: On Sun, May 30, 2010 at 08:21:30PM +, Blue Swirl wrote: On Sun, May 30, 2010 at 8:07 PM, Gleb Natapov g...@redhat.com wrote: On Sun, May 30, 2010 at 07:37:59PM +, Blue Swirl wrote: On Sun, May 30, 2010 at 1:49 PM,

[Qemu-devel] [PATCH v2 1/2] early set current_machine

2010-06-01 Thread Glauber Costa
this way, the machine_init function itself can know which machine is current in use, not only the late init code. Signed-off-by: Glauber Costa glom...@redhat.com --- vl.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/vl.c b/vl.c index 96838f8..7a8b20b 100644 ---

[Qemu-devel] [PATCH v2 2/2] basic machine opts framework

2010-06-01 Thread Glauber Costa
This patch adds initial support for the -machine option, that allows command line specification of machine attributes (always relying on safe defaults). Besides its value per-se, it is the saner way we found to allow for enabling/disabling of kvm's in-kernel irqchip. A machine with

Re: [Qemu-devel] Re: [PATCH 2/3] QMP: Introduce commands documentation

2010-06-01 Thread Anthony Liguori
On 06/01/2010 12:39 PM, Jan Kiszka wrote: Oh, it's indeed a local issue. Likely our corporate mail server. Nice... Sorry for the noise! Jan, I believe you're okay with the current state of this series, yes? I'd like to apply these ASAP so we can start formal spec review. Regards,

[Qemu-devel] [PATCH v2 0/2] basic machine opts framework

2010-06-01 Thread Glauber Costa
Hello, This is a resent (rebased) of an old patch set of mine, I sent some time ago. With that, we should have all the needed infrastructure to select the in-kernel irqchip for KVM. Glauber Costa (2): early set current_machine basic machine opts framework hw/boards.h | 10 +

Re: [Qemu-devel] Re: [PATCH 2/3] QMP: Introduce commands documentation

2010-06-01 Thread Jan Kiszka
Anthony Liguori wrote: On 06/01/2010 12:39 PM, Jan Kiszka wrote: Oh, it's indeed a local issue. Likely our corporate mail server. Nice... Sorry for the noise! Jan, I believe you're okay with the current state of this series, yes? Yes, of course! I'd like to apply these ASAP so we

Re: [Qemu-devel] [PATCH v3 01/12] Revert vnc: set the right prefered encoding

2010-06-01 Thread Anthony Liguori
On 05/19/2010 02:24 AM, Corentin Chary wrote: This patch was wrong, because the loop was already reversed, so the first encoding was correctly set at the end of the loopp. This reverts commit 14eb8b6829ad9dee7035de729e083844a425f274. Signed-off-by: Corentin Charycorenti...@iksaif.net

Re: [Qemu-devel] [PATCH] virtio-serial-bus: fix ports_map allocation on init

2010-06-01 Thread Anthony Liguori
On 05/19/2010 04:31 AM, Amit Shah wrote: From: Alon Levyal...@redhat.com Fix for too small allocation to ports_map Signed-off-by: Alon Levyal...@redhat.com Signed-off-by: Amit Shahamit.s...@redhat.com Applied. Thanks. Regards, Anthony Liguori --- hw/virtio-serial-bus.c |3 ++-

Re: [Qemu-devel] [PATCH] Add dependency of JSON unit tests on config-host.h

2010-06-01 Thread Anthony Liguori
On 05/20/2010 02:18 AM, Jan Kiszka wrote: From: Jan Kiszkajan.kis...@siemens.com Signed-off-by: Jan Kiszkajan.kis...@siemens.com Applied. Thanks. Regards, Anthony Liguori --- Makefile |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile

Re: [Qemu-devel] [PATCH] check for active_console before using it

2010-06-01 Thread Anthony Liguori
On 05/20/2010 08:23 AM, Gerd Hoffmann wrote: Other vga_hw_* functions do the same. Fixes a segmentation fault. Trigger: boot with -nodefaults, then connect via vnc. Signed-off-by: Gerd Hoffmannkra...@redhat.com Applied. Thanks. Regards, Anthony Liguori --- console.c |2 +- 1

Re: [Qemu-devel] Re: [RFT][PATCH 07/15] qemu_irq: Add IRQ handlers with delivery feedback

2010-06-01 Thread Gleb Natapov
On Tue, Jun 01, 2010 at 06:00:20PM +, Blue Swirl wrote: Looks like irr in apic is never cleared. Probably bug in userspace apic emulation. I'll look into it. Try to route interrupt via APIC (not ExtInt), or use qemu-kvm with in kernel irq chip. With APIC you mean Fixed? Then

Re: [Qemu-devel] [PATCH] resent: x86/cpuid: Add kvm32 CPU model

2010-06-01 Thread Anthony Liguori
On 05/21/2010 02:50 AM, Andre Przywara wrote: Create a kvm32 CPU model that describes a least common denominator for KVM capable guest CPUs. Useful for migration purposes. Signed-off-by: Andre Przywaraandre.przyw...@amd.com Applied. Thanks. Regards, Anthony Liguori ---

Re: [Qemu-devel] [PATCH] Add support for depth 15 to qemu_default_pixelformat()

2010-06-01 Thread Anthony Liguori
On 05/21/2010 04:59 AM, Gerd Hoffmann wrote: Makes qemu_default_pixelformat(15) return pixelformat filled for 15 bit color depth (16 bpp, 5 bits for red,green,blue each, 1 bit unused). Signed-off-by: Gerd Hoffmannkra...@redhat.com Applied. Thanks. Regards, Anthony Liguori ---

[Qemu-devel] Re: [PATCH 07/14] ide: Change ide_init_drive() to require valid dinfo argument

2010-06-01 Thread Markus Armbruster
Kevin Wolf kw...@redhat.com writes: Am 28.05.2010 15:38, schrieb Markus Armbruster: IDEState members drive_serial_str and version are now left empty until an actual drive is connected. Before, they got a default value that was overwritten when a drive got connected. Doesn't matter, because

Re: [Qemu-devel] Re: [PATCH] qdev: Reject duplicate and anti-social device IDs

2010-06-01 Thread Markus Armbruster
Luiz Capitulino lcapitul...@redhat.com writes: On Tue, 01 Jun 2010 16:44:24 +0200 Markus Armbruster arm...@redhat.com wrote: Luiz Capitulino lcapitul...@redhat.com writes: On Mon, 31 May 2010 16:13:12 +0200 Markus Armbruster arm...@redhat.com wrote: We need Device IDs to be unique

Re: [Qemu-devel] [PATCH 1/5] vnc: factor out vnc_desktop_resize()

2010-06-01 Thread Anthony Liguori
On 05/25/2010 11:25 AM, Gerd Hoffmann wrote: Signed-off-by: Gerd Hoffmannkra...@redhat.com Applied all. Thanks. Regards, Anthony Liguori --- vnc.c | 24 1 files changed, 16 insertions(+), 8 deletions(-) diff --git a/vnc.c b/vnc.c index 11ae3e5..aaebe24

  1   2   >