Re: [Qemu-devel] [Bug 1021649] Re: qemu 1.1.0 waits for a keypress at boot

2012-08-03 Thread Jamie Heilman
Avi Kivity wrote: > On 07/25/2012 02:12 PM, Stefano Stabellini wrote: > > On Wed, 25 Jul 2012, Michael Tokarev wrote: > >> Stefano, Paul, can you take a look please? > >> > >> https://bugs.launchpad.net/bugs/1021649 > > > > That is a very good bug triage that you did! > > > > However "main_loop_

[Qemu-devel] buildbot failure in qemu on xen41

2012-08-03 Thread qemu
The Buildbot has detected a new failure on builder xen41 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/xen41/builds/83 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: anthony_xen Build Reason: The Nightly scheduler n

[Qemu-devel] buildbot failure in qemu on xen_unstable

2012-08-03 Thread qemu
The Buildbot has detected a new failure on builder xen_unstable while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/xen_unstable/builds/83 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: anthony_xen Build Reason: The Nigh

Re: [Qemu-devel] [PATCH v4 2/2] block: Support GlusterFS as a QEMU block backend

2012-08-03 Thread Bharata B Rao
On Fri, Aug 03, 2012 at 03:57:20PM +, Blue Swirl wrote: > >> > +static void gluster_finish_aiocb(struct glfs_fd *fd, ssize_t ret, void > >> > *arg) > >> > +{ > >> > +GlusterAIOCB *acb = (GlusterAIOCB *)arg; > >> > +BDRVGlusterState *s = acb->common.bs->opaque; > >> > + > >> > +acb-

[Qemu-devel] [Bug 672934] Re: FPU incorrect on Mac OS X

2012-08-03 Thread Samuel Bronson
** Tags added: mac -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/672934 Title: FPU incorrect on Mac OS X Status in QEMU: New Bug description: I am using the 0.13.0 release version of QEMU on

[Qemu-devel] [Bug 640213] Re: QEMU does not communicate properly with GDB with a 64 bit guest

2012-08-03 Thread Samuel Bronson
** Tags added: gdb -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/640213 Title: QEMU does not communicate properly with GDB with a 64 bit guest Status in QEMU: New Bug description: I have been

[Qemu-devel] [Bug 643430] Re: system_powerdown NOT working in qemu-kvm with KVM enabled for FreeBSD guests

2012-08-03 Thread Samuel Bronson
** Summary changed: - system_powerdown is working in qemu-kvm with KVM enabled for FreeBSD guests + system_powerdown NOT working in qemu-kvm with KVM enabled for FreeBSD guests -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://

[Qemu-devel] [Bug 562107] Re: QEmu GDB stub uses IPv6 instead of v4 (or both)

2012-08-03 Thread Samuel Bronson
** Tags added: gdb -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/562107 Title: QEmu GDB stub uses IPv6 instead of v4 (or both) Status in QEMU: New Bug description: This bug has been reported

[Qemu-devel] [Bug 1032828] Re: 64-bit capable PPC models should be supported in 32-bit usermode.

2012-08-03 Thread Samuel Bronson
** Description changed: While it makes perfect sense for qemu-system-ppc not to allow the use of PPC64-capable CPU models -- it would presumably be very confusing to the poor guest operating systems -- qemu-ppc (the user-only variants) is a different story. Sure, the most obvious PPC6

Re: [Qemu-devel] [PATCH] fips: fix build on !Linux

2012-08-03 Thread Anthony Liguori
Anthony Liguori writes: > Commit 0f66998 makes -enable-fips conditional on Linux hosts but then uses it > unconditionally in vl.c. > > Fix this by moving the fips handling to os-posix.c and adding a > condition. Applied. Regards, Anthony Liguori > > Cc: Paul Moore > Signed-off-by: Anthony Li

[Qemu-devel] [PATCH] fips: fix build on !Linux

2012-08-03 Thread Anthony Liguori
Commit 0f66998 makes -enable-fips conditional on Linux hosts but then uses it unconditionally in vl.c. Fix this by moving the fips handling to os-posix.c and adding a condition. Cc: Paul Moore Signed-off-by: Anthony Liguori --- os-posix.c |5 + vl.c |3 --- 2 files changed, 5

[Qemu-devel] buildbot failure in qemu on default_mingw32

2012-08-03 Thread qemu
The Buildbot has detected a new failure on builder default_mingw32 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_mingw32/builds/335 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: kraxel_rhel61 Build Reason:

[Qemu-devel] [PATCH 07/10] linux-user: Translate pipe2 flags; add to strace

2012-08-03 Thread Richard Henderson
Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- linux-user/strace.list |3 +++ linux-user/syscall.c |3 ++- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/linux-user/strace.list b/linux-user/strace.list index a7eeaef..af3c6a0 100644 --- a/linux-user/stra

[Qemu-devel] [PATCH 05/10] linux-user: Handle O_SYNC, O_NOATIME, O_CLOEXEC, O_PATH

2012-08-03 Thread Richard Henderson
Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- linux-user/strace.c | 12 +++- linux-user/syscall.c | 15 ++- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/linux-user/strace.c b/linux-user/strace.c index 05a0d3e..6ec90e8 100644 --- a/lin

[Qemu-devel] [PATCH 10/10] alpha-linux-user: Fix the getpriority syscall

2012-08-03 Thread Richard Henderson
Alpha uses unbiased priority values in the syscall, with the a3 return value signaling error conditions. Therefore, properly interpret the libc getpriority as needed for the guest rather than passing the host value through unchanged. Signed-off-by: Richard Henderson --- linux-user/syscall.c |

[Qemu-devel] [PATCH 03/10] alpha-linux-user: Handle TARGET_SSI_IEEE_RAISE_EXCEPTION properly

2012-08-03 Thread Richard Henderson
We weren't aggregating the exceptions, nor raising signals properly. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- linux-user/syscall.c | 61 + 1 files changed, 51 insertions(+), 10 deletions(-) diff --git a/linux-user/syscall

[Qemu-devel] [PATCH 04/10] linux-user: Sync fcntl.h bits with the kernel

2012-08-03 Thread Richard Henderson
For each target, only define the bits that appear in arch/target/include/asm/fcntl.h. Mirror the kernel's asm-generic layout by handling anything undefined afterward. Signed-off-by: Richard Henderson --- linux-user/syscall_defs.h | 194 + 1 files cha

[Qemu-devel] buildbot failure in qemu on default_openbsd_4.9

2012-08-03 Thread qemu
The Buildbot has detected a new failure on builder default_openbsd_4.9 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_openbsd_4.9/builds/335 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: kraxel_openbsd49 Bu

[Qemu-devel] [PATCH 01/10] alpha-linux-user: Fix signal handling

2012-08-03 Thread Richard Henderson
Proper signal numbers were not defined, and EXCP_INTERRUPT was unhandled, leading to all sorts of subtle confusion. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- linux-user/main.c |3 +++ linux-user/syscall_defs.h | 41 - 2

[Qemu-devel] [PATCH 02/10] alpha-linux-user: Work around hosted mmap allocation problems

2012-08-03 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/cpu.h | 15 +-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h index 99f9ee1..5689760 100644 --- a/target-alpha/cpu.h +++ b/target-alpha/cpu.h @@ -40,9 +40,20 @@ #define TAR

[Qemu-devel] [PATCH v5 00/10] {alpha-}linux user improvements

2012-08-03 Thread Richard Henderson
Tree at git://repo.or.cz/qemu/rth.git axp-next Changes v4-v5: PMM feedback: patch4: Add m68k support, and remove redundant alpha define Remove tabs from lines touched. Changes v3-v4: Split patch 4 as per PMM feedback Fix patch 9 is_error usage as per PPM feedback. Changes v2-v3:

Re: [Qemu-devel] [PATCHv5 3/4] Adding qemu-seccomp-debug.[ch]

2012-08-03 Thread Eric Blake
On 08/03/2012 02:54 PM, Anthony Liguori wrote: > Eduardo Otubo writes: > >> The new 'trap' (debug) mode will capture the illegal system call before it is >> executed. The feature and the implementation is based on Will Drewry's >> patch - https://lkml.org/lkml/2012/4/12/449 >> >> +if (syscal

[Qemu-devel] [PATCH 09/10] alpha-linux-user: Properly handle the non-rt sigprocmask syscall.

2012-08-03 Thread Richard Henderson
Name the syscall properly for QEMU, kernel source notwithstanding. Fix syntax errors in the code thus enabled within do_syscall. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- linux-user/alpha/syscall_nr.h |2 +- linux-user/syscall.c |3 +-- 2 files changed, 2

[Qemu-devel] [PATCH 08/10] alpha-linux-user: Fix a3 error return with v0 error bypass.

2012-08-03 Thread Richard Henderson
We were failing to initialize a3 for syscalls that bypass the negative return value error check. Signed-off-by: Richard Henderson --- linux-user/main.c | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/linux-user/main.c b/linux-user/main.c index a21942c..53714de

[Qemu-devel] [PATCH 06/10] linux-user: Allocate the right amount of space for non-fixed file maps

2012-08-03 Thread Richard Henderson
If we let the kernel handle the implementation of mmap_find_vma, via an anon mmap, we must use the size as indicated by the user and not the size truncated to the filesize. This happens often in ld.so, where we initially mmap the file to the size of the text+data+bss to reserve an area, then mmap+

Re: [Qemu-devel] [v2 Patch 2/9]block: raw-posix image file reopen

2012-08-03 Thread Jeff Cody
On 07/31/2012 01:17 PM, Eric Blake wrote: > On 07/30/2012 03:34 PM, Supriya Kannery wrote: >> raw-posix driver changes for bdrv_reopen_xx functions to >> safely reopen image files. Reopening of image files while >> changing hostcache dynamically is handled here. >> >> Signed-off-by: Supriya Kanner

Re: [Qemu-devel] [PULL 00/10] SCSI patches for 2012-08-03

2012-08-03 Thread Anthony Liguori
Paolo Bonzini writes: > Il 03/08/2012 21:27, Anthony Liguori ha scritto: >> On 08/03/2012 03:06 AM, Paolo Bonzini wrote: >>> Anthony, >>> >>> The following changes since commit >>> 5e3bc7144edd6e4fa2824944e5eb16c28197dd5a: >>> >>>Merge remote-tracking branch 'mst/tags/for_anthony' into stagin

[Qemu-devel] [PULL] slirp: Handle whole 127.0.0.0/8 network as local addresses.

2012-08-03 Thread Jan Kiszka
The following changes since commit 0f66998ff6d5d2133b9b08471a44e13b9e50: vnc: disable VNC password authentication (security type 2) when in FIPS mode (2012-08-03 14:28:40 -0500) are available in the git repository at: git://git.kiszka.org/qemu.git queues/slirp Anders Waldenborg (1):

[Qemu-devel] [Bug 1032828] Re: 64-bit capable PPC models should be supported in 32-bit usermode.

2012-08-03 Thread Samuel Bronson
** Description changed: While it makes perfect sense for qemu-system-ppc not to allow the use of PPC64-capable CPU models -- it would presumably be very confusing to the poor guest operating systems -- qemu-ppc (the user-only variants) is a different story. Sure, the most obvious PPC6

[Qemu-devel] [Bug 1032828] [NEW] 64-bit capable PPC models should be supported in 32-bit usermode.

2012-08-03 Thread Samuel Bronson
Public bug reported: While it makes perfect sense for qemu-system-ppc not to allow the use of PPC64-capable CPU models -- it would presumably be very confusing to the poor guest operating systems -- qemu-ppc (the user-only variants) is a different story. Sure, the most obvious PPC64 features are

Re: [Qemu-devel] [PULL 00/10] SCSI patches for 2012-08-03

2012-08-03 Thread Blue Swirl
On Fri, Aug 3, 2012 at 8:37 PM, Anthony Liguori wrote: > Hervé Poussineau writes: > >> Paolo Bonzini a écrit : >>> Il 03/08/2012 21:27, Anthony Liguori ha scritto: On 08/03/2012 03:06 AM, Paolo Bonzini wrote: > Anthony, > > The following changes since commit > 5e3bc7144edd6e4

Re: [Qemu-devel] [PATCHv5 3/4] Adding qemu-seccomp-debug.[ch]

2012-08-03 Thread Anthony Liguori
Eduardo Otubo writes: > The new 'trap' (debug) mode will capture the illegal system call before it is > executed. The feature and the implementation is based on Will Drewry's > patch - https://lkml.org/lkml/2012/4/12/449 > > v4: > * New files in v4 > * If SCMP_ACT_TRAP flag used when calling se

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

2012-08-03 Thread Anthony Liguori
"Aneesh Kumar K.V" writes: > Hi Anthony, > > I have merged the configure fix which is sent as a part of > > http://thread.gmane.org/gmane.comp.emulators.qemu/160620/focus=160634 > > The following changes since commit 5e3bc7144edd6e4fa2824944e5eb16c28197dd5a: > > Merge remote-tracking branch 'm

Re: [Qemu-devel] [PULL 00/19] Net patches for QEMU 1.2

2012-08-03 Thread Anthony Liguori
Stefan Hajnoczi writes: > The following changes since commit 0b22ef0f57a8910d849602bef0940edcd0553d2c: > > configure: -I\$(SRC_PATH) goes in QEMU_INCLUDES not QEMU_CFLAGS (2012-07-31 > 20:06:03 +) > > are available in the git repository at: > > git://github.com/stefanha/qemu.git net > >

Re: [Qemu-devel] [PULL] Xen fixes

2012-08-03 Thread Anthony Liguori
Stefano Stabellini writes: > Hi Anthony, > please pull a couple of simple Xen compilation fixes from: > > git://xenbits.xen.org/people/sstabellini/qemu-dm.git xen-fixes-20120801 > > Anthony PERARD (1): > configure: Fix xen probe with Xen 4.2 and later > > Stefano Stabellini (1): > fix

Re: [Qemu-devel] [PULL 0/7] Trivial patches for 22 July to 3 August 2012

2012-08-03 Thread Anthony Liguori
Stefan Hajnoczi writes: > On Fri, Aug 3, 2012 at 11:50 AM, Stefan Hajnoczi > wrote: >> This pull request subsumes the currently pending request from 1 August. >> Patches from Amos Kong, Peter Cong, and Tyler Hall have been added. >> >> The following changes since commit 02d2bd5d57812154cfb978bc2

Re: [Qemu-devel] [PULL for-1.2] QOM CPUState, part 4: initial field movements

2012-08-03 Thread Anthony Liguori
Andreas Färber writes: > Hello Anthony, > > Please pull a next batch of QOM CPUState refactorings, cherry-picked > from my long-standing QOM CPUState part 4 series. > > Some parts of that series (s390 and xen) had already been merged. > This batch now includes actual field movements common to sof

Re: [Qemu-devel] [PULL 0/4]: QMP queue

2012-08-03 Thread Anthony Liguori
Luiz Capitulino writes: > A qapi fix from Markus and a new field to query-block by Benoit. > > The changes (since 02d2bd5d57812154cfb978bc2098cf49d551583d) are available > in the following repository: > > git://repo.or.cz/qemu/qmp-unstable.git queue/qmp > Pulled. Thanks. Regards, Anthony L

Re: [Qemu-devel] [PATCH v3] Support 'help' as a synonym for '?' in command line options

2012-08-03 Thread Anthony Liguori
Peter Maydell writes: > For command line options which permit '?' meaning 'please list the > permitted values', add support for 'help' as a synonym, by abstracting > the check out into a helper function. > > This change means that in some cases where we were being lazy in > our string parsing, "?

Re: [Qemu-devel] [PATCH v5] vnc: disable VNC password authentication (security type 2) when in FIPS mode

2012-08-03 Thread Anthony Liguori
Paul Moore writes: > FIPS 140-2 requires disabling certain ciphers, including DES, which is used > by VNC to obscure passwords when they are sent over the network. The > solution for FIPS users is to disable the use of VNC password auth when the > host system is operating in FIPS compliance mode

Re: [Qemu-devel] [PULL 00/10] SCSI patches for 2012-08-03

2012-08-03 Thread Anthony Liguori
Hervé Poussineau writes: > Paolo Bonzini a écrit : >> Il 03/08/2012 21:27, Anthony Liguori ha scritto: >>> On 08/03/2012 03:06 AM, Paolo Bonzini wrote: Anthony, The following changes since commit 5e3bc7144edd6e4fa2824944e5eb16c28197dd5a: Merge remote-tracking bran

Re: [Qemu-devel] [PATCH v6 5/7] add the QKeyCode enum and the key_defs table

2012-08-03 Thread Luiz Capitulino
On Fri, 03 Aug 2012 20:00:47 +0200 Andreas Färber wrote: > Am 03.08.2012 15:32, schrieb Luiz Capitulino: > > On Fri, 3 Aug 2012 10:48:40 +0800 > > Amos Kong wrote: > > > >> key_defs[] in monitor.c is a mapping table of keys and keycodes, > >> this patch added a QKeyCode enum and a new key_defs

Re: [Qemu-devel] [PATCH 17/34] qerror: drop QERR_SOCKET_CONNECT_IN_PROGRESS

2012-08-03 Thread Luiz Capitulino
On Fri, 3 Aug 2012 13:26:27 -0500 Michael Roth wrote: > On Thu, Aug 02, 2012 at 02:08:48PM -0300, Luiz Capitulino wrote: > > On Thu, 2 Aug 2012 11:54:11 -0500 > > Michael Roth wrote: > > > > > On Wed, Aug 01, 2012 at 10:02:37PM -0300, Luiz Capitulino wrote: > > > > This error is currently retur

Re: [Qemu-devel] [PULL 00/10] SCSI patches for 2012-08-03

2012-08-03 Thread Hervé Poussineau
Paolo Bonzini a écrit : Il 03/08/2012 21:27, Anthony Liguori ha scritto: On 08/03/2012 03:06 AM, Paolo Bonzini wrote: Anthony, The following changes since commit 5e3bc7144edd6e4fa2824944e5eb16c28197dd5a: Merge remote-tracking branch 'mst/tags/for_anthony' into staging (2012-07-30 10:00:48

Re: [Qemu-devel] [PATCH v3] kvm: Check if smp_cpus exceeds max cpus supported by kvm

2012-08-03 Thread Marcelo Tosatti
On Tue, Jul 31, 2012 at 07:18:17PM +0800, riegama...@gmail.com wrote: > From: Dunrong Huang > > Add a helper function for fetching max cpus supported by kvm. > > Make QEMU exit with an error message if smp_cpus exceeds limit > of VCPU count retrieved by invoking this helper function. > > Signed

[Qemu-devel] [PATCH] pci: add some stubs

2012-08-03 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau --- hw/pci-stub.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/hw/pci-stub.c b/hw/pci-stub.c index e083191..ed31441 100644 --- a/hw/pci-stub.c +++ b/hw/pci-stub.c @@ -39,6 +39,16 @@ void pci_register_bar(PCIDevice *pci_dev, int region_num, {

Re: [Qemu-devel] [PATCH v2] configure: Don't implicitly hardcode list of KVM architectures

2012-08-03 Thread Marcelo Tosatti
On Fri, Aug 03, 2012 at 01:51:25PM +0100, Peter Maydell wrote: > The code creating the symlink from linux-headers/asm to the > architecture specific linux-headers/asm-$arch directory was > implicitly hardcoding a list of KVM supporting architectures. > Add a default case for the common "Linux archi

Re: [Qemu-devel] [PULL 00/10] SCSI patches for 2012-08-03

2012-08-03 Thread Anthony Liguori
Paolo Bonzini writes: > Il 03/08/2012 21:27, Anthony Liguori ha scritto: >> On 08/03/2012 03:06 AM, Paolo Bonzini wrote: >>> Anthony, >>> >>> The following changes since commit >>> 5e3bc7144edd6e4fa2824944e5eb16c28197dd5a: >>> >>>Merge remote-tracking branch 'mst/tags/for_anthony' into stagin

[Qemu-devel] [PATCH 2/2 v2] ahci: Fix sglist memleak in ahci_dma_rw_buf()

2012-08-03 Thread Jason Baron
I noticed that in hw/ide/ahci:ahci_dma_rw_buf() we do not free the sglist. Thus, I've added a call to qemu_sglist_destroy() to fix this memory leak. In addition, I've adeed a call in qemu_sglist_destroy() to 0 all of the sglist fields, in case there is some other codepath that tries to free the sg

[Qemu-devel] [PATCH 1/2 v2] ahci: Fix ahci cdrom read corruptions for reads > 128k

2012-08-03 Thread Jason Baron
While testing q35, which has its cdrom attached to the ahci controller, I found that the Fedora 17 install would panic on boot. The panic occurs while squashfs is trying to read from the cdrom. The errors are: [8.622711] SQUASHFS error: xz_dec_run error, data probably corrupt [8.625180] SQ

[Qemu-devel] [PATCH v2] ahci: fix cdrom read corruption

2012-08-03 Thread Jason Baron
Hi, While testing q35 I found data corruption on reads from the cdrom on the ahci controller. The first patch addresses this issue. I also noticed that there is a memory leak in the ahci code, which is addressed in the second patch. Thanks, -Jason v2: fprintf -> DPRINTF (so can't be trigge

Re: [Qemu-devel] [PULL 00/10] SCSI patches for 2012-08-03

2012-08-03 Thread Paolo Bonzini
Il 03/08/2012 21:27, Anthony Liguori ha scritto: > On 08/03/2012 03:06 AM, Paolo Bonzini wrote: >> Anthony, >> >> The following changes since commit >> 5e3bc7144edd6e4fa2824944e5eb16c28197dd5a: >> >>Merge remote-tracking branch 'mst/tags/for_anthony' into staging >> (2012-07-30 10:00:48 -0500)

[Qemu-devel] [Bug 636446] Re: prep ppc "machine" no more working

2012-08-03 Thread Andreas Färber
This has long been fixed, at least for v1.0 I believe. ** Changed in: qemu Status: Confirmed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/636446 Title: prep ppc "machine" n

[Qemu-devel] Fwd: Re: New Debian iso images

2012-08-03 Thread Nigel Horne
This is a copy of a message I've just sent to the debian-hurd mailing list. I'm copying here in case anyone has any ideas. I'm 99% it's a problem with GNU/Hurd rather than QEMU, but you never know and there is a wealth of experience here which may be able to help and share ideas. -Nigel ---

Re: [Qemu-devel] [PULL 00/10] SCSI patches for 2012-08-03

2012-08-03 Thread Anthony Liguori
On 08/03/2012 03:06 AM, Paolo Bonzini wrote: Anthony, The following changes since commit 5e3bc7144edd6e4fa2824944e5eb16c28197dd5a: Merge remote-tracking branch 'mst/tags/for_anthony' into staging (2012-07-30 10:00:48 -0500) are available in the git repository at: git://github.com/bonz

Re: [Qemu-devel] [RFC 00/12] Qorum disk image corruption resiliency

2012-08-03 Thread Benoît Canet
Le Friday 03 Aug 2012 à 16:14:51 (+), Blue Swirl a écrit : > On Thu, Aug 2, 2012 at 10:16 AM, Benoît Canet wrote: > > This patchset create a block driver implementing a qorum using three qemu > > disk > > images. Writes are mirrored on the three files. > > For the reading part the three files

[Qemu-devel] [PATCH v5] vnc: disable VNC password authentication (security type 2) when in FIPS mode

2012-08-03 Thread Paul Moore
FIPS 140-2 requires disabling certain ciphers, including DES, which is used by VNC to obscure passwords when they are sent over the network. The solution for FIPS users is to disable the use of VNC password auth when the host system is operating in FIPS compliance mode and the user has specified '

Re: [Qemu-devel] [PATCH 17/34] qerror: drop QERR_SOCKET_CONNECT_IN_PROGRESS

2012-08-03 Thread Michael Roth
On Thu, Aug 02, 2012 at 02:08:48PM -0300, Luiz Capitulino wrote: > On Thu, 2 Aug 2012 11:54:11 -0500 > Michael Roth wrote: > > > On Wed, Aug 01, 2012 at 10:02:37PM -0300, Luiz Capitulino wrote: > > > This error is currently returned by inet_connect_opts(), however > > > it causes the follow spuri

Re: [Qemu-devel] [PATCH 08/11] Add migrate_set_cachesize command

2012-08-03 Thread Luiz Capitulino
On Thu, 2 Aug 2012 15:44:51 +0300 Orit Wasserman wrote: > Change XBZRLE cache size in bytes (the size should be a power of 2, it will be > rounded down to the nearest power of 2). > If XBZRLE cache size is too small there will be many cache miss. > > New query-migrate-cache-size QMP command and

Re: [Qemu-devel] [PATCH 30/34] qemu-ga: switch to the new error format on the wire

2012-08-03 Thread Luiz Capitulino
On Fri, 03 Aug 2012 11:56:29 -0600 Eric Blake wrote: > On 08/03/2012 11:44 AM, Michael Roth wrote: > > On Wed, Aug 01, 2012 at 10:02:50PM -0300, Luiz Capitulino wrote: > >> IMPORTANT: this BREAKS qemu-ga compatibility for the error response. > >> > >> Instead of returning something like: > >> > >

Re: [Qemu-devel] [PATCH v6 5/7] add the QKeyCode enum and the key_defs table

2012-08-03 Thread Andreas Färber
Am 03.08.2012 15:32, schrieb Luiz Capitulino: > On Fri, 3 Aug 2012 10:48:40 +0800 > Amos Kong wrote: > >> key_defs[] in monitor.c is a mapping table of keys and keycodes, >> this patch added a QKeyCode enum and a new key_defs table, >> Key's index in the enmu is same as keycode's index in new ke

Re: [Qemu-devel] [PATCH 30/34] qemu-ga: switch to the new error format on the wire

2012-08-03 Thread Eric Blake
On 08/03/2012 11:44 AM, Michael Roth wrote: > On Wed, Aug 01, 2012 at 10:02:50PM -0300, Luiz Capitulino wrote: >> IMPORTANT: this BREAKS qemu-ga compatibility for the error response. >> >> Instead of returning something like: >> >> { "error": { "class": "InvalidParameterValue", >> "dat

Re: [Qemu-devel] [PATCH 30/34] qemu-ga: switch to the new error format on the wire

2012-08-03 Thread Michael Roth
On Wed, Aug 01, 2012 at 10:02:50PM -0300, Luiz Capitulino wrote: > IMPORTANT: this BREAKS qemu-ga compatibility for the error response. > > Instead of returning something like: > > { "error": { "class": "InvalidParameterValue", > "data": {"name": "mode", "expected": "halt|powerdown|r

Re: [Qemu-devel] [PATCH v6 1/6] qemu-char: Add MSG_CMSG_CLOEXEC flag to recvmsg

2012-08-03 Thread Corey Bryant
If these patches are acceptable, I'll resend and get the version history out of the commit message. -- Regards, Corey On 08/03/2012 01:28 PM, Corey Bryant wrote: Set the close-on-exec flag for the file descriptor received via SCM_RIGHTS. v4 -This patch is new in v4 (ebl...@redhat.com) v5

[Qemu-devel] [PATCH v6 0/6] file descriptor passing using fd sets

2012-08-03 Thread Corey Bryant
libvirt's sVirt security driver provides SELinux MAC isolation for Qemu guest processes and their corresponding image files. In other words, sVirt uses SELinux to prevent a QEMU process from opening files that do not belong to it. sVirt provides this support by labeling guests and resources with

[Qemu-devel] [PATCH v6 4/6] block: Convert open calls to qemu_open

2012-08-03 Thread Corey Bryant
This patch converts all block layer open calls to qemu_open. Note that this adds the O_CLOEXEC flag to the changed open paths when the O_CLOEXEC macro is defined. Signed-off-by: Corey Bryant --- v2: -Convert calls to qemu_open instead of file_open (kw...@redhat.com) -Mention introduction of O_

[Qemu-devel] [PATCH v6 6/6] block: Enable qemu_open/close to work with fd sets

2012-08-03 Thread Corey Bryant
When qemu_open is passed a filename of the "/dev/fdset/nnn" format (where nnn is the fdset ID), an fd with matching access mode flags will be searched for within the specified monitor fd set. If the fd is found, a dup of the fd will be returned from qemu_open. Each fd set has a reference count.

[Qemu-devel] [PATCH v6 2/6] qapi: Introduce add-fd, remove-fd, query-fdsets

2012-08-03 Thread Corey Bryant
This patch adds support that enables passing of file descriptors to the QEMU monitor where they will be stored in specified file descriptor sets. A file descriptor set can be used by a client like libvirt to store file descriptors for the same file. This allows the client to open a file with diff

[Qemu-devel] [PATCH v6 1/6] qemu-char: Add MSG_CMSG_CLOEXEC flag to recvmsg

2012-08-03 Thread Corey Bryant
Set the close-on-exec flag for the file descriptor received via SCM_RIGHTS. v4 -This patch is new in v4 (ebl...@redhat.com) v5 -Fallback to FD_CLOEXEC if MSG_CMSG_CLOEXEC is not available (ebl...@redhat.com, stefa...@linux.vnet.ibm.com) v6 -Set cloexec on correct fd (ebl...@redhat.com) Sig

[Qemu-devel] [PATCH v6 5/6] block: Convert close calls to qemu_close

2012-08-03 Thread Corey Bryant
This patch converts all block layer close calls, that correspond to qemu_open calls, to qemu_close. v5: -This patch is new in v5. (kw...@redhat.com, ebl...@redhat.com) v6: -No changes Signed-off-by: Corey Bryant --- block/raw-posix.c | 24 block/raw-win32.c |2

[Qemu-devel] [PATCH v6 3/6] monitor: Clean up fd sets on monitor disconnect

2012-08-03 Thread Corey Bryant
Each fd set has a boolean that keeps track of whether or not the fd set is in use by a monitor connection. When a monitor disconnects, all fds that are members of an fd set with refcount of zero are closed. This prevents any fd leakage associated with a client disconnect prior to using a passed f

[Qemu-devel] [Bug 929638] Re: qemu 1.0 unable to compile on the pandaboard ES

2012-08-03 Thread Samuel Bronson
** Tags added: arm -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/929638 Title: qemu 1.0 unable to compile on the pandaboard ES Status in QEMU: Incomplete Bug description: root@omap:/home/mari

[Qemu-devel] [Bug 1020309] Re: qemu-system-ppc: no keyboard after savevm/loadvm

2012-08-03 Thread Samuel Bronson
** Tags added: ppc savevm -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1020309 Title: qemu-system-ppc: no keyboard after savevm/loadvm Status in QEMU: New Bug description: Here the steps to

Re: [Qemu-devel] [PATCH 02/11] Add migrate-set-capabilities and query-migrate-capabilities

2012-08-03 Thread Luiz Capitulino
On Thu, 2 Aug 2012 15:44:45 +0300 Orit Wasserman wrote: > The management can enable/disable a capability for the next migration by using > migrate-set-apabilities QMP command. > The management can query the current migration capabilities using > query-migrate-capabilities QMP command. > The user

[Qemu-devel] [Bug 811683] Re: 7400, 7410, 7450 cpus vector have wrong exception prefix at reset

2012-08-03 Thread Samuel Bronson
** Tags added: exceptions ppc -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/811683 Title: 7400,7410,7450 cpus vector have wrong exception prefix at reset Status in QEMU: New Bug description:

[Qemu-devel] [Bug 623852] Re: PPC emulation loops on booting a FreeBSD kernel

2012-08-03 Thread Samuel Bronson
** Tags added: openbios ppc -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/623852 Title: PPC emulation loops on booting a FreeBSD kernel Status in QEMU: New Bug description: Has anyone tried b

[Qemu-devel] [Bug 833658] Re: Qemu ppc does not boot Debian 3.1r8

2012-08-03 Thread Samuel Bronson
** Tags added: ppc -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/833658 Title: Qemu ppc does not boot Debian 3.1r8 Status in QEMU: New Bug description: I tried booting the official image debi

[Qemu-devel] [Bug 681613] Re: Failed to convert vmdk on MacOSX ppc

2012-08-03 Thread Samuel Bronson
** Tags added: big-endian endian ppc -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/681613 Title: Failed to convert vmdk on MacOSX ppc Status in QEMU: New Bug description: qemu-img -O vmdk raw

Re: [Qemu-devel] [PATCH 01/11] Add migration capabilities

2012-08-03 Thread Luiz Capitulino
On Thu, 2 Aug 2012 15:44:44 +0300 Orit Wasserman wrote: > Add migration capabilities that can be queried by the management using > query-migration-supported-capabilities command. > The management can query the source QEMU and the destination QEMU in order to > verify both support some migration

[Qemu-devel] [PATCH 4/4] hmp: show the backing file depth

2012-08-03 Thread Luiz Capitulino
From: Benoît Canet Signed-off-by: Benoit Canet Reviewed-by: Eric Blake Signed-off-by: Luiz Capitulino --- hmp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hmp.c b/hmp.c index 6b72a64..25688ab 100644 --- a/hmp.c +++ b/hmp.c @@ -227,6 +227,8 @@ void hmp_info_block(Monitor *mon)

[Qemu-devel] [PATCH 2/4] block: create bdrv_get_backing_file_depth()

2012-08-03 Thread Luiz Capitulino
From: Benoît Canet Create bdrv_get_backing_file_depth() in order to be able to show in QMP and HMP how many ancestors backing an image a block device have. Signed-off-by: Benoit Canet Reviewed-by: Eric Blake Signed-off-by: Luiz Capitulino --- block.c | 13 + block.h | 1 + 2 fil

[Qemu-devel] [PATCH 3/4] block: Use bdrv_get_backing_file_depth()

2012-08-03 Thread Luiz Capitulino
From: Benoît Canet Use the dedicated counting function in qmp_query_block in order to propagate the backing file depth to HMP and add backing_file_depth to qmp-commands.hx Signed-off-by: Benoit Canet Reviewed-by: Eric Blake Signed-off-by: Luiz Capitulino --- block.c | 3 +++ qapi-sc

[Qemu-devel] [PATCH 1/4] qapi: qapi.py: allow the "'" character to be escaped

2012-08-03 Thread Luiz Capitulino
Support escaping the escape character, and make more robust (don't die for '', handle ' without matching '. Signed-off-by: Markus Armbruster Reviewed-by: Peter Maydell Signed-off-by: Luiz Capitulino --- scripts/qapi.py | 31 +-- 1 file changed, 21 insertions(+), 10

[Qemu-devel] [PULL 0/4]: QMP queue

2012-08-03 Thread Luiz Capitulino
A qapi fix from Markus and a new field to query-block by Benoit. The changes (since 02d2bd5d57812154cfb978bc2098cf49d551583d) are available in the following repository: git://repo.or.cz/qemu/qmp-unstable.git queue/qmp Benoît Canet (3): block: create bdrv_get_backing_file_depth()

Re: [Qemu-devel] [BUG] BSOD on Win2003 Server when 64bit PCI resource is present

2012-08-03 Thread Paolo Bonzini
Il 26/07/2012 17:38, Alexey Korolev ha scritto: > HI, > > Current version of Seabios is causing blue screen on Windows2003 when 64bit > PCI resource is present and occupies high memory. > > BSOD Error code is: 0x00A5 (0x02, 0xfADF6A446880, 0x1, > 0xFADFAA34690) > > The issue is loc

Re: [Qemu-devel] [PATCH 2/2] pseries: Use new hook to correct reset sequence

2012-08-03 Thread Anthony Liguori
Andreas Färber writes: > Am 02.08.2012 21:40, schrieb Anthony Liguori: >> Reset propagates. There is unanimous consensus that this is the Right >> Way to model reset. There is also wide consensus that reset typically >> will propagate through the composition tree although in some cases, >> rese

[Qemu-devel] [untested PATCH] virtio: fix vhost handling

2012-08-03 Thread Paolo Bonzini
Commit b1f416aa8d870fab71030abc9401cfc77b948e8e breaks vhost_net because it always registers the virtio_pci_host_notifier_read() handler function on the ioeventfd, even when vhost_net.ko is using the ioeventfd. The result is both QEMU and vhost_net.ko polling on the same eventfd and the virtio_net.

Re: [Qemu-devel] [RFC 00/12] Qorum disk image corruption resiliency

2012-08-03 Thread Blue Swirl
On Thu, Aug 2, 2012 at 10:16 AM, Benoît Canet wrote: > This patchset create a block driver implementing a qorum using three qemu disk > images. Writes are mirrored on the three files. > For the reading part the three files are read at the same time and a vote is > done to determine which is the ma

Re: [Qemu-devel] [PATCH v4 2/2] block: Support GlusterFS as a QEMU block backend

2012-08-03 Thread Blue Swirl
On Thu, Aug 2, 2012 at 3:55 AM, Bharata B Rao wrote: > On Wed, Aug 01, 2012 at 06:35:22PM +, Blue Swirl wrote: >> > + >> > +if (!transport) { >> > +uri->transport = strdup("socket"); >> >> g_strdup > > Sorry about that, pitfalls of developing the parsing code out of line :( > >> >

Re: [Qemu-devel] [PATCH 3/7] s390: sclp base support

2012-08-03 Thread Andreas Färber
Am 24.07.2012 09:37, schrieb Christian Borntraeger: > diff --git a/hw/s390x/sclp.c b/hw/s390x/sclp.c > new file mode 100644 > index 000..4095ba6 > --- /dev/null > +++ b/hw/s390x/sclp.c [...] > + > +static TypeInfo s390_sclp_bridge_info = { Two minor comments: static const please. > +.nam

Re: [Qemu-devel] [PATCH v2][RFC] Add compare subcommand for qemu-img

2012-08-03 Thread Eric Blake
On 08/03/2012 12:45 AM, Miroslav Rezanina wrote: > This is second version of patch adding compare subcommand that compares two > images. Compare has following criteria: > - only data part is compared > - unallocated sectors are not read > - in case of different image size, exceeding part of big

Re: [Qemu-devel] [PATCH 2/2] pseries: Use new hook to correct reset sequence

2012-08-03 Thread Andreas Färber
Am 03.08.2012 04:31, schrieb David Gibson: > On Thu, Aug 02, 2012 at 05:44:49PM +0200, Andreas Färber wrote: >> Am 02.08.2012 04:10, schrieb David Gibson: >>> A number of things need to occur during reset of the PAPR paravirtualized >>> platform in a specific order. For example, the hash table nee

Re: [Qemu-devel] [PATCH 2/2] pseries: Use new hook to correct reset sequence

2012-08-03 Thread Andreas Färber
Am 02.08.2012 21:40, schrieb Anthony Liguori: > Reset propagates. There is unanimous consensus that this is the Right > Way to model reset. There is also wide consensus that reset typically > will propagate through the composition tree although in some cases, > reset actually propagates through t

[Qemu-devel] [PATCH] Revert "virtio: move common ioeventfd handling out of virtio-pci"

2012-08-03 Thread Stefan Hajnoczi
This reverts commit b1f416aa8d870fab71030abc9401cfc77b948e8e. The above commit breaks vhost_net because it always registers the virtio_pci_host_notifier_read() handler function on the ioeventfd, even when vhost_net.ko is using the ioeventfd. The result is both QEMU and vhost_net.ko polling on the

Re: [Qemu-devel] [PATCH 2/2] pseries: Use new hook to correct reset sequence

2012-08-03 Thread Andreas Färber
Am 02.08.2012 21:40, schrieb Anthony Liguori: > Andreas Färber writes: > >> Am 02.08.2012 20:29, schrieb Anthony Liguori: >>> Andreas Färber writes: >>> Anthony was favoring moving reset code out of machines and expressed dislike for looping through CPUs, which my above patch took into

Re: [Qemu-devel] [PATCH 2/2] pseries: Use new hook to correct reset sequence

2012-08-03 Thread Peter Maydell
On 3 August 2012 15:22, Anthony Liguori wrote: > Peter Maydell writes: >> On 3 August 2012 14:50, Anthony Liguori wrote: >>> There ought to be a hierarchy (based on composition) that reset flows >>> through. >> >> I think saying "the reset tree is isomorphic to the composition tree" >> is making

Re: [Qemu-devel] [PATCH 2/2] pseries: Use new hook to correct reset sequence

2012-08-03 Thread Anthony Liguori
Peter Maydell writes: > On 3 August 2012 14:50, Anthony Liguori wrote: >> There ought to be a hierarchy (based on composition) that reset flows >> through. > > I think saying "the reset tree is isomorphic to the composition tree" > is making the same mistake that qbus did with "the bus tree is >

Re: [Qemu-devel] [PATCH 2/2] pseries: Use new hook to correct reset sequence

2012-08-03 Thread Peter Maydell
On 3 August 2012 14:50, Anthony Liguori wrote: > There ought to be a hierarchy (based on composition) that reset flows > through. I think saying "the reset tree is isomorphic to the composition tree" is making the same mistake that qbus did with "the bus tree is isomorphic to the composition tree

Re: [Qemu-devel] [PATCH 2/2] pseries: Use new hook to correct reset sequence

2012-08-03 Thread Anthony Liguori
David Gibson writes: > On Thu, Aug 02, 2012 at 02:40:19PM -0500, Anthony Liguori wrote: >> The "root" of the composition tree is the machine. The machine in the >> abstract sense, not the QEMUMachine sense. QEMUMachine::init() should >> eventually become trivial--just create a handful of device

Re: [Qemu-devel] Cirrus bugs vs endian: how two bugs cancel each other out

2012-08-03 Thread Anthony Liguori
Alon Levy writes: > On Wed, Aug 01, 2012 at 02:22:37PM -0500, Anthony Liguori wrote: >> Andreas Färber writes: >> >> > Am 30.07.2012 18:19, schrieb Alon Levy: >> >> On Mon, Jul 30, 2012 at 09:54:27PM +1000, Benjamin Herrenschmidt wrote: >> >>> On Mon, 2012-07-30 at 14:25 +0300, Avi Kivity wrote

  1   2   >