[Qemu-devel] [Bug 709584] [NEW] Fullscreen mode splits screen over monitor boundaries on dual-monitor system

2011-01-28 Thread Brion Vibber
Public bug reported: I originally reported this for the Android SDK emulator, which is built on QEMU: http://code.google.com/p/android/issues/detail?id=14336 Can confirm that this bug is present in stock QEMU shipped with Ubuntu 10.10: QEMU PC emulator version 0.12.5 (qemu-kvm-0.12.5), Copyright

[Qemu-devel] Re: [PATCH] raw-win32: Fix bdrv_flush return value

2011-01-28 Thread TeLeMan
Thanks, It works very well on win7 and winxp. -- SUN OF A BEACH On Fri, Jan 28, 2011 at 23:04, Kevin Wolf wrote: > Reported-by: TeLeMan > Signed-off-by: Kevin Wolf > --- > > Hi TeLeMan, > > this seems to be the bug that was exposed by the recent qcow2 cache changes. > Can you give it a try on

Re: [Qemu-devel] QEMU icon

2011-01-28 Thread Stefan Weil
Am 28.01.2011 23:19, schrieb Alexander Graf: On 28.01.2011, at 23:07, Blue Swirl wrote: On Thu, Jan 27, 2011 at 9:18 PM, Stefan Weil > wrote: http://qemu.weilnetz.de/icon/ shows several color variations and uses a red/blue favicon for the web page. Here's some mo

Re: [Qemu-devel] [PATCH] SPARC: Fix Leon3 cache control

2011-01-28 Thread Blue Swirl
On Fri, Jan 28, 2011 at 1:55 PM, Fabien Chouteau wrote: > On 01/27/2011 11:40 AM, Fabien Chouteau wrote: >> >> The "leon3_cache_control_int" (op_helper.c) function is called within >> leon3.c >> which leads to segfault error with the global "env". >> >> Now cache control is a CPU feature and every

Re: [Qemu-devel] QEMU icon

2011-01-28 Thread Alexander Graf
On 28.01.2011, at 23:07, Blue Swirl wrote: > On Thu, Jan 27, 2011 at 9:18 PM, Stefan Weil wrote: >> Am 27.01.2011 07:24, schrieb Mulyadi Santosa: >>> >>> On Thu, Jan 27, 2011 at 02:18, Stefan Weil wrote: Since some time, I urgently wanted to have an icon for QEMU. As I did not

[Qemu-devel] Comparing New Image Formats: FVD vs. QED

2011-01-28 Thread Chunqiang Tang
Hi Anthony, As you requested, I set up a wiki page for FVD at http://wiki.qemu.org/Features/FVD . It includes a summary of FVD, a detailed specification of FVD, and a comparison of the design and performance of FVD and QED. I copied the comparison part below for easy reference. =

Re: [Qemu-devel] QEMU icon

2011-01-28 Thread Blue Swirl
On Thu, Jan 27, 2011 at 9:18 PM, Stefan Weil wrote: > Am 27.01.2011 07:24, schrieb Mulyadi Santosa: >> >> On Thu, Jan 27, 2011 at 02:18, Stefan Weil wrote: >>> >>> Since some time, I urgently wanted to have an icon for QEMU. >>> As I did not find one, I tried to design one, and here is the >>> cu

Re: [Qemu-devel] [PATCH] Sun4m / Sun4u : Uppercase RAM_size

2011-01-28 Thread Blue Swirl
On Thu, Jan 27, 2011 at 7:07 PM, Olivier DANET wrote: Please instead describe the patch with something like using the upper case version is more correct because it is the argument of the function. The patch is OK, except that the non-breaking space (0xa0 or UTF-8 0xc2 0xa0) characters confuse gi

Re: [Qemu-devel] [PATCH 1/3] FVD: Added support for 'qemu-img update'

2011-01-28 Thread Chunqiang Tang
> It should be possible to change prefetching and copy-on-read while the > VM is running. For example, having to shut down a VM in order to > pause the prefetching is not workable. In the QED image streaming > tree there are monitor commands for this: > > http://repo.or.cz/w/qemu/stefanha.git/sh

Re: [Qemu-devel] [PATCH] ESP : Fix status register update

2011-01-28 Thread Blue Swirl
On Thu, Jan 27, 2011 at 7:06 PM, Olivier DANET wrote: > > The Count to zero flag (STAT_TC) must not be cleared after an Interrupt Status > register read. This is not what the patch is supposed to do, STAT_TC is already not cleared. I think you are trying to save Phase bits (2 to 0). > > Signed-o

[Qemu-devel] Re: [PATCH] escc: fix interrupt flags

2011-01-28 Thread Blue Swirl
On Thu, Jan 27, 2011 at 7:32 AM, Aurelien Jarno wrote: > Recent PowerPC kernel end up in kernel panic during boot in -nographic > mode. In this mode the second serial port is used as the udbg console, > and thus a few characters are sent on this port. This activates the > tx interrupt flag, and la

Re: [Qemu-devel] Re: [PATCH 4/8] vnc: fix numlock+capslock tracking

2011-01-28 Thread Anthony Liguori
On 01/28/2011 01:58 PM, Gerd Hoffmann wrote: Hi, This should be 1/8 or 2/8 in the series. Also, perhaps these four could go in 0.14? The USB device are really much more usable (especially the keyboard) with them. IMHO the whole series should go to 0.14, otherwise the remote wakeup support

[Qemu-devel] Google Summer of Code 2011

2011-01-28 Thread Luiz Capitulino
Hi there, GSoC 2011 has been announced[1]. As we were pretty successful last year, I think we should participate again. I've already created a wiki page: http://wiki.qemu.org/Google_Summer_of_Code_2011 We should now populate it with projects and people willing to be mentors should say so (or ju

[Qemu-devel] Re: [PATCH 4/8] vnc: fix numlock+capslock tracking

2011-01-28 Thread Gerd Hoffmann
Hi, This should be 1/8 or 2/8 in the series. Also, perhaps these four could go in 0.14? The USB device are really much more usable (especially the keyboard) with them. IMHO the whole series should go to 0.14, otherwise the remote wakeup support added recently will simply not play together

[Qemu-devel] Re: [PATCH] qed: Images with backing file do not require QED_F_NEED_CHECK

2011-01-28 Thread Kevin Wolf
Am 28.01.2011 18:11, schrieb Stefan Hajnoczi: > The consistency check on open is necessary in order to fix inconsistent > table offsets left as a result of a crash mid-operation. Images with a > backing file actually flush before updating table offsets and are > therefore guaranteed to be consiste

[Qemu-devel] [PATCH] Allow "-cpu [check|enforce]" to be used implicitly with default CPU model.

2011-01-28 Thread john cooper
Launching qemu with "-cpu [check|enforce]" without explicitly prefixing a valid model name doesn't do as intuitively expected. Rather qemu exits with a CLI parse error. Unfortunately due to qemu's CLI argument parsing structure and the fact cpu models are initialized depending on build configurati

[Qemu-devel] [PATCH v2] ui: Load QEMU icon from SDL user interface

2011-01-28 Thread Stefan Weil
Load an optional QEMU icon file. If there is no icon file named qemu-icon.bmp in QEMU's default search path, QEMU will run with the usual system default icon. A matching icon file will be loaded and used by X Windows managers or MS Windows while a QEMU instance is running. SDL requires icon file

[Qemu-devel] X86 Debian <== guest ... ARM based Linux <== host ?

2011-01-28 Thread AGSCalabrese
Is it possible to run X86 Debian as a guest where ARM based Linux is the host ? I have a GuruPlug ( ARM based ) running Ubuntu. http://www.globalscaletechnologies.com/t-guruplugdetails.aspx I would like to run RealBasic software ( Linux version ) which only runs on the X86 architecture. http://w

[Qemu-devel] [Bug 697197] Re: Empty password allows access to VNC in libvirt

2011-01-28 Thread Neil Wilson
This fault probably affects all the current versions of qemu-kvm. It's present in 0.11 and the current qemu master branch. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/697197 Title: Empty password

[Qemu-devel] [Bug 697197] Re: Empty password allows access to VNC in libvirt

2011-01-28 Thread Neil Wilson
Installed patched build onto Maverick server. vnc_listen set to 0.0.0.0 in /etc/libvirt/qemu.conf Set vnc_password=""' with vnc_tls=1 in /etc/libvirt/qemu.conf and confirmed that the lanched server now rejects authentication for any password, whereas it turned off authentication and encryption com

[Qemu-devel] [Bug 697197] Re: Empty password allows access to VNC in libvirt

2011-01-28 Thread Neil Wilson
Please sponsor for upload -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/697197 Title: Empty password allows access to VNC in libvirt Status in libvirt virtualization API: Unknown Status in QEMU:

[Qemu-devel] [Bug 697197] Re: Empty password allows access to VNC in libvirt

2011-01-28 Thread Neil Wilson
** Patch added: "qemu-kvm_0.12.5+noroms-0ubuntu7.2.debdiff" https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/697197/+attachment/1812796/+files/qemu-kvm_0.12.5%2Bnoroms-0ubuntu7.2.debdiff ** Tags added: patch -- You received this bug notification because you are a member of qemu- devel

Re: [Qemu-devel] [PATCHv8 12/16] Add bootindex parameter to net/block/fd device

2011-01-28 Thread Markus Armbruster
Gleb Natapov writes: > On Fri, Jan 28, 2011 at 02:29:50PM +0100, Markus Armbruster wrote: >> Gleb Natapov writes: >> >> > If bootindex is specified on command line a string that describes device >> > in firmware readable way is added into sorted list. Later this list will >> > be passed into fi

[Qemu-devel] [PATCH] qed: Images with backing file do not require QED_F_NEED_CHECK

2011-01-28 Thread Stefan Hajnoczi
The consistency check on open is necessary in order to fix inconsistent table offsets left as a result of a crash mid-operation. Images with a backing file actually flush before updating table offsets and are therefore guaranteed to be consistent. Do not mark these images dirty. Signed-off-by: S

[Qemu-devel] New machine?

2011-01-28 Thread Comicinker
Hi, I want to boot a embedded linux environment in qemu, namely xxsvideo [1]. It is for an arm based fujitsu development board [2]. The toolchain provideds finally 3 files to flash the target device: - comicinker@hardy:~/workspace/jade_rootfs_build-0.8.5/images$ ls -lh insgesamt 5,4M -rw-r-

Re: [Qemu-devel] Re: [0.14] Queue of 0.14 patches/pull?

2011-01-28 Thread Anthony Liguori
On 01/28/2011 07:33 AM, Paolo Bonzini wrote: On 01/28/2011 11:00 AM, Michael Tokarev wrote: 28.01.2011 11:06, Yoshiaki Tamura wrote: [] I would like Kemari to be included for 0.14. Thanks to many valuable comments from various reviewers, it got better than ever, I believe. For those who may o

Re: [Qemu-devel] [PATCH v4] New trace-event backend: stderr

2011-01-28 Thread Stefan Hajnoczi
On Fri, Jan 28, 2011 at 1:55 PM, Fabien Chouteau wrote: > On 01/27/2011 10:24 AM, Fabien Chouteau wrote: >> >> This backend sends trace events to standard error output during the >> emulation. >> >> Also add a "--list-backends" option to tracetool, so configure script can >> display the list of av

Re: [Qemu-devel] [PATCH 1/3] FVD: Added support for 'qemu-img update'

2011-01-28 Thread Stefan Hajnoczi
On Fri, Jan 28, 2011 at 2:51 PM, Chunqiang Tang wrote: >> On Fri, Jan 21, 2011 at 05:19:13PM -0500, Chunqiang Tang wrote: >> > This patch adds the 'update' command to qemu-img. FVD stores various >> > image-specific configurable parameters in the image header. A user can > use >> > 'qemu-img updat

Re: [Qemu-devel] [PATCH 0/1] qemu-system-$ARCH incompatible with qemu-kvm and bus=pci.0 parameter

2011-01-28 Thread Daniel P. Berrange
On Fri, Jan 28, 2011 at 03:54:01PM +, Niels de Vos wrote: > Hi there, > > obviously qemu-system-$ARCH, qemu-kvm and libvirt disagree about the most > suitable name for the PCI-bus. qemu-kvm and libvirt work nicely together by > using "pci.0" as name. Unfortunately libvirt seems to assume that

[Qemu-devel] Re: Qemu-img create problem

2011-01-28 Thread Stefan Hajnoczi
On Fri, Jan 28, 2011 at 1:13 PM, Himanshu Chauhan wrote: > I just cloned qemu-kvm, built and installed it. But the qemu-img fails > to create any disk image above 1G. The problem as I see is use of > ssize_t for image size. When size is >2G, the check "if (sval < 0)" > succeeds and I get the error

[Qemu-devel] [Bug 697197] Re: Empty password allows access to VNC in libvirt

2011-01-28 Thread Launchpad Bug Tracker
** Branch linked: lp:~brightbox/ubuntu/maverick/qemu-kvm/qemu- kvm.fix-697197 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/697197 Title: Empty password allows access to VNC in libvirt Status in l

[Qemu-devel] [PATCH 1/1] Use "pci.0" as bus->name for PCI-busses like qemu-kvm does already

2011-01-28 Thread Niels de Vos
From: Niels de Vos This should fix issues with qemu-system-{arm,ppc} and possibly others where libvirt passes bus=pci.0 in the -device options. Reference: - https://bugzilla.redhat.com/show_bug.cgi?id=667345 Signed-off-by: Niels de Vos --- hw/apb_pci.c |2 +- hw/bonito.c|

Re: [Qemu-devel] [PATCH 0/8] target-arm: Fix Neon instructions VQMOVUN VQRSHL VQRSHRN VQRSHRUN VQSHRN VQSHRUN VSLI VSRI

2011-01-28 Thread Peter Maydell
On 28 January 2011 15:50, wrote: > Peter Maydell (4): >  Create and use neon_unarrow_sat* helpers >  VQRSHRN related changes >  fiddle decoding of 64 bit shift by imm and narrow >  implement vsli.64, vsri.64 These aren't actually by me, you're just importing the patches from that tree where I in

Re: [Qemu-devel] [PATCHv8 12/16] Add bootindex parameter to net/block/fd device

2011-01-28 Thread Gleb Natapov
On Fri, Jan 28, 2011 at 02:29:50PM +0100, Markus Armbruster wrote: > Gleb Natapov writes: > > > If bootindex is specified on command line a string that describes device > > in firmware readable way is added into sorted list. Later this list will > > be passed into firmware to control boot order.

[Qemu-devel] [PATCH 8/8] target-arm: Fix VQRSHL Neon instructions (signed/unsigned 64 bits and signed 32 bits variants).

2011-01-28 Thread christophe.lyon
From: Christophe Lyon The addition of the rounding constant could cause overflows. Signed-off-by: Christophe Lyon --- target-arm/neon_helper.c | 50 ++--- 1 files changed, 46 insertions(+), 4 deletions(-) diff --git a/target-arm/neon_helper.c b/target

[Qemu-devel] [PATCH 0/1] qemu-system-$ARCH incompatible with qemu-kvm and bus=pci.0 parameter

2011-01-28 Thread Niels de Vos
Hi there, obviously qemu-system-$ARCH, qemu-kvm and libvirt disagree about the most suitable name for the PCI-bus. qemu-kvm and libvirt work nicely together by using "pci.0" as name. Unfortunately libvirt seems to assume that also for qemu-system-$ARCH the name "pci.0" should be passed on the comm

[Qemu-devel] [PATCH 2/8] target-arm: Create and use neon_unarrow_sat* helpers

2011-01-28 Thread christophe.lyon
From: Christophe Lyon Fix VQMOVUN, improve VQSHRUN and VQRSHRUN. Signed-off-by: Peter Maydell Signed-off-by: Christophe Lyon --- target-arm/helpers.h |3 ++ target-arm/neon_helper.c | 63 ++ target-arm/translate.c | 43

[Qemu-devel] [PATCH 3/8] target-arm: VQRSHRN related changes

2011-01-28 Thread christophe.lyon
From: Christophe Lyon More fixes for VQSHRN and VQSHRUN. Signed-off-by: Peter Maydell Signed-off-by: Christophe Lyon --- target-arm/translate.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target-arm/translate.c b/target-arm/translate.c index cda5a73..3537698 10

[Qemu-devel] [PATCH 5/8] target-arm: fix neon vqrshl instruction

2011-01-28 Thread christophe.lyon
From: Christophe Lyon Signed-off-by: Juha Riihimäki Signed-off-by: Christophe Lyon --- target-arm/neon_helper.c | 21 ++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/target-arm/neon_helper.c b/target-arm/neon_helper.c index 71e3c74..3337c52 100644 --- a/

[Qemu-devel] [PATCH 6/8] target-arm: Fix Neon VQ(R)SHRN instructions.

2011-01-28 Thread christophe.lyon
From: Christophe Lyon Handle unsigned variant of VQ(R)SHRN instructions. Signed-off-by: Christophe Lyon --- target-arm/translate.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/target-arm/translate.c b/target-arm/translate.c index 452cb71..3b14b8f 100644 --- a

[Qemu-devel] [PATCH 7/8] implement vsli.64, vsri.64

2011-01-28 Thread christophe.lyon
From: Christophe Lyon Signed-off-by: Peter Maydell Signed-off-by: Christophe Lyon --- target-arm/translate.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/target-arm/translate.c b/target-arm/translate.c index 3b14b8f..984df08 100644 --- a/target-arm/transl

[Qemu-devel] [PATCH 1/8] target-arm: Fixes for several shift instructions: VRSHL, VRSHR, VRSHRN, VSHLL, VRSRA.

2011-01-28 Thread christophe.lyon
From: Christophe Lyon Handle corner cases where the addition of the rounding constant could cause overflows. Signed-off-by: Christophe Lyon --- target-arm/neon_helper.c | 61 ++--- target-arm/translate.c | 17 ++-- 2 files changed, 65 inser

[Qemu-devel] [PATCH 4/8] target-arm: fiddle decoding of 64 bit shift by imm and narrow

2011-01-28 Thread christophe.lyon
From: Christophe Lyon Tweak decoding of the shift-by-imm and narrow 64 bit insns (VSHRN, VRSHRN, VQSHRN, VQSHRUN, VQRSHRN, VQRSHRUN). Signed-off-by: Peter Maydell Signed-off-by: Christophe Lyon --- target-arm/translate.c | 28 ++-- 1 files changed, 18 insertions(+),

[Qemu-devel] [PATCH 0/8] target-arm: Fix Neon instructions VQMOVUN VQRSHL VQRSHRN VQRSHRUN VQSHRN VQSHRUN VSLI VSRI

2011-01-28 Thread christophe.lyon
From: Christophe Lyon This patchset combines fixes from the Meego tree (Peter Maydell, Juha Riihimäki) and my own fixes such that ARM Neon instructions VQMOVUN VQRSHL VQRSHRN VQRSHRUN VQSHRN VQSHRUN VSLI VSRI now pass all my tests. Christophe Lyon (3): Fixes for several shift instructions: VRS

Re: [Qemu-devel] [PATCH 1/2] Add bootindex handling into usb storage device.

2011-01-28 Thread Gleb Natapov
On Fri, Jan 28, 2011 at 02:34:19PM +0100, Markus Armbruster wrote: > Gleb Natapov writes: > > > Signed-off-by: Gleb Natapov > > --- > > hw/usb-msd.c |2 ++ > > 1 files changed, 2 insertions(+), 0 deletions(-) > > > > diff --git a/hw/usb-msd.c b/hw/usb-msd.c > > index 0a95d8d..46642a8 100644

Re: [Qemu-devel] Re: [PATCH 19/19] migration: add a parser to accept FT migration incoming mode.

2011-01-28 Thread Paolo Bonzini
On 01/28/2011 04:05 PM, Yoshiaki Tamura wrote: Having a scheme like "kemari:tcp:host:port" looks quite challenging to me. We can of course add some quick hacks for it, but adding a nice layered architecture should be more appropriate. Similar to protocols and formats in block layer? At the same

Re: [Qemu-devel] Re: [PATCH 19/19] migration: add a parser to accept FT migration incoming mode.

2011-01-28 Thread Paolo Bonzini
On 01/28/2011 04:31 PM, Yoshiaki Tamura wrote: That's the hack I was imaging:) So your original patch is also a hack? :) Maybe this is just an issue of preference, but I'm not sure adding "kemari:" to be intuitive. If there were similar extensions having the same problem, I would have agreed

[Qemu-devel] [Bug 697197] Re: Empty password allows access to VNC in libvirt

2011-01-28 Thread Neil Wilson
The solution to this problem is to reverse the commit 52c18be9e99dabe295321153fda7fce9f76647ac in the main Qemu archive. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/697197 Title: Empty password a

Re: [Qemu-devel] Re: [PATCH 19/19] migration: add a parser to accept FT migration incoming mode.

2011-01-28 Thread Yoshiaki Tamura
2011/1/29 Paolo Bonzini : > On 01/28/2011 04:05 PM, Yoshiaki Tamura wrote: >> >> Having a scheme like "kemari:tcp:host:port" looks quite >> challenging to me.  We can of course add some quick hacks for it, >> but adding a nice layered architecture should be more >> appropriate.  Similar to protocol

Re: [Xen-devel] Re: [Qemu-devel] [PATCH V9 03/16] xen: Add a generic layer for xc calls

2011-01-28 Thread Alexander Graf
On 28.01.2011, at 16:09, Anthony PERARD wrote: > On Wed, Jan 26, 2011 at 22:49, Anthony Liguori wrote: >> On 01/25/2011 08:29 AM, anthony.per...@citrix.com wrote: >>> >>> From: Alexander Graf >>> >>> This patch adds a generic layer for xc calls, allowing us to choose >>> between the >>> xenne

[Qemu-devel] [Bug 697197] Re: Empty password allows access to VNC in libvirt

2011-01-28 Thread Neil Wilson
** Also affects: qemu Importance: Undecided Status: New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/697197 Title: Empty password allows access to VNC in libvirt Status in libvirt virtu

Re: [Xen-devel] Re: [Qemu-devel] [PATCH V9 03/16] xen: Add a generic layer for xc calls

2011-01-28 Thread Anthony PERARD
On Wed, Jan 26, 2011 at 22:49, Anthony Liguori wrote: > On 01/25/2011 08:29 AM, anthony.per...@citrix.com wrote: >> >> From: Alexander Graf >> >> This patch adds a generic layer for xc calls, allowing us to choose >> between the >> xenner and xen implementations at runtime. >> >> Signed-off-by: Al

Re: [Qemu-devel] Re: [PATCH 19/19] migration: add a parser to accept FT migration incoming mode.

2011-01-28 Thread Yoshiaki Tamura
2011/1/28 Paolo Bonzini : > On 01/28/2011 02:53 PM, Yoshiaki Tamura wrote: >>> >>> >  1) I am not sure what would happen with -incoming exec; >> >> Nothing happens if used with other protocols, but I assume you're >> mentioning that it's not clear from the code, which makes sense. > > I assume noth

[Qemu-devel] [PATCH] raw-win32: Fix bdrv_flush return value

2011-01-28 Thread Kevin Wolf
Reported-by: TeLeMan Signed-off-by: Kevin Wolf --- Hi TeLeMan, this seems to be the bug that was exposed by the recent qcow2 cache changes. Can you give it a try on a real Windows setup? I have tested it only on Wine so far. Kevin block/raw-win32.c |2 +- 1 files changed, 1 insertions(+

Re: [Qemu-devel] [PATCH 1/3] FVD: Added support for 'qemu-img update'

2011-01-28 Thread Chunqiang Tang
> On Fri, Jan 21, 2011 at 05:19:13PM -0500, Chunqiang Tang wrote: > > This patch adds the 'update' command to qemu-img. FVD stores various > > image-specific configurable parameters in the image header. A user can use > > 'qemu-img update' to modify those parameters and accordingly controls FVD's

[Qemu-devel] Re: [PATCH 19/19] migration: add a parser to accept FT migration incoming mode.

2011-01-28 Thread Paolo Bonzini
On 01/28/2011 02:53 PM, Yoshiaki Tamura wrote: > 1) I am not sure what would happen with -incoming exec; Nothing happens if used with other protocols, but I assume you're mentioning that it's not clear from the code, which makes sense. I assume nothing just because the code for other protoco

[Qemu-devel] Re: [PATCH 15/19] savevm: introduce qemu_savevm_trans_{begin, commit}.

2011-01-28 Thread Yoshiaki Tamura
2011/1/28 Paolo Bonzini : > On 01/28/2011 08:21 AM, Yoshiaki Tamura wrote: >> >> +int qemu_savevm_trans_begin(Monitor *mon, QEMUFile *f, int init) >> +{ >> +    SaveStateEntry *se; >> +    int skipped = 0; >> + >> +    QTAILQ_FOREACH(se,&savevm_handlers, entry) { >> +        int len, stage, ret; >>

Re: [Qemu-devel] Re: [0.14] Queue of 0.14 patches/pull?

2011-01-28 Thread Yoshiaki Tamura
2011/1/28 Paolo Bonzini : > On 01/28/2011 11:00 AM, Michael Tokarev wrote: >> >> 28.01.2011 11:06, Yoshiaki Tamura wrote: >> [] >>> >>> I would like Kemari to be included for 0.14.  Thanks to many >>> valuable comments from various reviewers, it got better than >>> ever, I believe.  For those who m

Re: [Qemu-devel] [PATCH] SPARC: Fix Leon3 cache control

2011-01-28 Thread Fabien Chouteau
On 01/27/2011 11:40 AM, Fabien Chouteau wrote: The "leon3_cache_control_int" (op_helper.c) function is called within leon3.c which leads to segfault error with the global "env". Now cache control is a CPU feature and everything is handled in op_helper.c. Signed-off-by: Fabien Chouteau --- hw/

Re: [Qemu-devel] [PATCH v4] New trace-event backend: stderr

2011-01-28 Thread Fabien Chouteau
On 01/27/2011 10:24 AM, Fabien Chouteau wrote: This backend sends trace events to standard error output during the emulation. Also add a "--list-backends" option to tracetool, so configure script can display the list of available backends. Signed-off-by: Fabien Chouteau --- configure

[Qemu-devel] Re: [PATCH 19/19] migration: add a parser to accept FT migration incoming mode.

2011-01-28 Thread Yoshiaki Tamura
2011/1/28 Paolo Bonzini : > On 01/28/2011 08:21 AM, Yoshiaki Tamura wrote: >> >> +    /* check ft_mode option  */ >> +    p = strstr(uri, "ft_mode"); >> +    if (p&&  !strcmp(p, "ft_mode")) { >> +        ft_mode = FT_INIT; >> +    } >> + > > This works for TCP mode, but: > > 1) I am not sure what w

[Qemu-devel] Re: [PATCH 7/8] configure: Fix spice probe

2011-01-28 Thread Paolo Bonzini
On 01/24/2011 05:20 PM, Gerd Hoffmann wrote: From: Jiri Denemark Non-existent $pkgconfig instead of $pkg_config was used when configure probes for spice availability. Signed-off-by: Jiri Denemark Signed-off-by: Gerd Hoffmann --- configure |6 +++--- 1 files changed, 3 insertions(+), 3 de

[Qemu-devel] Re: [PATCH 4/8] vnc: fix numlock+capslock tracking

2011-01-28 Thread Paolo Bonzini
On 01/24/2011 05:30 PM, Gerd Hoffmann wrote: This patch makes the numlock+capslock tracking logic only look at keydown events. Without this patch the vnc server will insert bogous capslock keypress in case it sees the following key sequence: shift down --- 'A' down --- shift up --- 'A' up

Re: [Qemu-devel] [PATCH 1/2] Add bootindex handling into usb storage device.

2011-01-28 Thread Markus Armbruster
Gleb Natapov writes: > Signed-off-by: Gleb Natapov > --- > hw/usb-msd.c |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/hw/usb-msd.c b/hw/usb-msd.c > index 0a95d8d..46642a8 100644 > --- a/hw/usb-msd.c > +++ b/hw/usb-msd.c > @@ -560,6 +560,7 @@ static int usb_msd_i

[Qemu-devel] Re: [0.14] Queue of 0.14 patches/pull?

2011-01-28 Thread Paolo Bonzini
On 01/28/2011 11:00 AM, Michael Tokarev wrote: 28.01.2011 11:06, Yoshiaki Tamura wrote: [] I would like Kemari to be included for 0.14. Thanks to many valuable comments from various reviewers, it got better than ever, I believe. For those who may object, it wouldn't affect any functions includ

Re: [Qemu-devel] [PATCHv8 12/16] Add bootindex parameter to net/block/fd device

2011-01-28 Thread Markus Armbruster
Gleb Natapov writes: > If bootindex is specified on command line a string that describes device > in firmware readable way is added into sorted list. Later this list will > be passed into firmware to control boot order. > > Signed-off-by: Gleb Natapov Out of curiosity: what about qdev "scsi-gen

[Qemu-devel] Re: [PATCH 15/19] savevm: introduce qemu_savevm_trans_{begin, commit}.

2011-01-28 Thread Paolo Bonzini
On 01/28/2011 08:21 AM, Yoshiaki Tamura wrote: +int qemu_savevm_trans_begin(Monitor *mon, QEMUFile *f, int init) +{ +SaveStateEntry *se; +int skipped = 0; + +QTAILQ_FOREACH(se,&savevm_handlers, entry) { +int len, stage, ret; + +if (se->save_live_state == NULL) { +

Re: [Qemu-devel] [PATCH 2/2] Add boot index documentation.

2011-01-28 Thread Markus Armbruster
Gleb Natapov writes: > Signed-off-by: Gleb Natapov > --- > docs/bootindex.txt | 42 ++ > 1 files changed, 42 insertions(+), 0 deletions(-) > create mode 100644 docs/bootindex.txt Good stuff. Just a bit short on commas and articles ;) > > diff --git

[Qemu-devel] Qemu-img create problem

2011-01-28 Thread Himanshu Chauhan
Hi, I just cloned qemu-kvm, built and installed it. But the qemu-img fails to create any disk image above 1G. The problem as I see is use of ssize_t for image size. When size is >2G, the check "if (sval < 0)" succeeds and I get the error: qemu-img: Invalid image size specified! You may use k, M,

[Qemu-devel] Re: [PATCH] sheepdog: support creating images on remote hosts

2011-01-28 Thread Kevin Wolf
Am 27.01.2011 17:33, schrieb MORITA Kazutaka: > This patch parses the input filename in sd_create(), and enables us > specifying a target server to create sheepdog images. > > Signed-off-by: MORITA Kazutaka Thanks, applied to the block branch. Kevin

Re: [Qemu-devel] [PATCH 0/8] make -qmp stdio usable

2011-01-28 Thread Markus Armbruster
Paolo Bonzini writes: > This patch series is a rewritten version of the patch to disable > raw mode on the terminal when "-qmp stdio" is given on the command-line. > > The rewritten series has several advantages, including working for > text consoles ("-qmp vc2") and especially working with -char

[Qemu-devel] Re: [PATCH 19/19] migration: add a parser to accept FT migration incoming mode.

2011-01-28 Thread Paolo Bonzini
On 01/28/2011 08:21 AM, Yoshiaki Tamura wrote: +/* check ft_mode option */ +p = strstr(uri, "ft_mode"); +if (p&& !strcmp(p, "ft_mode")) { +ft_mode = FT_INIT; +} + This works for TCP mode, but: 1) I am not sure what would happen with -incoming exec; 2) it is tricky!

Re: [Qemu-devel] [PATCH v2] qcow2: Add bdrv_discard support

2011-01-28 Thread Stefan Hajnoczi
On Fri, Jan 28, 2011 at 11:41 AM, Kevin Wolf wrote: > This adds a bdrv_discard function to qcow2 that frees the discarded clusters. > It does not yet pass the discard on to the underlying file system driver, but > the space can be reused by future writes to the image. > > Signed-off-by: Kevin Wolf

Re: [Qemu-devel] [PATCH] floppy: Parametrize ISA base and IRQ

2011-01-28 Thread Markus Armbruster
Andreas Färber writes: > From: Hervé Poussineau > > v1: > * Rebased. Patch versioning goes below the --- line, so it doesn't end up in git. > > Signed-off-by: Hervé Poussineau > Signed-off-by: Andreas Färber > --- > This patch allows to adapt the floppy device for the PReP Super I/O. Have

[Qemu-devel] [PATCH v2] qcow2: Add bdrv_discard support

2011-01-28 Thread Kevin Wolf
This adds a bdrv_discard function to qcow2 that frees the discarded clusters. It does not yet pass the discard on to the underlying file system driver, but the space can be reused by future writes to the image. Signed-off-by: Kevin Wolf --- v2: - Added offset > end_offset check block/qcow2-clu

[Qemu-devel] [PATCH v2 06/11] blockdev: Make drive_add() take explicit type, index parameters

2011-01-28 Thread Markus Armbruster
Before, type & index were hidden in printf-like fmt, ... parameters, which get expanded into an option string. Rather inconvenient for uses later in this series. New IF_DEFAULT to ask for the machine's default interface. Before, that was done by having no option "if" in the option string. Signe

Re: [Qemu-devel] QEMU icon

2011-01-28 Thread Stefan Weil
Am 27.01.2011 07:24, schrieb Mulyadi Santosa: On Thu, Jan 27, 2011 at 02:18, Stefan Weil wrote: Since some time, I urgently wanted to have an icon for QEMU. As I did not find one, I tried to design one, and here is the current result: http://qemu.weilnetz.de/qemu-icon.svg. Nice job Stefan! :)

Re: [Qemu-devel] [PATCH] qcow2: Add full image preallocation option

2011-01-28 Thread Daniel P. Berrange
On Fri, Jan 28, 2011 at 09:22:47AM +0100, Kevin Wolf wrote: > Am 27.01.2011 16:58, schrieb Daniel P. Berrange: > > On Thu, Jan 27, 2011 at 04:52:14PM +0100, Kevin Wolf wrote: > >> This adds a preallocation=full mode to qcow2 image creation, which does not > >> only allocate metadata for the whole i

[Qemu-devel] [PATCH v2 04/11] blockdev: Put BlockInterfaceType names and max_devs in tables

2011-01-28 Thread Markus Armbruster
Turns drive_init()'s lengthy conditional into a concise loop, and makes the data available elsewhere. Signed-off-by: Markus Armbruster --- blockdev.c | 51 +-- 1 files changed, 21 insertions(+), 30 deletions(-) diff --git a/blockdev.c b/blockdev

[Qemu-devel] [PATCH v2 05/11] blockdev: Fix regression in -drive if=scsi, index=N

2011-01-28 Thread Markus Armbruster
Before commit 622b520f, index=12 meant bus=1,unit=5. Since the commit, it means bus=0,unit=12. The drive is created, but not the guest device. That's because the controllers we use with if=scsi drives (lsi53c895a and esp) support only 7 units, and scsi_bus_legacy_handle_cmdline() ignores drives

[Qemu-devel] [PATCH v2 10/11] blockdev: Reject multiple definitions for the same drive

2011-01-28 Thread Markus Armbruster
We silently ignore multiple definitions for the same drive: $ qemu-system-x86_64 -nodefaults -vnc :1 -S -monitor stdio -drive if=ide,index=1,file=tmp.qcow2 -drive if=ide,index=1,file=nonexistant QEMU 0.13.50 monitor - type 'help' for more information (qemu) info block ide0-hd1: ty

[Qemu-devel] [Bug 697510] Re: Machine shut off after tons of lsi_scsi: error: MSG IN data too long

2011-01-28 Thread TiCPU
Some new informations, the IDE bus works for a while then the PC slows down and finally backup fails and freeze most of the I/Os. The underlying device is a Iomega REV 120 USB appearing as a CD-ROM, /dev/sr0 and using FAT32 with 32k clusters. The backup program is Symantec Backup Exec 11d I work

[Qemu-devel] [PATCH v2 02/11] blockdev: New drive_get_next(), replacing qdev_init_bdrv()

2011-01-28 Thread Markus Armbruster
qdev_init_bdrv() doesn't belong into qdev.c; it's about drives, not qdevs. Rename to drive_get_next, move to blockdev.c, drop the bogus DeviceState argument, and return DriveInfo instead of BlockDriverState. Signed-off-by: Markus Armbruster --- blockdev.c | 10 ++ blockdev.h |1

[Qemu-devel] [PATCH v2 11/11] blockdev: Fix drive_add for drives without media

2011-01-28 Thread Markus Armbruster
Watch this: (qemu) drive_add 0 if=none (qemu) info block none0: type=hd removable=0 [not inserted] (qemu) drive_del none0 Segmentation fault (core dumped) add_init_drive() is confused about drive_init()'s failure modes, and cleans up when it shouldn't. This leaves the DriveIn

[Qemu-devel] [PATCH v2 07/11] blockdev: Replace drive_add()'s fmt, ... by optstr parameter

2011-01-28 Thread Markus Armbruster
Let the callers build the optstr. Only one wants to. All the others become simpler, because they don't have to worry about escaping '%'. Signed-off-by: Markus Armbruster --- blockdev.c |8 +--- blockdev.h |5 + vl.c | 13 +++-- 3 files changed, 9 insertions(+),

[Qemu-devel] [PATCH v2 00/11] -drive/drive_add fixes and cleanups

2011-01-28 Thread Markus Armbruster
Kevin found a bug in my recent "[PATCH 3+5/5] -drive/drive_add fixes". This is a rework of those two patches, plus a fix for the -drive if=scsi,index=N regression, plus the odd bonus fix found on the way. v2: fix for the -drive if=scsi,index=N regression. PATCH 4 fixed up slightly, PATCH 5 insert

[Qemu-devel] [PATCH v2 09/11] blockdev: New drive_get_by_index()

2011-01-28 Thread Markus Armbruster
Signed-off-by: Markus Armbruster --- blockdev.c |7 +++ blockdev.h |1 + 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/blockdev.c b/blockdev.c index f0bed2e..2aea768 100644 --- a/blockdev.c +++ b/blockdev.c @@ -130,6 +130,13 @@ DriveInfo *drive_get(BlockInterfaceType

[Qemu-devel] [PATCH v2 08/11] blockdev: Factor drive_index_to_{bus, unit}_id out of drive_init()

2011-01-28 Thread Markus Armbruster
Signed-off-by: Markus Armbruster --- blockdev.c | 22 ++ 1 files changed, 14 insertions(+), 8 deletions(-) diff --git a/blockdev.c b/blockdev.c index a5e56ee..f0bed2e 100644 --- a/blockdev.c +++ b/blockdev.c @@ -75,6 +75,18 @@ void blockdev_auto_del(BlockDriverState *bs)

[Qemu-devel] [PATCH v2 01/11] scsi hotplug: Set DriveInfo member bus correctly

2011-01-28 Thread Markus Armbruster
drive_init() picks the first free bus and unit number, unless the user specifies them. This isn't a good fit for the drive_add monitor command, because there we specify the controller by PCI address instead of using bus number set by drive_init(). scsi_hot_add() takes care to replace the unit num

[Qemu-devel] [PATCH v2 03/11] blockdev: Move BlockInterfaceType from qemu-common.h to blockdev.h

2011-01-28 Thread Markus Armbruster
Signed-off-by: Markus Armbruster --- blockdev.h|6 ++ qemu-common.h |6 -- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/blockdev.h b/blockdev.h index 5c2144c..f616855 100644 --- a/blockdev.h +++ b/blockdev.h @@ -18,6 +18,12 @@ void blockdev_auto_del(BlockDri

Re: [Qemu-devel] [PATCH] qcow2: Add bdrv_discard support

2011-01-28 Thread Stefan Hajnoczi
On Fri, Jan 28, 2011 at 9:57 AM, Stefan Hajnoczi wrote: > On Thu, Jan 27, 2011 at 01:40:21PM +0100, Kevin Wolf wrote: >> +/* >> + * This discards as many clusters of nb_clusters as possible at once (i.e. >> + * all clusters in the same L2 table) and returns the number of discarded >> + * clusters.

Re: [Qemu-devel] Re: [0.14] Queue of 0.14 patches/pull?

2011-01-28 Thread Michael Tokarev
28.01.2011 11:06, Yoshiaki Tamura wrote: [] > I would like Kemari to be included for 0.14. Thanks to many > valuable comments from various reviewers, it got better than > ever, I believe. For those who may object, it wouldn't affect > any functions including live migration unless one turns it on.

Re: [Qemu-devel] [PATCH 1/3] FVD: Added support for 'qemu-img update'

2011-01-28 Thread Stefan Hajnoczi
On Fri, Jan 21, 2011 at 05:19:13PM -0500, Chunqiang Tang wrote: > This patch adds the 'update' command to qemu-img. FVD stores various > image-specific configurable parameters in the image header. A user can use > 'qemu-img update' to modify those parameters and accordingly controls FVD's > runtime

Re: [Qemu-devel] [PATCH] qcow2: Add bdrv_discard support

2011-01-28 Thread Stefan Hajnoczi
On Thu, Jan 27, 2011 at 01:40:21PM +0100, Kevin Wolf wrote: > +/* > + * This discards as many clusters of nb_clusters as possible at once (i.e. > + * all clusters in the same L2 table) and returns the number of discarded > + * clusters. > + */ > +static int discard_single_l2(BlockDriverState *bs, u

Re: [Qemu-devel] [PATCH] qemu-io: Fix discard command

2011-01-28 Thread Stefan Hajnoczi
On Thu, Jan 27, 2011 at 01:36:12PM +0100, Kevin Wolf wrote: > qemu-io passed bytes where it's supposed to pass sectors, so discard requests > were off. > > Signed-off-by: Kevin Wolf > --- > qemu-io.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/qemu-io.c b/qemu

[Qemu-devel] [Bug 697510] Re: Machine shut off after tons of lsi_scsi: error: MSG IN data too long

2011-01-28 Thread vrozenfe
"Red Hat driver" means driver from rhel virtio-win.prm? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/697510 Title: Machine shut off after tons of lsi_scsi: error: MSG IN data too long Status in Q

[Qemu-devel] [Bug 688085] Re: Guest kernel hang during boot when KVM is active on i386 host

2011-01-28 Thread Zhiyuan-lv
Just checked the Ubuntu update repo. The latest kernel version there 2.6.35-25.44 has included the fix. Thanks! -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/688085 Title: Guest kernel hang during

[Qemu-devel] [0.14] Call for testing volunteers

2011-01-28 Thread Stefan Hajnoczi
Let's plan testing for the upcoming 0.14 release here: http://wiki.qemu.org/Planning/0.14/Testing It's easy. Add yourself for the testing you are willing to do on the release candidates. The aim is to give maintainers a picture of what has been tested and avoid duplicating efforts between teste

[Qemu-devel] Re: [PATCH 14/19] block: insert event-tap to bdrv_aio_writev(), bdrv_aio_flush() and bdrv_flush().

2011-01-28 Thread Kevin Wolf
Am 28.01.2011 08:21, schrieb Yoshiaki Tamura: > event-tap function is called only when it is on, and requests were > sent from device emulators. > > Signed-off-by: Yoshiaki Tamura Acked-by: Kevin Wolf

[Qemu-devel] Re: [PATCH 13/22] Set up signalfd under !CONFIG_IOTHREAD

2011-01-28 Thread Paolo Bonzini
On 01/27/2011 02:09 PM, Jan Kiszka wrote: Will be required for SIGBUS handling. For obvious reasons, this will remain a nop on Windows hosts. Signed-off-by: Jan Kiszka --- Makefile.objs |2 +- cpus.c| 117 +++-- 2 files changed

  1   2   >