[Qemu-devel] [Bug 563582] Re: KVM 9.10 crashes for suse-10 as guest

2011-01-15 Thread Launchpad Bug Tracker
[Expired for qemu-kvm (Ubuntu) because there has been no activity for 60 days.] ** Changed in: qemu-kvm (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/563

Re: [Qemu-devel] tcg shift ops and magnitudes larger than register size

2011-01-15 Thread Edgar E. Iglesias
On Fri, Jan 14, 2011 at 11:26:21PM +, Stuart Brady wrote: > On Thu, Jan 13, 2011 at 09:56:35AM +0100, Edgar E. Iglesias wrote: > > On Wed, Jan 12, 2011 at 08:13:45PM -0500, Mike Frysinger wrote: > > > are there any rules with the tcg sar/shl/shr ops and their magnitudes > > > ? such as "magnit

Re: [Qemu-devel] [PATCH 2/2] Replace 'extern inline' with 'static inline'

2011-01-15 Thread Edgar E. Iglesias
On Sat, Jan 15, 2011 at 07:24:33PM +, Blue Swirl wrote: > Signed-off-by: Blue Swirl OK Acked-by: Edgar E. Iglesias > --- > tests/cris/check_abs.c |5 +++-- > tests/cris/check_addc.c |3 ++- > tests/cris/check_addcm.c |6 -- > tests/cris/check_bound.c |9 ++--- >

[Qemu-devel] [PATCH 2/2] virtio-blk: fix cross-endianness targets

2011-01-15 Thread Aurelien Jarno
virtio-blk doesn't work on cross-endian configuration, as endianness is not handled correctly. This patch adds missing endianness conversions to make virtio-blk working. Tested on the following configurations: - i386 guest on x86_64 host - ppc guest on x86_64 host - i386 guest on mips host - ppc g

[Qemu-devel] [PATCH 1/2] virtio-net: fix cross-endianness support

2011-01-15 Thread Aurelien Jarno
virtio-net used to work on cross-endianness configurations, but doesn't anymore with recent guest kernels, as the new features don't handle endianness correctly. This patch fixes wrong conversion, and add missing ones to make virtio-net working. Tested on the following configurations: - i386 guest

[Qemu-devel] [PATCH 2/2] Replace 'extern inline' with 'static inline'

2011-01-15 Thread Blue Swirl
Signed-off-by: Blue Swirl --- tests/cris/check_abs.c |5 +++-- tests/cris/check_addc.c |3 ++- tests/cris/check_addcm.c |6 -- tests/cris/check_bound.c |9 ++--- tests/cris/check_ftag.c | 12 tests/cris/check_int64.c |6 -- tests/cris/check_lz.c

[Qemu-devel] [PATCH v2 1/2] Delete useless 'extern' qualifiers for functions

2011-01-15 Thread Blue Swirl
'extern' qualifier is useless for function declarations. Delete them. Signed-off-by: Blue Swirl --- v2: function declarations inside *.c files indicate problems. Don't touch them for easy grepping. cache-utils.h |2 +- cmd.h | 36 ---

[Qemu-devel] Re: [PATCH] pci: Remove unneeded null pointer check

2011-01-15 Thread Michael S. Tsirkin
On Sat, Jan 15, 2011 at 07:01:03PM +0100, Stefan Weil wrote: > With bm == NULL, other code in the same function would crash. > > This bug was reported by cppcheck: > hw/ide/pci.c:280: error: Possible null pointer dereference: bm > > Cc: Michael S. Tsirkin > Signed-off-by: Stefan Weil Looks san

[Qemu-devel] [PATCH] pci: Remove unneeded null pointer check

2011-01-15 Thread Stefan Weil
With bm == NULL, other code in the same function would crash. This bug was reported by cppcheck: hw/ide/pci.c:280: error: Possible null pointer dereference: bm Cc: Michael S. Tsirkin Signed-off-by: Stefan Weil --- hw/ide/pci.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff

[Qemu-devel] [PATCH v2 3/3] checkpatch: adjust to QEMUisms

2011-01-15 Thread Blue Swirl
Change checkpatch.pl for QEMU use: - Root directory detection - Forbid tabs - Indent at 4 spaces - Allow typedefs - Enforce brace use even for single statement blocks - Don't suggest nonexistent cleanup tools Mention the script in CODING_STYLE. Signed-off-by: Blue Swirl --- v2: fix false p

Re: [Qemu-devel] RFC: mass comment conversion from C99 to C89

2011-01-15 Thread Blue Swirl
On Sat, Jan 15, 2011 at 5:44 PM, Stefan Weil wrote: > Am 15.01.2011 18:20, schrieb Laurent Vivier: >> >> Le samedi 15 janvier 2011 à 16:02 +, Blue Swirl a écrit : >>> >>> With the sed script below (my first I think), I'm able to convert most >> >> nice script. Did you try awk ? >> >>> files in

Re: [Qemu-devel] RFC: mass comment conversion from C99 to C89

2011-01-15 Thread Stefan Weil
Am 15.01.2011 18:20, schrieb Laurent Vivier: Le samedi 15 janvier 2011 à 16:02 +, Blue Swirl a écrit : With the sed script below (my first I think), I'm able to convert most nice script. Did you try awk ? files in QEMU from C99 comment style to C89. When successive line with C99 comments

Re: [Qemu-devel] [RFC] Propose the Fast Virtual Disk (FVD) image format that outperforms QCOW2 by 249%

2011-01-15 Thread Stefan Weil
Am 15.01.2011 04:28, schrieb Chunqiang Tang: The community block I/O test suite is qemu-iotests: http://git.kernel.org/?p=linux/kernel/git/hch/qemu-iotests.git;a=summary If you have tests that you'd like to contribute, please put them into that framework so other developers can run them as part o

Re: [Qemu-devel] RFC: mass comment conversion from C99 to C89

2011-01-15 Thread Blue Swirl
On Sat, Jan 15, 2011 at 5:20 PM, Laurent Vivier wrote: > Le samedi 15 janvier 2011 à 16:02 +, Blue Swirl a écrit : >> With the sed script below (my first I think), I'm able to convert most > > nice script. Did you try awk ? No, this just evolved from one-liner command into multi-line command

Re: [Qemu-devel] RFC: mass comment conversion from C99 to C89

2011-01-15 Thread Laurent Vivier
Le samedi 15 janvier 2011 à 16:02 +, Blue Swirl a écrit : > With the sed script below (my first I think), I'm able to convert most nice script. Did you try awk ? > files in QEMU from C99 comment style to C89. When successive line with > C99 comments are converted, the comments are merged. Two

[Qemu-devel] [PATCH] hw/fmopl: Fix buffer access out-of-bounds errors

2011-01-15 Thread Stefan Weil
Index 75 is one too large for AR_TABLE[75], DR_TABLE[75]. This error was reported by cppcheck. hw/fmopl.c:600: error: Buffer access out-of-bounds: OPL.AR_TABLE hw/fmopl.c:601: error: Buffer access out-of-bounds: OPL.DR_TABLE Fix this by limiting the access to the allowed range. MultiArcadeMachine

[Qemu-devel] Re: [PATCH 02/11] config: settings from default-configs need to be included in header files

2011-01-15 Thread Blue Swirl
On Sat, Jan 15, 2011 at 4:18 PM, Paolo Bonzini wrote: > On 01/14/2011 10:36 PM, Blue Swirl wrote: >> >> On Fri, Jan 14, 2011 at 9:04 PM, David Ahern  wrote: >>> >>> >>> On 01/14/11 13:57, Blue Swirl wrote: >> >> That's OK, but the correct fix is to change the design of the machine >> m

[Qemu-devel] Re: [PATCH 04/35] Add "broadcast" option for mce command

2011-01-15 Thread Jan Kiszka
Am 09.01.2011 19:51, Jan Kiszka wrote: > Am 06.01.2011 18:56, Marcelo Tosatti wrote: >> From: Jin Dongming >> >> When the following test case is injected with mce command, maybe user could >> not >> get the expected result. >> DATA >>command cpu bank status mcg_sta

[Qemu-devel] Re: [PATCH 02/11] config: settings from default-configs need to be included in header files

2011-01-15 Thread Paolo Bonzini
On 01/14/2011 10:36 PM, Blue Swirl wrote: On Fri, Jan 14, 2011 at 9:04 PM, David Ahern wrote: On 01/14/11 13:57, Blue Swirl wrote: That's OK, but the correct fix is to change the design of the machine model to something more advanced where the unwanted objects are simply not linked in, witho

Re: [Qemu-devel] qemu-system-sparc uses all host cpu (continued)

2011-01-15 Thread Blue Swirl
On Sat, Jan 15, 2011 at 4:01 PM, Mateusz Loskot wrote: > On 15/01/11 07:39, Blue Swirl wrote: >> On Sat, Jan 15, 2011 at 1:44 AM, Mateusz Loskot >> wrote: >>> Hi, >>> >>> I'm running QEMU built from Git current repo to emulate SPARC with >>> NetBSD 5.0 installed. My host runs x86_64 GNU/Linux wit

[Qemu-devel] RFC: mass comment conversion from C99 to C89

2011-01-15 Thread Blue Swirl
With the sed script below (my first I think), I'm able to convert most files in QEMU from C99 comment style to C89. When successive line with C99 comments are converted, the comments are merged. Two files (hw/rtl8139.c and microblaze-dis.c) still fail. Is this a good idea? If yes, what should be

Re: [Qemu-devel] qemu-system-sparc uses all host cpu (continued)

2011-01-15 Thread Mateusz Loskot
On 15/01/11 07:39, Blue Swirl wrote: > On Sat, Jan 15, 2011 at 1:44 AM, Mateusz Loskot > wrote: >> Hi, >> >> I'm running QEMU built from Git current repo to emulate SPARC with >> NetBSD 5.0 installed. My host runs x86_64 GNU/Linux with kernel >> 2.6.35 on Intel P8600 CPU. >> >> I've noticed qem

[Qemu-devel] Re: [PATCH 10/11] config: add CONFIG_APPLESMC

2011-01-15 Thread Paolo Bonzini
On 01/14/2011 08:12 PM, David Ahern wrote: Signed-off-by: David Ahern --- Makefile.target|3 ++- default-configs/i386-softmmu.mak |1 + default-configs/x86_64-softmmu.mak |1 + 3 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Makefile.target b/

[Qemu-devel] Re: [PATCH 07/11] config: handle CONFIG_VGA_ISA=n

2011-01-15 Thread Paolo Bonzini
On 01/14/2011 08:12 PM, David Ahern wrote: Fix compile errors and remove -M isapc option for CONFIG_VGA_ISA=n. Acked-by: Paolo Bonzini Paolo

[Qemu-devel] Re: [PATCH 01/11] fix 'no such file' error from make_device_config.sh

2011-01-15 Thread Paolo Bonzini
On 01/14/2011 08:12 PM, David Ahern wrote: make_device_config currently emits an error: make config-all-devices.mak GEN x86_64-softmmu/config-devices.mak /home/dsa/kvm/releases/qemu.git/make_device_config.sh: line 21: /home/dsa/kvm/releases/qe Root cause is a space in the filename (determ

[Qemu-devel] Re: [fedora-virt] Fedora Virt status (XML for SL6)

2011-01-15 Thread Boris Derzhavets
Issue :- Your's the most advanced KVM System F14 performs W7 (x64/x86) install on IDE boot up device (LV) much slower then RHEL 6 does (SL 6 does) Both systems have "cache set to none for IDE boot up device" before install starts up. Boris. --- On Sat, 1/15/11, Richard W.M. Jones wrote: From:

[Qemu-devel] Re: [fedora-virt] Fedora Virt status (XML for SL6)

2011-01-15 Thread Richard W.M. Jones
On Sat, Jan 15, 2011 at 03:15:05AM -0800, Boris Derzhavets wrote: > Please, > view thread. I've read every part of the thread(s). You don't make it easy to follow what you're talking about. I would suggest: (1) Organize your thoughts and experiments logically. (2) When you have done (1), post

qemu-devel@nongnu.org

2011-01-15 Thread Aurelien Jarno
On Fri, Jan 14, 2011 at 11:25:51PM +0100, Aurelien Jarno wrote: > On Fri, Jan 14, 2011 at 10:05:11PM +, Blue Swirl wrote: > > Combining bitwise AND and logical NOT is suspicious. > > > > Fixed by this Coccinelle script: > > // From http://article.gmane.org/gmane.linux.kernel/646367 > > @@ expr

Re: [Qemu-devel] paravirtual mouse/tablet

2011-01-15 Thread Alon Levy
On Fri, Jan 14, 2011 at 04:13:29PM +0100, Gerd Hoffmann wrote: > Hi, > > >So it'd end up being (x,y,pressure) N times (I think 16 is fine for > >the foreseeable future). > > I'd tend to extend MOVE to (x,y,pressure,index) and send N events > with the same timestamp. Needs to send only as many

[Qemu-devel] Re: [fedora-virt] Fedora Virt status (XML for SL6)

2011-01-15 Thread Boris Derzhavets
I switched cache to none for boot up device via virt-manager  before W7 install on F14. It didn't help me. I've already responded to Cole regarding this attempt. Please, view thread. Boris. --- On Sat, 1/15/11, Richard W.M. Jones wrote: From: Richard W.M. Jones Subject: Re: [fedora-virt] Fed

[Qemu-devel] Re: [fedora-virt] Fedora Virt status (XML for SL6)

2011-01-15 Thread Richard W.M. Jones
On Fri, Jan 14, 2011 at 12:17:42PM -0800, Boris Derzhavets wrote: >     >   This one (SL6) has cache=none, but the Fedora 14 XML you posted does not. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports

Re: [Qemu-devel] Re: [fedora-virt] Fedora Virt status

2011-01-15 Thread Boris Derzhavets
fake.qcow2 has nothing to do with performance issue during install on F14. W7 boot up is device is always LV ( like on SL 6 ) Boris. --- On Fri, 1/14/11, Richard W.M. Jones wrote: From: Richard W.M. Jones Subject: Re: [Qemu-devel] Re: [fedora-virt] Fedora Virt status To: "Boris Derzhavets" Cc