[Qemu-devel] [PATCH][RESEND] char: Flush read buffer in mux_chr_can_read

2010-06-02 Thread Jan Kiszka
From: Jan Kiszka Move the buffer flush from mux_chr_read to mux_chr_can_read. While the latter is called periodically, the former will only be invoked when new characters arrive at the back-end. This caused problems to front-end drivers whenever they were unable to read data immediately, e.g. vir

[Qemu-devel] [PATCH] hxtool: Fix line number reporting on SQMP/EQMP errors

2010-06-02 Thread Jan Kiszka
From: Jan Kiszka Signed-off-by: Jan Kiszka --- hxtool |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hxtool b/hxtool index d499dc0..7ca83ed 100644 --- a/hxtool +++ b/hxtool @@ -59,6 +59,7 @@ hxtoqmp() { IFS= flag=0 +line=1 while read -r str; do

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

2010-06-02 Thread Jan Kiszka
Glauber Costa wrote: > 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. >

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

2010-06-02 Thread Erik van der Kouwe
Hi, Sorry, can't follow this ATM. But maybe you mean this: there is indeed a problem with removing the clearance of event_inj.invalid as it may be later on transferred into exit_int_info. And if we succeed with injecting the event, that field must not remaind valid. Correct. OK, here is v2:

Re: [Qemu-devel] [PATCH 3/9] QMP: First half of the new argument checking code

2010-06-02 Thread Markus Armbruster
There's more... Luiz Capitulino writes: > This commit introduces the first half of qmp_check_client_args(), > which is the new client argument checker. > > It's introduced on top of the existing code, so that there are > no regressions during the transition. > > It works this way: the command's

Re: [Qemu-devel] [PATCH 4/9] QMP: Second half of the new argument checking code

2010-06-02 Thread Markus Armbruster
Luiz Capitulino writes: > This commit introduces check_client_args_type(), which is > called by qmp_check_client_args() and complements the > previous commit. > > Now the new client's argument checker code is capable of > doing type checking and detecting unknown arguments. > > It works this way:

Re: [Qemu-devel] [PATCH 7/9] QError: Introduce QERR_QMP_BAD_INPUT_OBJECT_MEMBER

2010-06-02 Thread Markus Armbruster
Luiz Capitulino writes: > Signed-off-by: Luiz Capitulino > --- > qerror.c |4 > qerror.h |3 +++ > 2 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/qerror.c b/qerror.c > index 44d0bf8..b26224e 100644 > --- a/qerror.c > +++ b/qerror.c > @@ -177,6 +177,10 @@ static c

Re: [Qemu-devel] [PATCH 8/9] QMP: Introduce qmp_check_input_obj()

2010-06-02 Thread Markus Armbruster
Luiz Capitulino writes: > This is similar to qmp_check_client_args(), but checks if > the input object follows the specification (QMP/qmp-spec.txt > section 2.3). > > As we're limited to three keys, the work here is quite simple: > we iterate over the input object, each time checking if the > giv

Re: [Qemu-devel] [PATCH 0/9]: QMP: Replace client argument checker

2010-06-02 Thread Markus Armbruster
Luiz Capitulino writes: > Current QMP's client argument checker implementation is more complex than it > should be and has a flaw: it ignores unknown arguments. > > This series solves both problems by introducing a new, simple and > ultra-poweful > argument checker. This wasn't trivial to get ri

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

2010-06-02 Thread Christian Brunner
Hi Kevin, 2010/6/1 Kevin Wolf : > Do you have some specific tests for the driver or should we extend > qemu-iotests to work with protocols and use only that? Right now I don't have any specific tests, but I'll take a look at qemu-iotests soon. Christian

[Qemu-devel] Re: [PATCH] virtio-blk: assign a default serial number if none provided

2010-06-02 Thread Michael S. Tsirkin
On Tue, Jun 01, 2010 at 08:48:54PM -0500, Ryan Harper wrote: > This patch applies on-top of John's virtio-blk serial patches. > > Generate default serial numbers for virtio drives based on DriveInfo.unit > which is > incremented for each additional virtio-blk device. This provides a > per-virtio

[Qemu-devel] [PATCH] virtio-net: stop vhost backend on vmstop

2010-06-02 Thread Michael S. Tsirkin
vhost net currently keep running after vmstop, which causes trouble as qemy does not check for dirty pages anymore. The fix is to simply keep vm and vhost running/stopped status in sync. Tested-by: David L Stevens Signed-off-by: Michael S. Tsirkin --- hw/virtio-net.c | 11 +-- 1 files

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

2010-06-02 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 kvm

Re: [Qemu-devel] [PATCH] vnc: split encoding in specific files

2010-06-02 Thread Corentin Chary
On Tue, May 4, 2010 at 10:12 AM, Kevin Wolf wrote: > Am 03.05.2010 19:15, schrieb Anthony Liguori: >> On 05/03/2010 07:31 AM, Corentin Chary wrote: >>> This will allow to implement new encodings (tight, zrle, ..) >>> in a cleaner way. This may hurt performances, because some >>> functions like vnc

Re: [Qemu-devel] [PATCH] vnc: split encoding in specific files

2010-06-02 Thread Kevin Wolf
Am 02.06.2010 12:06, schrieb Corentin Chary: > On Tue, May 4, 2010 at 10:12 AM, Kevin Wolf wrote: >> Am 03.05.2010 19:15, schrieb Anthony Liguori: >>> On 05/03/2010 07:31 AM, Corentin Chary wrote: This will allow to implement new encodings (tight, zrle, ..) in a cleaner way. This may hur

[Qemu-devel] Re: [RFC PATCH v4 0/3] Sheepdog: distributed storage system for QEMU

2010-06-02 Thread Kevin Wolf
Am 28.05.2010 04:44, schrieb MORITA Kazutaka: > Hi all, > > This patch adds a block driver for Sheepdog distributed storage > system. Please consider for inclusion. Hint for next time: You should remove the RFC from the subject line if you think the patch is ready for inclusion. Otherwise I migh

[Qemu-devel] Re: [V9fs-developer] [PATCH] [virtio-9p] Flush the debug message out to the log file.

2010-06-02 Thread Aneesh Kumar K. V
On Tue, 1 Jun 2010 13:23:09 -0700, "Venkateswararao Jujjuri (JV)" wrote: > This patch fluesh the debug messages to the log file at the end of each > debug message. > > Signed-off-by: Venkateswararao Jujjuri > --- > hw/virtio-9p-debug.c |2 ++ > 1 files changed, 2 insertions(+), 0 deletio

[Qemu-devel] [PATCH 1/3] blockdev: Hide QEMUMachine from drive_init()

2010-06-02 Thread Markus Armbruster
To pave the way for moving it out of vl.c. Signed-off-by: Markus Armbruster --- hw/device-hotplug.c |2 +- hw/usb-msd.c|2 +- sysemu.h|3 ++- vl.c| 12 +--- 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/hw/device-hotplug

[Qemu-devel] [PATCH 2/3] qdev: Move declaration of qdev_init_bdrv() into qdev.h

2010-06-02 Thread Markus Armbruster
Signed-off-by: Markus Armbruster --- hw/pl181.c |1 - hw/qdev.h |2 ++ hw/ssi-sd.c |1 - sysemu.h|2 -- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/hw/pl181.c b/hw/pl181.c index 1924053..85cadc4 100644 --- a/hw/pl181.c +++ b/hw/pl181.c @@ -9,7 +9,6 @@

[Qemu-devel] [PATCH 0/3] Collect block device code in new blockdev.c

2010-06-02 Thread Markus Armbruster
Based on Kevin's block branch[*], commit f4e0fa33. Code motion like this is a conflict magnet. Speedy merge would be nice. [*] http://repo.or.cz/w/qemu/kevin.git/shortlog/refs/heads/block Markus Armbruster (3): blockdev: Hide QEMUMachine from drive_init() qdev: Move declaration of qdev_init

[Qemu-devel] [PATCH 3/3] blockdev: Collect block device code in new blockdev.c

2010-06-02 Thread Markus Armbruster
Anything that moves hundreds of lines out of vl.c can't be all bad. Signed-off-by: Markus Armbruster --- Makefile.objs|2 +- blockdev.c | 591 ++ blockdev.h | 62 ++ hw/acpi_piix4.c |1 + hw/apb_pci.c

Re: [Qemu-devel] [PATCH] virtio-blk: assign a default serial number if none provided

2010-06-02 Thread Ryan Harper
* Michael Tokarev [2010-06-02 01:57]: > 02.06.2010 05:48, Ryan Harper wrote: > [] > > hw/virtio-blk.c |3 +++ > >+if (strlen(s->sn) == 0) { > > Just out of curiocity (not that it is wrong or inefficient): > why > strlen(s->sn) > and not, say, > !s->sn[0] > ? Just matching how it's do

Re: [Qemu-devel] Re: [PATCH] virtio-blk: assign a default serial number if none provided

2010-06-02 Thread Ryan Harper
* Michael S. Tsirkin [2010-06-02 04:08]: > On Tue, Jun 01, 2010 at 08:48:54PM -0500, Ryan Harper wrote: > > This patch applies on-top of John's virtio-blk serial patches. > > > > Generate default serial numbers for virtio drives based on DriveInfo.unit > > which is > > incremented for each addit

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

2010-06-02 Thread Aneesh Kumar K. V
On Tue, 1 Jun 2010 19:47:14 +0530, "M. Mohan Kumar" wrote: > 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 > --- > hw/virtio-

Re: [Qemu-devel] Re: [PATCH] virtio-blk: assign a default serial number if none provided

2010-06-02 Thread Michael S. Tsirkin
On Wed, Jun 02, 2010 at 06:45:46AM -0500, Ryan Harper wrote: > * Michael S. Tsirkin [2010-06-02 04:08]: > > On Tue, Jun 01, 2010 at 08:48:54PM -0500, Ryan Harper wrote: > > > This patch applies on-top of John's virtio-blk serial patches. > > > > > > Generate default serial numbers for virtio driv

Re: [Qemu-devel] Re: [PATCH] virtio-blk: assign a default serial number if none provided

2010-06-02 Thread Ryan Harper
* Michael S. Tsirkin [2010-06-02 06:59]: > On Wed, Jun 02, 2010 at 06:45:46AM -0500, Ryan Harper wrote: > > * Michael S. Tsirkin [2010-06-02 04:08]: > > > On Tue, Jun 01, 2010 at 08:48:54PM -0500, Ryan Harper wrote: > > > > This patch applies on-top of John's virtio-blk serial patches. > > > > >

Re: [Qemu-devel] [PATCH] virtio-blk: assign a default serial number if none provided

2010-06-02 Thread Markus Armbruster
Ryan Harper writes: > * Michael Tokarev [2010-06-02 01:57]: >> 02.06.2010 05:48, Ryan Harper wrote: >> [] >> > hw/virtio-blk.c |3 +++ >> >+if (strlen(s->sn) == 0) { >> >> Just out of curiocity (not that it is wrong or inefficient): >> why >> strlen(s->sn) >> and not, say, >> !s->sn

[Qemu-devel] [Bug 392032] Re: qemu-system-x86_64 fails to install debian-501-amd64-CD-1

2010-06-02 Thread Natalia Portillo
This only affected QEMU 0.10 and was solved in QEMU 0.11. ** Changed in: qemu Status: New => Fix Released ** Changed in: qemu Status: Fix Released => Fix Committed -- qemu-system-x86_64 fails to install debian-501-amd64-CD-1 https://bugs.launchpad.net/bugs/392032 You received this

[Qemu-devel] [PATCH] Change 'query-version' to output broken down version string

2010-06-02 Thread Daniel P. Berrange
A previous discussion brought up the fact that clients should not have to parse version string from QMP, it should be given to them pre-split. Change query-version output format from: { "qemu": "0.11.50", "package": "" } to: { "major": 0, "minor": 11, "micro": 5, "package": "" } major, min

[Qemu-devel] [Bug 588688] [NEW] Hard disk images are supporting ATAPI commands. They should fail.

2010-06-02 Thread Natalia Portillo
Public bug reported: When using a hard disk image (qcow, qcow2, vdi, vmdk, bochs), the emulated device can be a CD-ROM and support ATAPI commands. These commands fails in real hard disks and these images are not prepared to handle optical disk formats, they should fail also. Only images able to

[Qemu-devel] [Bug 588693] [NEW] CD-ROM devices always return a one session, one track TOC

2010-06-02 Thread Natalia Portillo
Public bug reported: CD-ROM devices always return a one session, one track TOC, no matter if it is using ioctl's with the host or DMG images (both able of having multi track, multi session discs). ** Affects: qemu Importance: Undecided Assignee: Natalia Portillo (claunia) Statu

[Qemu-devel] [Bug 588691] Re: QEMU is not correctly detecting host CDs

2010-06-02 Thread Natalia Portillo
** Changed in: qemu Status: New => In Progress -- QEMU is not correctly detecting host CDs https://bugs.launchpad.net/bugs/588691 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: In Progress Bug description: QEMU'

[Qemu-devel] [Bug 588691] [NEW] QEMU is not correctly detecting host CDs

2010-06-02 Thread Natalia Portillo
Public bug reported: QEMU's block layer contains code for detecting and using ioctls when real CD-ROM host devices are attached. This detection is not working in some host OSes while bad implemented on anothers. E.g., in Linux host qemu -cdrom /dev/sr0 is not detecting it as a CD-ROM E.g., in Ma

[Qemu-devel] [Bug 588693] Re: CD-ROM devices always return a one session, one track TOC

2010-06-02 Thread Natalia Portillo
(P.S.: This bug prevents BeOS boot) ** Changed in: qemu Status: New => In Progress -- CD-ROM devices always return a one session, one track TOC https://bugs.launchpad.net/bugs/588693 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU

[Qemu-devel] [Bug 547227] Re: qemu-system-m68k does not accept "notw %d" instruction

2010-06-02 Thread Natalia Portillo
As of QEMU 0.12.3, it only emulates ColdFire processors. Coldfire no longer implement notw, only notl instruction, so this behaviour is expected. ** Changed in: qemu Status: New => Invalid -- qemu-system-m68k does not accept "notw %d" instruction https://bugs.launchpad.net/bugs/547227 Yo

[Qemu-devel] [CFP] Bug Day 2010

2010-06-02 Thread Anthony Liguori
Hi everyone, Today is our first QEMU Bug Day. The goal of Bug Day is to spread some bug love and make a dent in the various bug trackers. We've setup a special channel, #qemu-bugday on OFTC that folks can use to coordinate bug hunting effort. Here's some ways you can participate in the Bug

[Qemu-devel] [Bug 566882] Re: better sparc64 support

2010-06-02 Thread Natalia Portillo
This is not a bug. ** Changed in: qemu Status: New => Invalid -- better sparc64 support https://bugs.launchpad.net/bugs/566882 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: Invalid Bug description: Need better

[Qemu-devel] [Bug 557546] Re: no sound device found in ipc 10.5.6 image

2010-06-02 Thread Natalia Portillo
iPC 10.5.6 is a hacked version of Mac OS X 10.5.6. QEMU does not emulate any Apple sound card right now, and that's the expected behaviour. ** Changed in: qemu Status: New => Invalid -- no sound device found in ipc 10.5.6 image https://bugs.launchpad.net/bugs/557546 You received this bug

Re: [Qemu-devel] [RFC] [PATCH 0/5] Add horizontal wheel support to mice, where possible

2010-06-02 Thread Anthony Liguori
On 05/04/2010 11:56 AM, Brad Jorsch wrote: The emulated mice should emulate a horizontal wheel when possible. This patch series does that for the USB mouse and tablet and the ExPS/2 mouse. As far as I can tell the vmmouse protocol doesn't handle a horizontal wheel, and I have no idea if emulating

[Qemu-devel] Re: [V9fs-developer] [PATCH] [virtio-9p] Server side implementation for TLINK

2010-06-02 Thread Aneesh Kumar K. V
On Sun, 30 May 2010 09:40:38 -0700, "Venkateswararao Jujjuri (JV)" wrote: > Create a link. > > SYNOPSIS > > size[4] Tlink tag[2] dfid[4] oldpath[s] newpath[s] > > size[4] Rlink tag[2] > > DESCRIPTION > > Create a link 'newpath' in directory pointed by dfid linking to oldpath. > > Signed-off

[Qemu-devel] [Bug 477946] Re: XP guest install fails with NTFS format error

2010-06-02 Thread Natalia Portillo
QEMU 0.12.3 does not present this bug. Tested quick and full format, KVM and SOFTMMU, with Windows XP Professional SP0. Closing bug. ** Changed in: qemu Status: New => Fix Committed -- XP guest install fails with NTFS format error https://bugs.launchpad.net/bugs/477946 You received this

[Qemu-devel] [Bug 584155] Re: support horisontal mouse wheel

2010-06-02 Thread Anthony Liguori
** Changed in: qemu Importance: Undecided => Wishlist ** Changed in: qemu Status: New => Confirmed -- support horisontal mouse wheel https://bugs.launchpad.net/bugs/584155 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Statu

[Qemu-devel] [Bug 267542] Re: MINIX 3 won't boot in qemu 0.9.1

2010-06-02 Thread Andre Przywara
Can you give more hints on how to reproduce this? $ qemu-system-x86_64 -cdrom minix_R3.1.6-r6084.iso works fine for me (I get to the prompt), both with --enable-kvm and without and also with qemu-kvm. My qemu version is 0.12.4. Do I need to install it and run it from the harddisk? -- MINIX 3 won

[Qemu-devel] [Bug 588688] Re: Hard disk images are supporting ATAPI commands. They should fail.

2010-06-02 Thread Natalia Portillo
** Changed in: qemu Assignee: (unassigned) => Natalia Portillo (claunia) ** Changed in: qemu Status: New => In Progress -- Hard disk images are supporting ATAPI commands. They should fail. https://bugs.launchpad.net/bugs/588688 You received this bug notification because you are a mem

[Qemu-devel] [Bug 566882] Re: better sparc64 support

2010-06-02 Thread raymond
Maybe change it to feature/enhancement request ? -- better sparc64 support https://bugs.launchpad.net/bugs/566882 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: Invalid Bug description: Need better sparc64 platform sup

Re: [Qemu-devel] [PATCH 2/8] sparc64: fix missing address masking

2010-06-02 Thread Richard Henderson
On 06/01/2010 09:29 PM, Igor Kovalenko wrote: > On Wed, Jun 2, 2010 at 12:44 AM, Richard Henderson wrote: >> On 06/01/2010 01:12 PM, Igor V. Kovalenko wrote: >>> +if ((env->pstate & PS_AM) && is_translating_asi(asi)) { >>> +addr &= 0xULL; >>> +} >> >> I suggest that these b

[Qemu-devel] [Bug 588691] Re: QEMU is not correctly detecting host CDs

2010-06-02 Thread Cole Robinson
The linux /dev/sr0 issue should be fixed upstream: http://git.savannah.gnu.org/cgit/qemu.git/commit/?id=3baf720e6b920d583ce2834d05e5a4e9603a1d56 Maybe it's worth a backport to stable -- QEMU is not correctly detecting host CDs https://bugs.launchpad.net/bugs/588691 You received this bug notific

Re: [Qemu-devel] [PATCH 1/9] QDict: Introduce qdict_get_try_bool()

2010-06-02 Thread Luiz Capitulino
On Wed, 02 Jun 2010 08:35:16 +0200 Markus Armbruster wrote: > Luiz Capitulino writes: > > > Signed-off-by: Luiz Capitulino > > --- > > qdict.c | 18 ++ > > qdict.h |1 + > > 2 files changed, 19 insertions(+), 0 deletions(-) > > > > diff --git a/qdict.c b/qdict.c > > inde

Re: [Qemu-devel] [PATCH 3/9] QMP: First half of the new argument checking code

2010-06-02 Thread Luiz Capitulino
On Wed, 02 Jun 2010 08:59:11 +0200 Markus Armbruster wrote: > Luiz Capitulino writes: [...] > > + > > +type = qobject_to_qstring(obj); > > +assert(type != NULL); > > + > > +if (qstring_get_str(type)[0] == 'O') { > > +QemuOptsList *opts_list = qemu_find_opts(cmd_arg_name); >

Re: [Qemu-devel] [PATCH 3/9] QMP: First half of the new argument checking code

2010-06-02 Thread Luiz Capitulino
On Wed, 02 Jun 2010 09:22:40 +0200 Markus Armbruster wrote: > There's more... Good! > Luiz Capitulino writes: [...] > > +static void check_mandatory_args(const char *cmd_arg_name, > > + QObject *obj, void *opaque) > > +{ > > +QString *type; > > +QMPAr

Re: [Qemu-devel] [PATCH 8/9] QMP: Introduce qmp_check_input_obj()

2010-06-02 Thread Luiz Capitulino
On Wed, 02 Jun 2010 09:39:26 +0200 Markus Armbruster wrote: > Luiz Capitulino writes: > > > This is similar to qmp_check_client_args(), but checks if > > the input object follows the specification (QMP/qmp-spec.txt > > section 2.3). > > > > As we're limited to three keys, the work here is quite

Re: [Qemu-devel] [PATCH 4/9] QMP: Second half of the new argument checking code

2010-06-02 Thread Luiz Capitulino
On Wed, 02 Jun 2010 09:31:24 +0200 Markus Armbruster wrote: > Luiz Capitulino writes: > > > This commit introduces check_client_args_type(), which is > > called by qmp_check_client_args() and complements the > > previous commit. > > > > Now the new client's argument checker code is capable of >

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

2010-06-02 Thread Kevin Wolf
Am 28.05.2010 04:44, schrieb MORITA Kazutaka: > 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 specia

[Qemu-devel] Re: [Bug 267542] Re: MINIX 3 won't boot in qemu 0.9.1

2010-06-02 Thread Paolo Bonzini
On 06/02/2010 03:03 PM, Andre Przywara wrote: Can you give more hints on how to reproduce this? $ qemu-system-x86_64 -cdrom minix_R3.1.6-r6084.iso works fine for me (I get to the prompt), both with --enable-kvm and without and also with qemu-kvm. My qemu version is 0.12.4. Do I need to install i

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

2010-06-02 Thread Glauber Costa
On Wed, Jun 02, 2010 at 09:15:10AM +0200, Jan Kiszka wrote: > > > > +QemuOptsList qemu_machine_opts = { > > +.name = "M", > > +.head = QTAILQ_HEAD_INITIALIZER(qemu_machine_opts.head), > > +.desc = { > > +{ > > +.name = "mach", > > +.type = QEMU_OPT_STRI

[Qemu-devel] [Bug 563883] Re: typo, easy fix

2010-06-02 Thread Gerard Alquézar
Fixed by Riccardo Magliocchetti in 3c05613a6a51da833105c1bf3db4917d917f5a3a commit ** Changed in: qemu Status: New => Fix Committed -- typo, easy fix https://bugs.launchpad.net/bugs/563883 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed t

Re: [Qemu-devel] [PATCH] Name the default PCI bus "pci.0" on all architectures

2010-06-02 Thread Daniel P. Berrange
On Fri, May 28, 2010 at 08:39:53PM +0100, Paul Brook wrote: > > The system emulators for each arch are using inconsistent > > naming for the default PCI bus "pci" vs "pci.0". Since it > > is conceivable we'll have multiple PCI buses in the future > > standardize on "pci.0" for all architectures. Th

[Qemu-devel] Re: [V9fs-developer] [PATCH] virtio-9p: getattr server implementation for 9P2000.L protocol.

2010-06-02 Thread Aneesh Kumar K. V
On Fri, 28 May 2010 16:08:43 +0530, Sripathi Kodi wrote: > From: M. Mohan Kumar > > SYNOPSIS > > size[4] Tgetattr tag[2] fid[4] > > size[4] Rgetattr tag[2] lstat[n] > >DESCRIPTION > > The getattr transaction inquires about the file identified by fid. > The reply w

[Qemu-devel] [Bug 547227] Re: qemu-system-m68k does not accept "notw %d" instruction

2010-06-02 Thread Peter B . Jørgensen
Didn't know you are not targeting the original M68000. Must have missed that somewhere. -- qemu-system-m68k does not accept "notw %d" instruction https://bugs.launchpad.net/bugs/547227 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Sta

[Qemu-devel] [Bug 588731] [NEW] PXE boot not working

2010-06-02 Thread Jan Smets
Public bug reported: /root/qemu-test/qemu-kvm/x86_64-softmmu/qemu-system-x86_64 -net tap,vlan=0,name=tap.0 -boot n -net nic,macaddr=$MAC,vlan=0,model=e1000,name=e1000.0 -chardev socket,id=monitor,host=0.0.0.0,port=$MONITORPORT,telnet,server,nowait -monitor chardev:monitor net0: 02:5a:3b:27:00:a1

[Qemu-devel] [Bug 534973] Re: qemu-system-ppc segfaults when booting from Debian lenny netinst image

2010-06-02 Thread Natalia Portillo
I confirm this is happening in QEMU 0.12.4. ** Changed in: qemu Status: New => Confirmed -- qemu-system-ppc segfaults when booting from Debian lenny netinst image https://bugs.launchpad.net/bugs/534973 You received this bug notification because you are a member of qemu- devel-ml, which is

Re: [Qemu-devel] Re: [V9fs-developer] [PATCH] [virtio-9p] Flush the debug message out to the log file.

2010-06-02 Thread Venkateswararao Jujjuri (JV)
Aneesh Kumar K. V wrote: > On Tue, 1 Jun 2010 13:23:09 -0700, "Venkateswararao Jujjuri (JV)" > wrote: >> This patch fluesh the debug messages to the log file at the end of each >> debug message. >> >> Signed-off-by: Venkateswararao Jujjuri >> --- >> hw/virtio-9p-debug.c |2 ++ >> 1 files

Re: [Qemu-devel] Re: [Bug 267542] Re: MINIX 3 won't boot in qemu 0.9.1

2010-06-02 Thread Erik van der Kouwe
Hi, As of last March, the bug was found to be in SeaBIOS: http://www.seabios.org/pipermail/seabios/2010-March/000419.html Since Bochs BIOS didn't have the problem in this thread, it is reasonable to assume that any QEMU issues that existed in 0.9.1 are fixed by now. This has also been fixe

[Qemu-devel] [Bug 588735] [NEW] Quit command not working

2010-06-02 Thread Jan Smets
Public bug reported: Qemu strace rt_sigreturn(0x1b) = 56 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f6fddecbad0) = ? ERESTARTNOINTR (To be restarted) --- SIGPROF (Profiling timer expired) @ 0 (0) --- rt_sigreturn(0x1b)

Re: [Qemu-devel] [PATCH 4/9] QMP: Second half of the new argument checking code

2010-06-02 Thread Markus Armbruster
Luiz Capitulino writes: > On Wed, 02 Jun 2010 09:31:24 +0200 > Markus Armbruster wrote: > >> Luiz Capitulino writes: >> >> > This commit introduces check_client_args_type(), which is >> > called by qmp_check_client_args() and complements the >> > previous commit. >> > >> > Now the new client's

Re: [Qemu-devel] [PATCH 8/9] QMP: Introduce qmp_check_input_obj()

2010-06-02 Thread Markus Armbruster
Luiz Capitulino writes: > On Wed, 02 Jun 2010 09:39:26 +0200 > Markus Armbruster wrote: > >> Luiz Capitulino writes: >> >> > This is similar to qmp_check_client_args(), but checks if >> > the input object follows the specification (QMP/qmp-spec.txt >> > section 2.3). >> > >> > As we're limited

[Qemu-devel] [Bug 588748] [NEW] QEMU fails to boot DR DOS Plus since 0.6.1

2010-06-02 Thread Roy Tam
Public bug reported: The commit in r1049 (serial interrupt fix (Hampa Hug)) prevents booting Digital Research DOS Plus. ** Affects: qemu Importance: Undecided Status: New -- QEMU fails to boot DR DOS Plus since 0.6.1 https://bugs.launchpad.net/bugs/588748 You received this bug not

[Qemu-devel] [Bug 588748] Re: QEMU fails to boot DR DOS Plus since 0.6.1

2010-06-02 Thread Roy Tam
** Patch added: "Following patch partially reverts that commit and makes DOSPlus booting in QEMU again." http://launchpadlibrarian.net/49557998/serial-ier-fix.patch -- QEMU fails to boot DR DOS Plus since 0.6.1 https://bugs.launchpad.net/bugs/588748 You received this bug notification because

Re: [Qemu-devel] [PATCH 3/9] QMP: First half of the new argument checking code

2010-06-02 Thread Markus Armbruster
Luiz Capitulino writes: > On Wed, 02 Jun 2010 09:22:40 +0200 > Markus Armbruster wrote: [...] >> Higher order functions rock. But C is too static and limited for >> elegant use of higher order functions. Means to construct loops are >> usually more convenient to use, and yield more readable co

[Qemu-devel] [Bug 588731] Re: PXE boot not working

2010-06-02 Thread Anthony Liguori
I can't reproduce this. I'm using: commit d9b73e47a3d596c5b33802597ec5bd91ef3348e2 Author: Corentin Chary Date: Tue Jun 1 23:05:44 2010 +0200 vnc: add missing target for vnc-encodings-*.o I'm using the command: sudo x86_64-softmmu/qemu-system-x86_64 -net tap,vlan=0,name=tap.0 -boot n -n

Re: [Qemu-devel] [PATCH] qbus: fix memory leak in qbus_free()

2010-06-02 Thread Markus Armbruster
Isaku Yamahata writes: > BusState::name is allocated in qbus_create_inplace(). > So it should be freed by qbus_free(). Correct. > Signed-off-by: Isaku Yamahata > --- > hw/qdev.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/hw/qdev.c b/hw/qdev.c > index af17486

[Qemu-devel] [Bug 588735] Re: Quit command not working

2010-06-02 Thread Anthony Liguori
how much memory do you have in the host? -- Quit command not working https://bugs.launchpad.net/bugs/588735 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: Incomplete Bug description: Qemu strace rt_sigreturn(0x1b)

[Qemu-devel] [Bug 588735] Re: Quit command not working

2010-06-02 Thread Anthony Liguori
I tried this exact syntax and could not reproduce. What version of qemu are you using? ** Changed in: qemu Status: New => Incomplete -- Quit command not working https://bugs.launchpad.net/bugs/588735 You received this bug notification because you are a member of qemu- devel-ml, which is

Re: [Qemu-devel] [PATCH] Name the default PCI bus "pci.0" on all architectures

2010-06-02 Thread Paul Brook
> The problem is that the ID names of default devices in machines are ABI > sensitive. Management apps need to know what the ID of these default > devices are. The x86 machines have already used 'pci.0' as their name > in the previous 0.12 release and libvirt is using this naming. We later > discov

Re: [Qemu-devel] [PATCH] Name the default PCI bus "pci.0" on all architectures

2010-06-02 Thread Paul Brook
> Paul Brook writes: > >> The system emulators for each arch are using inconsistent > >> naming for the default PCI bus "pci" vs "pci.0". Since it > >> is conceivable we'll have multiple PCI buses in the future > >> standardize on "pci.0" for all architectures. This ensures > >> mgmt apps can rely

[Qemu-devel] [Bug 524447] Re: virsh save is very slow

2010-06-02 Thread Anthony Liguori
I can reproduce with: x86_64-softmmu/qemu-system-x86_64 -hda ~/images/linux.img -snapshot -m 4G -monitor stdio -enable-kvm QEMU 0.12.50 monitor - type 'help' for more information (qemu) migrate_set_speed 1G (qemu) migrate -d "exec:dd of=foo.img" On: commit d9b73e47a3d596c5b33802597ec5bd91ef3348

[Qemu-devel] [Bug 588731] Re: PXE boot not working

2010-06-02 Thread Jan Smets
using latest git dhcp-3.0.1-58.EL4 with configuration: host { filename "boot.pxe"; hardware ethernet 02:5A:3B:27:00:A1; fixed-address 10.201.1.161; } # ## server config # server-identifier a.b.c.d; server-name "some-name"; default-lease-time 600; max-lease-time 1200;

[Qemu-devel] [PATCH-V2] [virtio-9p] Flush the debug message out to the log file.

2010-06-02 Thread Venkateswararao Jujjuri (JV)
This patch fluesh the debug messages to the log file at the end of each debug message. Changes from V1: Used fflush instead fseek for the flush. Signed-off-by: Venkateswararao Jujjuri --- hw/virtio-9p-debug.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/virtio-9

Re: [Qemu-devel] [Bug 534973] Re: qemu-system-ppc segfaults when booting from Debian lenny netinst image

2010-06-02 Thread Aurelien Jarno
Natalia Portillo a écrit : > I confirm this is happening in QEMU 0.12.4. Are you sure about that? While this bug is clearly present in 0.12.3 as reported, it has been fixed in 0.12.4, in commit 18a21890ff2b24bc7f0cdc3807e2fb65e014522b -- Aurelien Jarno GPG: 1024D/F1BCDB7

[Qemu-devel] Re: [PATCH 3/3] blockdev: Collect block device code in new blockdev.c

2010-06-02 Thread Kevin Wolf
Am 02.06.2010 13:31, schrieb Markus Armbruster: > Anything that moves hundreds of lines out of vl.c can't be all bad. > > Signed-off-by: Markus Armbruster New files need a license header, otherwise it looks ok. I have applied this patch (and the other ones, too) to the block branch anyway to av

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

2010-06-02 Thread Kevin Wolf
Am 01.06.2010 20:32, schrieb Markus Armbruster: > 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. > > v2: Don't break IDE serial > > Markus Armbruster (14): > blockdev: Belatedly re

Re: [Qemu-devel] [RFC] [PATCH 0/5] Add horizontal wheel support to mice, where possible

2010-06-02 Thread Brad Jorsch
On Wed, Jun 02, 2010 at 08:30:11AM -0500, Anthony Liguori wrote: > > I think instead of adding an additional parameter for horizontal > wheel, we should look at making the API capable of > accepting/generating arbitrary button presses. > > Really, we should just drop dz and treat vertical wheel a

Re: [Qemu-devel] [PATCH 2/8] sparc64: fix missing address masking

2010-06-02 Thread Blue Swirl
On Wed, Jun 2, 2010 at 1:47 PM, Richard Henderson wrote: > On 06/01/2010 09:29 PM, Igor Kovalenko wrote: >> On Wed, Jun 2, 2010 at 12:44 AM, Richard Henderson wrote: >>> On 06/01/2010 01:12 PM, Igor V. Kovalenko wrote: +    if ((env->pstate & PS_AM) && is_translating_asi(asi)) { +      

Re: [Qemu-devel] [PATCH 5/8] sparc64: use symbolic name for MMU index

2010-06-02 Thread Blue Swirl
On Tue, Jun 1, 2010 at 8:12 PM, Igor V. Kovalenko wrote: > From: Igor V. Kovalenko > > Signed-off-by: Igor V. Kovalenko > --- >  target-sparc/op_helper.c |   28 >  1 files changed, 16 insertions(+), 12 deletions(-) > > diff --git a/target-sparc/op_helper.c b/target-s

[Qemu-devel] Re: [PATCH 3/3] blockdev: Collect block device code in new blockdev.c

2010-06-02 Thread Markus Armbruster
Kevin Wolf writes: > Am 02.06.2010 13:31, schrieb Markus Armbruster: >> Anything that moves hundreds of lines out of vl.c can't be all bad. >> >> Signed-off-by: Markus Armbruster > > New files need a license header, otherwise it looks ok. > > I have applied this patch (and the other ones, too)

[Qemu-devel] [Bug 449958] Re: qemu is unable to boot from virtio drives

2010-06-02 Thread Anthony Liguori
The latest git has a version of SeaBIOS that supports booting from virtio. This will be included in the 0.13 release. ** Changed in: qemu Status: Confirmed => Fix Committed -- qemu is unable to boot from virtio drives https://bugs.launchpad.net/bugs/449958 You received this bug notificat

[Qemu-devel] [Bug 524447] Re: virsh save is very slow

2010-06-02 Thread Anthony Liguori
This actually turns out to be related to dd's default block size. By default, dd uses a block size of 512. The effect of this is that qemu fills the pipe buffer very quickly because dd just is submitting very small requests (that will require a RMW). If you set an explict block size with dd (via

[Qemu-devel] [Bug 485251] Re: qemu 0.11.50: Guest boot failed when the drive interface is scsi

2010-06-02 Thread Anthony Liguori
QEMU does not support booting from SCSI. 0.13.0 will add support for booting from virtio in addition to IDE. ** Changed in: qemu Status: New => Invalid -- qemu 0.11.50: Guest boot failed when the drive interface is scsi https://bugs.launchpad.net/bugs/485251 You received this bug notific

[Qemu-devel] [Bug 529008] Re: Should emulate /proc/cpuinfo

2010-06-02 Thread DaveHansen
If you're chroot'ing anyway, then you should have privileged access. You could probably do this entirely in userspace, without even specially intercepting the syscalls. When you set up the chroot, just get a copy of how you want cpuinfo to look, and bind mount it on top of the existing cpuinfo fil

[Qemu-devel] [Bug 586175] Re: Windows XP/2003 doesn't boot

2010-06-02 Thread Joel Schopp
** Tags added: windows -- Windows XP/2003 doesn't boot https://bugs.launchpad.net/bugs/586175 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Status in Fedora: Unknown Bug description: Hello everyone, my qemu doesn

[Qemu-devel] [Bug 556560] Re: -S doesn't freeze CPU as expected

2010-06-02 Thread Anthony Liguori
Your command line includes '-boot -s' which appears invalid since boot requires an argument. Can you confirm that the problem still occurs with a proper command line. ** Changed in: qemu Status: New => Incomplete -- -S doesn't freeze CPU as expected https://bugs.launchpad.net/bugs/556560

[Qemu-devel] [Bug 397572] Re: Resizing the screen crashes QEMU

2010-06-02 Thread Anthony Liguori
This is fixed in the latest git. ** Changed in: qemu Status: New => Fix Released -- Resizing the screen crashes QEMU https://bugs.launchpad.net/bugs/397572 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: Fix Rele

[Qemu-devel] [Bug 510612] Re: sound broken in qemu 0.12.x

2010-06-02 Thread Joel Schopp
** Tags added: windows -- sound broken in qemu 0.12.x https://bugs.launchpad.net/bugs/510612 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Bug description: In qemu 0.12.x there is a jitter when sound is played by

[Qemu-devel] [Bug 547227] Re: qemu-system-m68k does not accept "notw %d" instruction

2010-06-02 Thread Andreas Färber
See `qemu-system-m68k -cpu ?`. QEMU is not targeting it yet, but there's a project: http://www.gitorious.org/qemu-m68k -- qemu-system-m68k does not accept "notw %d" instruction https://bugs.launchpad.net/bugs/547227 You received this bug notification because you are a member of qemu- devel-ml, w

[Qemu-devel] [Bug 551220] Re: qemu 0.12.3 stalls under load

2010-06-02 Thread Anthony Liguori
This has been fixed in 0.12.4. ** Changed in: qemu Status: New => Fix Released -- qemu 0.12.3 stalls under load https://bugs.launchpad.net/bugs/551220 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: Fix Released

Re: [Qemu-devel] [PATCH 2/8] sparc64: fix missing address masking

2010-06-02 Thread Andreas Färber
Am 02.06.2010 um 18:10 schrieb Blue Swirl: On Wed, Jun 2, 2010 at 1:47 PM, Richard Henderson wrote: On 06/01/2010 09:29 PM, Igor Kovalenko wrote: On Wed, Jun 2, 2010 at 12:44 AM, Richard Henderson wrote: On 06/01/2010 01:12 PM, Igor V. Kovalenko wrote: +if ((env->pstate & PS_AM) && i

[Qemu-devel] [Bug 485239] Re: Windows 2008 datacenter- 64 bit , installation fails with qemu-system-x86_64 0.11.50

2010-06-02 Thread Joel Schopp
** Tags added: windows -- Windows 2008 datacenter- 64 bit , installation fails with qemu-system-x86_64 0.11.50 https://bugs.launchpad.net/bugs/485239 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Bug description:

[Qemu-devel] [Bug 524447] Re: virsh save is very slow

2010-06-02 Thread Cole Robinson
I filed an upstream libvirt bug for the dd block size issue: https://bugzilla.redhat.com/show_bug.cgi?id=599091 ** Bug watch added: Red Hat Bugzilla #599091 https://bugzilla.redhat.com/show_bug.cgi?id=599091 -- virsh save is very slow https://bugs.launchpad.net/bugs/524447 You received this

[Qemu-devel] [Bug 441672] Re: Windos XP BSOD with HP Photosmart usb device attached

2010-06-02 Thread Joel Schopp
** Tags added: windows -- Windos XP BSOD with HP Photosmart usb device attached https://bugs.launchpad.net/bugs/441672 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Bug description: https://bugzilla.redhat.com/sho

[Qemu-devel] [PATCH v2 3/3] blockdev: Collect block device code in new blockdev.c

2010-06-02 Thread Markus Armbruster
Anything that moves hundreds of lines out of vl.c can't be all bad. Signed-off-by: Markus Armbruster --- v2: Licence boilerplate Makefile.objs|2 +- blockdev.c | 600 ++ blockdev.h | 71 ++ hw/acpi_piix4.c

  1   2   3   >