[Qemu-devel] [Bug 1089281] Re: kvm crash when writing on disk

2012-12-31 Thread xavy
Running it with ide solved the FC. Thanks for the comments Stefan ;) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1089281 Title: kvm crash when writing on disk Status in QEMU: New Bug descript

[Qemu-devel] [PATCH] savevm.c: cleanup system includes

2012-12-31 Thread Michael Tokarev
savevm.c suffers from the same problem as some other files. Some years ago savevm.c was created from vl.c, moving some code from there into a separate file. At that time, all includes were just copied from vl.c to savevm.c, without checking which ones are needed and which are not. But actually mo

[Qemu-devel] [PATCH RFC 2/3] xen_disk: fix memory leak

2012-12-31 Thread Roger Pau Monne
On ioreq_release the full ioreq was memset to 0, loosing all the data and memory allocations inside the QEMUIOVector, which leads to a memory leak. Create a new function to specifically reset ioreq. Reported-by: Maik Wessler Signed-off-by: Roger Pau Monné Cc: xen-de...@lists.xen.org Cc: Stefano

[Qemu-devel] [PATCH RFC 0/3] xen pv disk persistent grants implementation

2012-12-31 Thread Roger Pau Monne
This series contains two bug fixes for xen_disk (patches 1 & 2) and the implementation of the persistent grants extensions (patch 3), that brings a considerable speed improvement. Thanks for the reviews, Roger.

[Qemu-devel] [PATCH RFC 1/3] xen_disk: handle disk files on ramfs/tmpfs

2012-12-31 Thread Roger Pau Monne
Files that reside on ramfs or tmpfs cannot be opened with O_DIRECT, if first call to bdrv_open fails with errno = EINVAL, try a second call without BDRV_O_NOCACHE. Signed-off-by: Roger Pau Monné Cc: xen-de...@lists.xen.org Cc: Stefano Stabellini Cc: Anthony PERARD --- hw/xen_disk.c | 16

[Qemu-devel] [PATCH RFC 3/3] xen_disk: add persistent grant support to xen_disk backend

2012-12-31 Thread Roger Pau Monne
This protocol extension reuses the same set of grant pages for all transactions between the front/back drivers, avoiding expensive tlb flushes, grant table lock contention and switches between userspace and kernel space. The full description of the protocol can be found in the public blkif.h header

Re: [Qemu-devel] setting migrate_downtime results in halted vm (qemu 1.3)

2012-12-31 Thread Stefan Priebe
When i try to cancel a running migration with qemu git i get a segfault. BT: (gdb) bt #0 _wordcopy_bwd_aligned (dstp=140051233112024, srcp=140051233112016, len=529920) at wordcopy.c:298 #1 0x7f61dd7c86da in *__GI_memmove (dest=0x7f6037bf5010, src=, len=38118264) at memmove.c:99 #2 0x

[Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1

2012-12-31 Thread Falk Seyboldt
same here with AVM ISDN-Controller FRITZ!Card v2.1 on openSUSE 12.2. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1033727 Title: USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Status in

[Qemu-devel] [Qemu-trivial] [PATCH] configure: try pkg-config for curses

2012-12-31 Thread Vadim Evard
configure: try pkg-config for curses Static linkikng against ncurses may require explicit -ltinfo. In case -lcurses and -lncurses both didn't work give pkg-config a chance. Signed-off-by: Vadim Evard --- configure |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config

[Qemu-devel] [PATCH v4 0/2] soft-float-fixes for target-s390x

2012-12-31 Thread Richard Henderson
Changes v3-v4: Rebase after source tree rearrangements. Changes v2-v3: Ignore softfloat "style" completely. Code now formatted per QEMU. Changes v1-v2: Incorporating feedback from Peter Maydell (previously missed in the 140+ message thread). r~ Richard Henderson (2): softfloat: Fix

[Qemu-devel] [PATCH 1/2] softfloat: Fix uint64_to_float64

2012-12-31 Thread Richard Henderson
The interface to normalizeRoundAndPackFloat64 requires that the high bit be clear. Perform one shift-right-and-jam if needed. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- fpu/softfloat.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/fpu/s

[Qemu-devel] [PATCH 2/2] softfloat: Implement uint64_to_float128

2012-12-31 Thread Richard Henderson
Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- fpu/softfloat.c | 8 include/fpu/softfloat.h | 3 +++ 2 files changed, 11 insertions(+) diff --git a/fpu/softfloat.c b/fpu/softfloat.c index 20b05d4..ac3d150 100644 --- a/fpu/softfloat.c +++ b/fpu/softfloat.c @@ -1

Re: [Qemu-devel] [PATCH] tcg: Remove unneeded assertion

2012-12-31 Thread Richard Henderson
On 2012-12-29 23:20, Stefan Weil wrote: > Commit 7f6f0ae5b95adfa76e10eabe2c34424a955fd10c added two assertions. > > One of these assertions is not needed: > The pointer ts is never NULL because it is initialized with the > address of an array element. > > Signed-off-by: Stefan Weil Reviewed-by:

[Qemu-devel] [PATCH 0/2] linux-user: dhclient support

2012-12-31 Thread Laurent Vivier
This two patches allow to use dhclient to configure IP addresses in a linux container running the linux-user version of qemu. [PATCH 1/2] linux-user: Add setsockopt(SO_ATTACH_FILTER) [PATCH 2/2] linux-user: SOCK_PACKET uses network endian to encode

[Qemu-devel] [PATCH 1/2] linux-user: Add setsockopt(SO_ATTACH_FILTER)

2012-12-31 Thread Laurent Vivier
This is needed to be able to run dhclient. Signed-off-by: Laurent Vivier --- linux-user/syscall.c | 34 +- linux-user/syscall_defs.h | 12 2 files changed, 45 insertions(+), 1 deletion(-) diff --git a/linux-user/syscall.c b/linux-user/syscal

[Qemu-devel] [PATCH 2/2] linux-user: SOCK_PACKET uses network endian to encode protocol in socket()

2012-12-31 Thread Laurent Vivier
From: Laurent Vivier in PACKET(7) : protocol is the IEEE 802.3 protocol number in network order. See the include file for a list of allowed protocols. When protocol is set to htons(ETH_P_ALL) then all protocols are received. All incoming packets of that

[Qemu-devel] [PATCH] linux-user: correct print_timeval() swap tv_sec and tv_usec

2012-12-31 Thread Laurent Vivier
From: Laurent Vivier Signed-off-by: Laurent Vivier --- linux-user/strace.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/strace.c b/linux-user/strace.c index 6ec90e8..4e91a6e 100644 --- a/linux-user/strace.c +++ b/linux-user/strace.c @@ -682,7 +682,7 @@ print

Re: [Qemu-devel] [Virt-test-devel] [Autotest PATCH 1/2] virt run: fix typo in help message

2012-12-31 Thread Lucas Meneghel Rodrigues
Ok, this looks good, applied, thanks! On Sat, Dec 29, 2012 at 11:02 PM, Amos Kong wrote: > type 'kvm' already been changed to 'qemu' > > Signed-off-by: Amos Kong > --- > run |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/run b/run > index 97dcdad..aac332a 10075

[Qemu-devel] [PATCH] linux-user: correct setsockopt() SO_SNDTIMEO and SO_RCVTIMEO take a struct timeval, not an int

2012-12-31 Thread Laurent Vivier
From: Laurent Vivier Signed-off-by: Laurent Vivier --- linux-user/syscall.c | 26 +++--- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index e99adab..1530c8f 100644 --- a/linux-user/syscall.c +++ b/linux-user/sys

Re: [Qemu-devel] [Autotest PATCH 2/2] virt run: add three logical case filters

2012-12-31 Thread Lucas Meneghel Rodrigues
Hmmm, about this one, I'm worried about making things more complex... The way I see the problem at hand, I'd say if people want to customize things, they'd be better of creating their own, specialized config files rather than adding command line flags to manipulate the test sets. So my initial st

[Qemu-devel] [PATCH] linux-user: improve print_fcntl()

2012-12-31 Thread Laurent Vivier
From: Laurent Vivier Signed-off-by: Laurent Vivier --- linux-user/strace.c | 97 +-- 1 file changed, 79 insertions(+), 18 deletions(-) diff --git a/linux-user/strace.c b/linux-user/strace.c index 6ec90e8..039fee8 100644 --- a/linux-user/strace.

[Qemu-devel] Using QEMU guest agent to run programs from guest path

2012-12-31 Thread Erlon Cruz
Hi, I needed to run an external program in a guest machine. Once this must be triggered by the host, I first thought in qemu-ga. Is that possible? In QEMU help page and in the code I couldn't find such capability. So Im thinking In to implement a new GA QMP command that can run generic programs i

[Qemu-devel] qemu-ga command listing

2012-12-31 Thread Eric Blake
Is there a guest-agent command for querying the list of available commands for a given guest agent? If not, should there be? In other words, I'm looking for the counterpart to QMP {"execute":"query-commands"}. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library h

Re: [Qemu-devel] [PATCH 1/2] linux-user: Add setsockopt(SO_ATTACH_FILTER)

2012-12-31 Thread Peter Maydell
On 31 December 2012 19:37, Laurent Vivier wrote: > This is needed to be able to run dhclient. > > Signed-off-by: Laurent Vivier > --- > linux-user/syscall.c | 34 +- > linux-user/syscall_defs.h | 12 > 2 files changed, 45 insertions(+), 1 del

Re: [Qemu-devel] [PATCH 2/2] linux-user: SOCK_PACKET uses network endian to encode protocol in socket()

2012-12-31 Thread Peter Maydell
On 31 December 2012 19:38, Laurent Vivier wrote: > @@ -1900,6 +1900,12 @@ static abi_long do_socket(int domain, int type, int > protocol) > #endif > if (domain == PF_NETLINK) > return -EAFNOSUPPORT; /* do not NETLINK socket connections possible > */ > +if (type == SOCK_PACKET)

Re: [Qemu-devel] [PATCH] linux-user: correct setsockopt() SO_SNDTIMEO and SO_RCVTIMEO take a struct timeval, not an int

2012-12-31 Thread Peter Maydell
On 31 December 2012 19:53, Laurent Vivier wrote: > From: Laurent Vivier Looks about right (though the goto is a little ugly). You have some style issues you need to fix, though. thanks -- PMM

[Qemu-devel] [Bug 1094950] [NEW] crash at qemu_iohandler_poll (iohandler.c:124) on macos 10.8.2

2012-12-31 Thread Christopher Mason
Public bug reported: I'm seeing consistent hangs / crashes on MacOS 10.8.2 with 1.3.0. I've tried both gcc-4.2 and clang. I've tried a half a dozen different images/kernels. I configured qemu like this: ./configure --disable-sdl --disable-kvm --enable-cocoa --cc=gcc-4.2 --host-cc=gcc-4.2 --ena

Re: [Qemu-devel] [PATCH 2/2] linux-user: SOCK_PACKET uses network endian to encode protocol in socket()

2012-12-31 Thread Laurent Vivier
Le lundi 31 décembre 2012 à 21:32 +, Peter Maydell a écrit : > On 31 December 2012 19:38, Laurent Vivier wrote: > > @@ -1900,6 +1900,12 @@ static abi_long do_socket(int domain, int type, int > > protocol) > > #endif > > if (domain == PF_NETLINK) > > return -EAFNOSUPPORT; /* do

[Qemu-devel] Fwd: Problem booting 32 bit guest on 64 bit host using kvm

2012-12-31 Thread Mark Blakeney
Hi, I am inexperienced using QEMU and hoping somebody here can help me. Some time ago I cloned a disk image of an old Solaris legacy system and was able to successfully boot and use it within QEMU. Recently I upgraded my host from i386 Ubuntu 12.04 to a new box running x86_64 Ubuntu 12.10. Now I f