[Qemu-devel] [Bug 712416] Re: kvm_intel kernel module crash with via nano vmx

2011-03-15 Thread Kary
** Tags removed: kvm -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/712416 Title: kvm_intel kernel module crash with via nano vmx Status in QEMU: New Status in “kvm” package in Ubuntu:

Re: [Qemu-devel] OSX build issues

2011-03-15 Thread Alexander Graf
On 14.03.2011, at 22:21, François Revol wrote: The OSX build has been broken for some time now... * qemu-thread-posix.c: both qemu_mutex_timedlock and qemu_cond_timedwait make use of clock_gettime() and CLOCK_REALTIME, which OSX doesn't have. It seems like both functions are nowhere

[Qemu-devel] Re: KVM call minutes for Mar 8

2011-03-15 Thread Jan Kiszka
On 2011-03-15 04:38, Marcelo Tosatti wrote: On Tue, Mar 08, 2011 at 06:21:07PM +0100, Jan Kiszka wrote: On 2011-03-08 18:15, Paolo Bonzini wrote: On 03/08/2011 06:10 PM, Jan Kiszka wrote: The qemu.git bit seen with my win32 patch series should also be a regression from qemu-kvm.git to

Re: [Qemu-devel] [PATCH -V3 2/8] hw/9pfs: Add file descriptor reclaim support

2011-03-15 Thread Aneesh Kumar K. V
On Mon, 14 Mar 2011 10:13:59 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sun, Mar 13, 2011 at 6:57 PM, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Sun, 13 Mar 2011 16:08:29 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, Mar 5, 2011 at 5:52 PM, Aneesh

Re: [Qemu-devel] [PATCH -V3 7/8] hw/9pfs: Add new virtfs option cache=none to skip host page cache

2011-03-15 Thread Aneesh Kumar K. V
On Sun, 13 Mar 2011 20:57:12 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sun, Mar 13, 2011 at 7:04 PM, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Sun, 13 Mar 2011 17:23:50 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, Mar 5, 2011 at 5:52 PM, Aneesh

[Qemu-devel] [PATCH 0/2] char, virtio_console: Allow chardevs to be re-used

2011-03-15 Thread Amit Shah
This series does two things: - prevents a single chardev to be used by multiple devices at the same time - virtio-console/serial ports don't close a chardev, instead free it for later use by other devices (or a new hot-plugged virtio serial port). Please apply. Amit Shah (2):

[Qemu-devel] [PATCH 2/2] char: Prevent multiple devices opening same chardev

2011-03-15 Thread Amit Shah
Prevent: -chardev socket,path=/tmp/foo,server,nowait,id=c0 \ -device virtserialport,chardev=c0,id=vs0 \ -device virtserialport,chardev=c0,id=vs1 Reported-by: Mike Cao b...@redhat.com Signed-off-by: Amit Shah amit.s...@redhat.com --- hw/qdev-properties.c |7 ++- qemu-char.c |

[Qemu-devel] [PATCH 1/2] virtio-console: Keep chardev open for other users after hot-unplug

2011-03-15 Thread Amit Shah
After a hot-unplug operation, the previous behaviour was to close the chardev. That meant the chardev couldn't be re-used. Also, since chardev hot-plug isn't possible so far, this means virtio-console hot-plug isn't feasible as well. With this change, the chardev is kept around. A new

Re: [Qemu-devel] [PATCH -V3 7/8] hw/9pfs: Add new virtfs option cache=none to skip host page cache

2011-03-15 Thread Aneesh Kumar K. V
On Mon, 14 Mar 2011 10:20:57 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sun, Mar 13, 2011 at 7:04 PM, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Sun, 13 Mar 2011 17:23:50 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, Mar 5, 2011 at 5:52 PM, Aneesh

Re: [Qemu-devel] [PATCH -V3 1/8] hw/9pfs: Add V9fsfidmap in preparation for adding fd reclaim

2011-03-15 Thread Aneesh Kumar K. V
On Sun, 13 Mar 2011 20:53:41 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sun, Mar 13, 2011 at 7:06 PM, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Sun, 13 Mar 2011 15:46:29 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, Mar 5, 2011 at 5:52 PM, Aneesh

Re: [Qemu-devel] [PATCH v2] Do not delete BlockDriverState when deleting the drive

2011-03-15 Thread Markus Armbruster
Sorry for the long delay, I was out of action for a week. Ryan Harper ry...@us.ibm.com writes: When removing a drive from the host-side via drive_del we currently have the following path: drive_del qemu_aio_flush() bdrv_close() drive_uninit() bdrv_delete() When we bdrv_delete() we end

Re: [Qemu-devel] [RFC] QCFG: a new mechanism to replace QemuOpts and option handling

2011-03-15 Thread Kevin Wolf
Am 14.03.2011 18:48, schrieb Anthony Liguori: As I've been waiting for QAPI review, I've been working on the design of a new mechanism to replace our current command line option handling (QemuOpts) with something that reuses the QAPI infrastructure. The 'QemuOpts' syntax is just a way to

Re: [Qemu-devel] Re: KVM call agenda for Jan 25

2011-03-15 Thread Kevin Wolf
Am 14.03.2011 16:13, schrieb Dushyant Bansal: Nice that qemu-img convert isn't that far out by default on raw :). About Google Summer of Code, I have posted my take on applying and want to share that with you and qemu-devel:

Re: [Qemu-devel] OSX build issues

2011-03-15 Thread Stefan Hajnoczi
On Tue, Mar 15, 2011 at 6:41 AM, Alexander Graf ag...@suse.de wrote: On 14.03.2011, at 22:21, François Revol wrote: The OSX build has been broken for some time now... * qemu-thread-posix.c: both qemu_mutex_timedlock and qemu_cond_timedwait make use of clock_gettime() and CLOCK_REALTIME,

[Qemu-devel] [v1 PATCH 0/3]: Use GLib threadpool in 9pfs.

2011-03-15 Thread Arun R Bharadwaj
Hi, This patchset enables the use of GLib threadpool infrastructure in 9pfs. It contains the following patches: 1/3 - Move the paio_signal_handler to a generic location. 2/3 - Helper routines to use GLib threadpool infrastructure in 9pfs. 3/3 - Convert v9fs_stat to threaded model. As a

[Qemu-devel] [v1 PATCH 1/3]: Move the paio_signal_handler to a generic location.

2011-03-15 Thread Arun R Bharadwaj
* Arun R Bharadwaj a...@linux.vnet.ibm.com [2011-03-15 16:04:53]: Author: Arun R Bharadwaj a...@linux.vnet.ibm.com Date: Thu Mar 10 14:45:25 2011 +0530 Move the paio_signal_handler to a generic location. The paio subsystem uses the signal, SIGUSR2. So move the signal handler

Re: [Qemu-devel] [PATCH -V3 1/8] hw/9pfs: Add V9fsfidmap in preparation for adding fd reclaim

2011-03-15 Thread Stefan Hajnoczi
On Tue, Mar 15, 2011 at 9:20 AM, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Sun, 13 Mar 2011 20:53:41 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sun, Mar 13, 2011 at 7:06 PM, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Sun, 13 Mar 2011 15:46:29

[Qemu-devel] [v1 PATCH 2/3]: Helper routines to use GLib threadpool infrastructure in 9pfs.

2011-03-15 Thread Arun R Bharadwaj
* Arun R Bharadwaj a...@linux.vnet.ibm.com [2011-03-15 16:04:53]: Author: Arun R Bharadwaj a...@linux.vnet.ibm.com Date: Thu Mar 10 15:11:49 2011 +0530 Helper routines to use GLib threadpool infrastructure in 9pfs. This patch creates helper routines to make use of the

[Qemu-devel] [v1 PATCH 3/3]: Convert v9fs_stat to threaded model.

2011-03-15 Thread Arun R Bharadwaj
* Arun R Bharadwaj a...@linux.vnet.ibm.com [2011-03-15 16:04:53]: Author: Harsh Prateek Bora ha...@linux.vnet.ibm.com Date: Mon Mar 14 13:55:37 2011 +0530 Convert v9fs_stat to threaded model. This patch converts v9fs_stat syscall of 9pfs to threaded model by making use of the

[Qemu-devel] Re: Write cache enable from guest at runtime

2011-03-15 Thread Christoph Hellwig
On Mon, Mar 14, 2011 at 07:15:14PM +, Stefan Hajnoczi wrote: Sounds like a good idea. Feel free to post the patches RFC and I or someone else can debug and polish them if you don't have time. By looking at your document and doing what you recommend against I think I got a much simpler

Re: [Qemu-devel] [PATCH -V3 7/8] hw/9pfs: Add new virtfs option cache=none to skip host page cache

2011-03-15 Thread Stefan Hajnoczi
On Tue, Mar 15, 2011 at 9:19 AM, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Mon, 14 Mar 2011 10:20:57 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sun, Mar 13, 2011 at 7:04 PM, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Sun, 13 Mar 2011 17:23:50

[Qemu-devel] Re: [RFC] QCFG: a new mechanism to replace QemuOpts and option handling

2011-03-15 Thread Kevin Wolf
Am 14.03.2011 18:48, schrieb Anthony Liguori: I've got a spec written up at http://wiki.qemu.org/Features/QCFG. Initial code is in my QAPI tree. One question about a small detail on this wiki page: typedef struct BlockdevConfig { char * file; struct BlockdevConfig * backing_file;

[Qemu-devel] Re: Write cache enable from guest at runtime

2011-03-15 Thread Stefan Hajnoczi
On Tue, Mar 15, 2011 at 10:50 AM, Christoph Hellwig h...@lst.de wrote: On Mon, Mar 14, 2011 at 07:15:14PM +, Stefan Hajnoczi wrote: Sounds like a good idea.  Feel free to post the patches RFC and I or someone else can debug and polish them if you don't have time. By looking at your

[Qemu-devel] [PATCH v2 01/20] Implement qemu_kvm_eat_signals only for CONFIG_LINUX

2011-03-15 Thread Jan Kiszka
qemu_kvm_eat_signals requires POSIX support with realtime extensions for sigtimedwait. Not all our target platforms provide this. Moreover, undefined sigbus_reraise was referenced on non-Linux as well. Signed-off-by: Jan Kiszka jan.kis...@siemens.com CC: Andreas Färber andreas.faer...@web.de ---

[Qemu-devel] [PATCH v2 08/20] kvm: x86: Do not leave halt if interrupts are disabled

2011-03-15 Thread Jan Kiszka
When an external interrupt is pending but IF is cleared, we must not leave the halt state prematurely. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- target-i386/kvm.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/target-i386/kvm.c b/target-i386/kvm.c index

[Qemu-devel] [PATCH v2 04/20] Break up user and system cpu_interrupt implementations

2011-03-15 Thread Jan Kiszka
Both have only two lines in common, and we will convert the system service into a callback which is of no use for user mode operation. Signed-off-by: Jan Kiszka jan.kis...@siemens.com CC: Riku Voipio riku.voi...@iki.fi --- exec.c | 14 ++ 1 files changed, 10 insertions(+), 4

[Qemu-devel] [PATCH v2 12/20] kvm: x86: Synchronize PAT MSR with the kernel

2011-03-15 Thread Jan Kiszka
Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- target-i386/kvm.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 3a07fce..032bc3e 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -861,6 +861,7 @@ static int

[Qemu-devel] [PATCH v2 05/20] Redirect cpu_interrupt to callback handler

2011-03-15 Thread Jan Kiszka
This allows to override the interrupt handling of QEMU in system mode. KVM will make use of it to set optimized handlers. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- cpu-all.h | 14 +- exec.c|4 +++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git

[Qemu-devel] [PATCH v2 02/20] x86: Unbreak TCG support for hardware breakpoints

2011-03-15 Thread Jan Kiszka
Commit 83f338f73e broke x86 hardware breakpoint emulation by moving the debug exception handling out of cpu_exec. Fix this by moving all TCG related bits back, only leaving the generic guest debugging parts in cpus.c. Signed-off-by: Jan Kiszka jan.kis...@siemens.com CC: TeLeMan gele...@gmail.com

[Qemu-devel] [PATCH v2 06/20] kvm: Install optimized interrupt handler

2011-03-15 Thread Jan Kiszka
KVM only requires to set the raised IRQ in CPUState and to kick the receiving vcpu if it is remote. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- kvm-all.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/kvm-all.c b/kvm-all.c index 226843c..25ab545

[Qemu-devel] [PATCH v2 17/20] kvm: Align kvm_arch_handle_exit to kvm_cpu_exec changes

2011-03-15 Thread Jan Kiszka
Make the return code of kvm_arch_handle_exit directly usable for kvm_cpu_exec. This is straightforward for x86 and ppc, just s390 would require more work. Avoid this for now by pushing the return code translation logic into s390's kvm_arch_handle_exit. Signed-off-by: Jan Kiszka

[Qemu-devel] [PATCH v2 10/20] x86: Properly reset PAT MSR

2011-03-15 Thread Jan Kiszka
Conforming to the Intel spec, set the power-on value of PAT also on reset, but save it across INIT. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- target-i386/cpu.h|4 ++-- target-i386/cpuid.c |1 - target-i386/helper.c |5 + 3 files changed, 7 insertions(+), 3

[Qemu-devel] [PATCH v2 14/20] kvm: Keep KVM_RUN return value in separate variable

2011-03-15 Thread Jan Kiszka
Avoid using 'ret' both for the return value of KVM_RUN as well as the code kvm_cpu_exec is supposed to return. Both have no direct relation. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- kvm-all.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/kvm-all.c

[Qemu-devel] [PATCH v2 20/20] Expose thread_id in info cpus

2011-03-15 Thread Jan Kiszka
Based on patch by Glauber Costa: To allow management applications like libvirt to apply CPU affinities to the VCPU threads, expose their ID via info cpus. This patch provides the pre-existing and used interface from qemu-kvm. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- cpu-defs.h

[Qemu-devel] [PATCH v2 07/20] kvm: Add in-kernel irqchip awareness to cpu_thread_is_idle

2011-03-15 Thread Jan Kiszka
With in-kernel irqchip support enabled, the vcpu threads sleep in kernel space while halted. Account for this difference in cpu_thread_is_idle. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- cpus.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/cpus.c b/cpus.c

[Qemu-devel] [PATCH v2 15/20] kvm: Reorder error handling of KVM_RUN

2011-03-15 Thread Jan Kiszka
Test for general errors first as this is the slower path. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- kvm-all.c | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/kvm-all.c b/kvm-all.c index 99abe82..59276cd 100644 --- a/kvm-all.c +++ b/kvm-all.c @@

[Qemu-devel] [PATCH v2 03/20] s390: Detect invalid invocations of qemu_ram_free/remap

2011-03-15 Thread Jan Kiszka
This both detects invalid invocations of qemu_ram_free and qemu_ram_remap when mem_path is non-NULL and fixes a build error on s390 ('area' may be used uninitialized in this function). Signed-off-by: Jan Kiszka jan.kis...@siemens.com CC: Alexander Graf ag...@suse.de --- exec.c |4 1

[Qemu-devel] [PATCH v2 13/20] kvm: Consider EXIT_DEBUG unknown without CAP_SET_GUEST_DEBUG

2011-03-15 Thread Jan Kiszka
Without KVM_CAP_SET_GUEST_DEBUG, we neither motivate the kernel to report KVM_EXIT_DEBUG nor do we expect such exits. So fall through to the arch code which will simply report an unknown exit reason. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- kvm-all.c |4 ++-- 1 files changed, 2

[Qemu-devel] [PATCH v2 09/20] kvm: Mark VCPU state dirty on creation

2011-03-15 Thread Jan Kiszka
This avoids that early cpu_synchronize_state calls try to retrieve an uninitialized state from the kernel. That even causes a deadlock if io-thread is enabled. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- kvm-all.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[Qemu-devel] [PATCH v2 16/20] kvm: Rework inner loop of kvm_cpu_exec

2011-03-15 Thread Jan Kiszka
Let kvm_cpu_exec return EXCP_* values consistently and generate those codes already inside its inner loop. This means we will now re-enter the kernel while ret == 0. Update kvm_handle_internal_error accordingly, but keep kvm_arch_handle_exit untouched, it will be converted in a separate step.

[Qemu-devel] [PATCH v3] Add qcow2 documentation

2011-03-15 Thread Kevin Wolf
This adds a description of the qcow2 file format to the docs/ directory. Besides documenting what's there, which is never wrong, the document should provide a good basis for the discussion of format extensions (called qcow3 in previous discussions) Signed-off-by: Kevin Wolf kw...@redhat.com ---

[Qemu-devel] [PATCH v2 11/20] x86: Save/restore PAT MSR

2011-03-15 Thread Jan Kiszka
Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- target-i386/machine.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/target-i386/machine.c b/target-i386/machine.c index d78eceb..6384f54 100644 --- a/target-i386/machine.c +++ b/target-i386/machine.c @@ -491,6 +491,8

[Qemu-devel] [PATCHv3] report that QEMU process was killed by a signal

2011-03-15 Thread Gleb Natapov
Currently when rogue script kills QEMU process (using TERM/INT/HUP signal) it looks indistinguishable from system shutdown. Lets report that QEMU was killed and leave some clues about the killer identity. Signed-off-by: Gleb Natapov g...@redhat.com --- v1-v2: - print message from a main

[Qemu-devel] [PATCH v2 00/20] [uq/master] Patch queue, part V (the rest)

2011-03-15 Thread Jan Kiszka
This series catches all the rest to prepare QEMU's KVM support for merging with qemu-kvm. IOW, once these bits here are applied, qemu-kvm can switch its infrastructure to upstream and is effectively only adding own bits for in-kernel irqchip and device assignment support. Topics of this series

[Qemu-devel] [PATCH v2 19/20] kvm: x86: Push kvm_arch_debug to kvm_arch_handle_exit

2011-03-15 Thread Jan Kiszka
There are no generic bits remaining in the handling of KVM_EXIT_DEBUG. So push its logic completely into arch hands, i.e. only x86 so far. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- kvm-all.c | 11 --- kvm.h |2 -- target-i386/kvm.c | 25

[Qemu-devel] [PATCH v2 18/20] kvm: x86: Reorder functions in kvm.c

2011-03-15 Thread Jan Kiszka
Required for next patch which will access guest debug services from kvm_arch_handle_exit. No functional changes. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- target-i386/kvm.c | 108 ++-- 1 files changed, 54 insertions(+), 54 deletions(-)

[Qemu-devel] Re: [v1 PATCH 1/3]: Move the paio_signal_handler to a generic location.

2011-03-15 Thread Stefan Hajnoczi
On Tue, Mar 15, 2011 at 10:36 AM, Arun R Bharadwaj a...@linux.vnet.ibm.com wrote: * Arun R Bharadwaj a...@linux.vnet.ibm.com [2011-03-15 16:04:53]: Author: Arun R Bharadwaj a...@linux.vnet.ibm.com Date:   Thu Mar 10 14:45:25 2011 +0530    Move the paio_signal_handler to a generic location.

Re: [Qemu-devel] [v1 PATCH 2/3]: Helper routines to use GLib threadpool infrastructure in 9pfs.

2011-03-15 Thread Harsh Bora
On 03/15/2011 04:08 PM, Arun R Bharadwaj wrote: * Arun R Bharadwaja...@linux.vnet.ibm.com [2011-03-15 16:04:53]: Author: Arun R Bharadwaja...@linux.vnet.ibm.com Date: Thu Mar 10 15:11:49 2011 +0530 Helper routines to use GLib threadpool infrastructure in 9pfs. This patch creates

Re: [Qemu-devel] [PATCH -V3 1/8] hw/9pfs: Add V9fsfidmap in preparation for adding fd reclaim

2011-03-15 Thread Aneesh Kumar K. V
On Tue, 15 Mar 2011 10:38:31 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Mar 15, 2011 at 9:20 AM, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Sun, 13 Mar 2011 20:53:41 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sun, Mar 13, 2011 at 7:06 PM, Aneesh

Re: [Qemu-devel] [PATCH -V3 7/8] hw/9pfs: Add new virtfs option cache=none to skip host page cache

2011-03-15 Thread Aneesh Kumar K. V
On Tue, 15 Mar 2011 11:11:46 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Mar 15, 2011 at 9:19 AM, Aneesh Kumar K. V aneesh.ku...@linux.vnet.ibm.com wrote: On Mon, 14 Mar 2011 10:20:57 +, Stefan Hajnoczi stefa...@gmail.com wrote: On Sun, Mar 13, 2011 at 7:04 PM, Aneesh

[Qemu-devel] [PATCH v2 0/7] Introduce -display and make VNC optional

2011-03-15 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com Hi, This is the second version of the -display patches and the option to make VNC optional. It introduces a new -display argument to consolidate the current -sdl/-curses/-nographic/-vnc arguments and I included the patch I posted last week to

[Qemu-devel] [PATCH 2/7] Introduce -display argument

2011-03-15 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com This patch introduces a -display argument which consolidates the setting of the display mode. Valid options are: sdl/curses/default/serial (serial is equivalent to -nographic) Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- qemu-options.hx |

[Qemu-devel] [PATCH 4/7] Add support for -display vnc

2011-03-15 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- qemu-options.hx |5 - vl.c| 14 ++ 2 files changed, 18 insertions(+), 1 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index 80506e7..e2a31bc 100644

[Qemu-devel] [PATCH 1/7] Consolidate DisplaySurface allocation in qemu_alloc_display()

2011-03-15 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com This removes various code duplication from console.e and sdl.c Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- console.c | 45 + console.h |3 +++ ui/sdl.c | 21 - 3 files

[Qemu-devel] [PATCH 5/7] error message if user specifies SDL cmd line option when SDL is disabled

2011-03-15 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- qemu-options.hx | 10 -- vl.c|8 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index e2a31bc..ee7e1d7 100644

[Qemu-devel] [PATCH 6/7] error message if user specifies curses on cmd line when curses is disabled

2011-03-15 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- qemu-options.hx |2 -- vl.c|7 +-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index ee7e1d7..b6b125c 100644 ---

[Qemu-devel] [PATCH 7/7] Make VNC support optional

2011-03-15 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com Per default VNC is enabled. Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- Makefile.objs | 19 ++- configure | 37 + console.h | 26 -- monitor.c |

[Qemu-devel] [PATCH 3/7] Introduce -display none

2011-03-15 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com New option -display none. This option differs from -display nographic by not trying to take control of stdio etc. but instead behaves as if a graphics display is enabled, except that it doesn't show one. Signed-off-by: Jes Sorensen

Re: [Qemu-devel] segmentation fault in qemu-kvm-0.14.0

2011-03-15 Thread Peter Lieven
On 09.03.2011 08:26, Stefan Weil wrote: Am 08.03.2011 23:53, schrieb Peter Lieven: Hi, during testing of qemu-kvm-0.14.0 i can reproduce the following segfault. i have seen similar crash already in 0.13.0, but had no time to debug. my guess is that this segfault is related to the threaded

Re: [Qemu-devel] [PATCH 4/7] libcacard: initial commit

2011-03-15 Thread Jes Sorensen
On 03/14/11 17:40, Alon Levy wrote: On Mon, Mar 14, 2011 at 04:20:22PM +0100, Jes Sorensen wrote: ok, here is a note where I kinda ignored my own wishes but I want to be very clear on them: libcacard should not be part of qemu. it is here because I once thought it would speed things up.

[Qemu-devel] [Bug 735454] [NEW] live kvm migration with non-shared storage corrupts file system

2011-03-15 Thread Sebastian J. Bronner
Public bug reported: Description of problem: Migrating a kvm guest on non-shared lvm-storage using block migration (-b flag) results in a corrupted file system if that guest is under considerable I/O load. Version-Release number of selected component (if applicable): qemu-kvm-0.12.3

[Qemu-devel] [Bug 735454] Re: live kvm migration with non-shared storage corrupts file system

2011-03-15 Thread Sebastian J. Bronner
** Attachment added: A set of scripts to exercise the file system https://bugs.launchpad.net/bugs/735454/+attachment/1910025/+files/uglyfstest.tbz2 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

[Qemu-devel] Re: [v1 PATCH 2/3]: Helper routines to use GLib threadpool infrastructure in 9pfs.

2011-03-15 Thread Anthony Liguori
On 03/15/2011 05:38 AM, Arun R Bharadwaj wrote: * Arun R Bharadwaja...@linux.vnet.ibm.com [2011-03-15 16:04:53]: Author: Arun R Bharadwaja...@linux.vnet.ibm.com Date: Thu Mar 10 15:11:49 2011 +0530 Helper routines to use GLib threadpool infrastructure in 9pfs. This patch creates

Re: [Qemu-devel] [PATCH 4/7] libcacard: initial commit

2011-03-15 Thread Alon Levy
On Tue, Mar 15, 2011 at 01:42:56PM +0100, Jes Sorensen wrote: On 03/14/11 17:40, Alon Levy wrote: On Mon, Mar 14, 2011 at 04:20:22PM +0100, Jes Sorensen wrote: ok, here is a note where I kinda ignored my own wishes but I want to be very clear on them: libcacard should not be part of

[Qemu-devel] [PATCH] Autodetect clock_gettime

2011-03-15 Thread Tristan Gingold
Some POSIX OSes (such as Darwin) doesn't have clock_gettime. This patch falls back on gettimeofday if clock_gettime is not available. Signed-off-by: Tristan Gingold ging...@adacore.com --- configure | 11 --- qemu-thread-posix.c | 17 +++-- 2 files changed, 23

[Qemu-devel] [PATCH] cocoa: do not create a spurious window for -version

2011-03-15 Thread Tristan Gingold
When invoked with -version, qemu will exit just after displaying the version, so there is no need to create a window. Also handles --XXX options. Signed-off-by: Tristan Gingold ging...@adacore.com --- ui/cocoa.m | 15 --- 1 files changed, 12 insertions(+), 3 deletions(-) diff

[Qemu-devel] [PATCH] Fix net_check_clients warnings: make it per vlan.

2011-03-15 Thread Tristan Gingold
Signed-off-by: Tristan Gingold ging...@adacore.com --- net.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/net.c b/net.c index ddcca97..b2dfaa8 100644 --- a/net.c +++ b/net.c @@ -1305,9 +1305,10 @@ void net_check_clients(void) { VLANState *vlan;

Re: [Qemu-devel] [RFC] QCFG: a new mechanism to replace QemuOpts and option handling

2011-03-15 Thread Anthony Liguori
On 03/15/2011 05:09 AM, Kevin Wolf wrote: 5) Very complex data types can be implemented. We had some discussion of supporting nested structures with -blockdev. This wouldn't work with QemuOpts but I've already implemented it with QCFG (blockdev syntax is my test case right now). The syntax

[Qemu-devel] Re: [PATCH] Autodetect clock_gettime

2011-03-15 Thread Paolo Bonzini
On 03/15/2011 02:16 PM, Tristan Gingold wrote: Some POSIX OSes (such as Darwin) doesn't have clock_gettime. This patch falls back on gettimeofday if clock_gettime is not available. This may be okay as a stopgap measure, but any sane porting target for QEMU should have a monotonic clock. In

[Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number

2011-03-15 Thread Serge Hallyn
Please test the packages uploaded in comment #6 (or, if you're on maverick, comment #7) and comment if they work for you. Once verified we can merge the linked bzr trees. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

Re: [Qemu-devel] Re: [RFC] QCFG: a new mechanism to replace QemuOpts and option handling

2011-03-15 Thread Anthony Liguori
On 03/15/2011 06:21 AM, Kevin Wolf wrote: Am 14.03.2011 18:48, schrieb Anthony Liguori: I've got a spec written up at http://wiki.qemu.org/Features/QCFG. Initial code is in my QAPI tree. One question about a small detail on this wiki page: typedef struct BlockdevConfig { char * file;

Re: [Qemu-devel] [PATCH 4/7] libcacard: initial commit

2011-03-15 Thread Jes Sorensen
On 03/15/11 14:14, Alon Levy wrote: On Tue, Mar 15, 2011 at 01:42:56PM +0100, Jes Sorensen wrote: Alternatively the external apps that build against it should be taught to link with the QEMU version. That would require me to teach qemu's configure to build libcacard, possibly only

Re: [Qemu-devel] [RFC] QCFG: a new mechanism to replace QemuOpts and option handling

2011-03-15 Thread Kevin Wolf
Am 15.03.2011 14:27, schrieb Anthony Liguori: On 03/15/2011 05:09 AM, Kevin Wolf wrote: 5) Very complex data types can be implemented. We had some discussion of supporting nested structures with -blockdev. This wouldn't work with QemuOpts but I've already implemented it with QCFG (blockdev

Re: [Qemu-devel] [PATCH 4/7] libcacard: initial commit

2011-03-15 Thread Anthony Liguori
On 03/15/2011 07:42 AM, Jes Sorensen wrote: On 03/14/11 17:40, Alon Levy wrote: On Mon, Mar 14, 2011 at 04:20:22PM +0100, Jes Sorensen wrote: ok, here is a note where I kinda ignored my own wishes but I want to be very clear on them: libcacard should not be part of qemu. it is here because

Re: [Qemu-devel] [PATCH 4/7] libcacard: initial commit

2011-03-15 Thread Anthony Liguori
On 03/15/2011 08:14 AM, Alon Levy wrote: Alternatively the external apps that build against it should be taught to link with the QEMU version. That would require me to teach qemu's configure to build libcacard, possibly only libcacard (even though qemu doesn't need a lot of packages by

[Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number

2011-03-15 Thread Serge Hallyn
** Description changed: + = + SRU Justification: + 1. Impact: 'qemu -drive ...,serial=xyz' does not work + 2. How addressed: a patch from upstream fixes bug that sizeof was called on the wrong thing. + 3. patch: is in the description + 4. to reproduce: use

Re: [Qemu-devel] Re: [RFC] QCFG: a new mechanism to replace QemuOpts and option handling

2011-03-15 Thread Kevin Wolf
Am 15.03.2011 14:37, schrieb Anthony Liguori: On 03/15/2011 06:21 AM, Kevin Wolf wrote: Am 14.03.2011 18:48, schrieb Anthony Liguori: I've got a spec written up at http://wiki.qemu.org/Features/QCFG. Initial code is in my QAPI tree. One question about a small detail on this wiki page:

[Qemu-devel] Re: KVM call agenda for Mars 14th

2011-03-15 Thread Paolo Bonzini
On 03/14/2011 01:14 PM, Juan Quintela wrote: Please send any agenda items you are interested in covering. Switching from gPXE to iPXE. Fedora could lead the switch if it gets some commitment from QEMU to switch in 0.15 too (assuming the switch is successful). See also

[Qemu-devel] Re: [PATCH] Autodetect clock_gettime

2011-03-15 Thread Tristan Gingold
On Mar 15, 2011, at 2:34 PM, Paolo Bonzini wrote: On 03/15/2011 02:16 PM, Tristan Gingold wrote: Some POSIX OSes (such as Darwin) doesn't have clock_gettime. This patch falls back on gettimeofday if clock_gettime is not available. This may be okay as a stopgap measure, but any sane

Re: [Qemu-devel] [RFC] QCFG: a new mechanism to replace QemuOpts and option handling

2011-03-15 Thread Anthony Liguori
On 03/15/2011 08:45 AM, Kevin Wolf wrote: Am 15.03.2011 14:27, schrieb Anthony Liguori: On 03/15/2011 05:09 AM, Kevin Wolf wrote: 5) Very complex data types can be implemented. We had some discussion of supporting nested structures with -blockdev. This wouldn't work with QemuOpts but I've

[Qemu-devel] Sistemi pubblicitari innovativi

2011-03-15 Thread Claudio Bisio
World Marketing un sistema innovativo per la tua pubblicità http://fineuropa6.x10.mx/world_marketing.html --- This e-mail was sent to qemu-devel@nongnu.org because you are subscribed to at least one of our mailing lists. If at any

[Qemu-devel] Re: [PATCH] Autodetect clock_gettime

2011-03-15 Thread Paolo Bonzini
On 03/15/2011 02:47 PM, Tristan Gingold wrote: On Mar 15, 2011, at 2:34 PM, Paolo Bonzini wrote: On 03/15/2011 02:16 PM, Tristan Gingold wrote: Some POSIX OSes (such as Darwin) doesn't have clock_gettime. This patch falls back on gettimeofday if clock_gettime is not available. This may be

[Qemu-devel] Re: [PATCH 2/7] Introduce -display argument

2011-03-15 Thread Peter Maydell
On 15 March 2011 12:36, jes.soren...@redhat.com wrote: From: Jes Sorensen jes.soren...@redhat.com This patch introduces a -display argument which consolidates the setting of the display mode. Valid options are: sdl/curses/default/serial (serial is equivalent to -nographic) So I still think

Re: [Qemu-devel] [PATCH 4/7] libcacard: initial commit

2011-03-15 Thread Alon Levy
On Tue, Mar 15, 2011 at 02:40:04PM +0100, Jes Sorensen wrote: On 03/15/11 14:14, Alon Levy wrote: On Tue, Mar 15, 2011 at 01:42:56PM +0100, Jes Sorensen wrote: Alternatively the external apps that build against it should be taught to link with the QEMU version. That would require me

[Qemu-devel] [PATCH, RFC 0/4] allow guest control of the volatile write cache

2011-03-15 Thread Christoph Hellwig
This series adds support for the guest to control the volatile write cache setting on disks exported by qemu for ide and virtio. For ide it just wires up the existing SETFEATURES calls, and for virtio it adds a new writeable config space field. SCSI is not supported at this point, as the

[Qemu-devel] [PATCH 4/4] virtio-blk: add runtime cache control

2011-03-15 Thread Christoph Hellwig
Add a new writeable features config space field, which allows the guest to communicate features it wants enabled/disabled at runtime. The only feature defined so far is the status of the volatile write cache. Also rename the virtio_blk_update_config to virtio_blk_get_config to fit the method

[Qemu-devel] [PATCH 2/4] block: add a helper to change writeback mode on the fly

2011-03-15 Thread Christoph Hellwig
Add a new bdrv_change_cache that can set/clear the writeback flag at runtime by stopping all I/O and closing/reopening the image file. All code is based on a patch from Prerna Saxena pre...@linux.vnet.ibm.com with minimal refactoring. Signed-off-by: Christoph Hellwig h...@lst.de Index:

[Qemu-devel] [PATCH 1/4] block: clarify the meaning of BDRV_O_NOCACHE

2011-03-15 Thread Christoph Hellwig
Change BDRV_O_NOCACHE to only imply bypassing the host OS file cache, but no writeback semantics. All existing callers are changed to also specify BDRV_O_CACHE_WB to give them writeback semantics. Signed-off-by: Christoph Hellwig h...@lst.de Index: qemu/block.c

[Qemu-devel] [PATCH 3/4] ide: wire up setfeatures cache control

2011-03-15 Thread Christoph Hellwig
Wire up the ATA SETFEATURES subcalls that control the volatile write cache to the new bdrv_change_cache helper. Signed-off-by: Christoph Hellwig h...@lst.de Index: qemu/hw/ide/core.c === --- qemu.orig/hw/ide/core.c 2011-03-15

[Qemu-devel] qemu-kvm 0.14.0 and clocksource=acpi_pm

2011-03-15 Thread Peter Lieven
Hi, i'm currently testing qemu-kvm 0.14.0 in conjunction with Linux 2.6.38 on the host system. As there are some old kernels out that support kvm_clock but not reliably we used to run some of them with clocksource=acpi_pm. However, on this new combination of qemu-kvm and linux kernel I see

[Qemu-devel] [PATCH, RFC] virtio_blk: add cache control support

2011-03-15 Thread Christoph Hellwig
Add support for the new dynamic features config space field to allow en/disabling the write cache at runtime. The userspace interface is a SCSI-compatible sysfs attribute. Signed-off-by: Christoph Hellwig h...@lst.de Index: linux-2.6/drivers/block/virtio_blk.c

[Qemu-devel] Re: Re: [PATCH] Autodetect clock_gettime

2011-03-15 Thread François Revol
Le 15 mars 2011 à 14:58, Paolo Bonzini pbonz...@redhat.com a écrit : Some POSIX OSes (such as Darwin) doesn't have clock_gettime. This patch falls back on gettimeofday if clock_gettime is not available. Some code I've seen use #ifdef CLOCK_REALTIME but this doesn't seem right

Re: [Qemu-devel] [PATCH 4/7] libcacard: initial commit

2011-03-15 Thread Alon Levy
On Tue, Mar 15, 2011 at 08:45:29AM -0500, Anthony Liguori wrote: On 03/15/2011 08:14 AM, Alon Levy wrote: Alternatively the external apps that build against it should be taught to link with the QEMU version. That would require me to teach qemu's configure to build libcacard, possibly only

[Qemu-devel] Re: [PATCH] Autodetect clock_gettime

2011-03-15 Thread Tristan Gingold
On Mar 15, 2011, at 2:58 PM, Paolo Bonzini wrote: On 03/15/2011 02:47 PM, Tristan Gingold wrote: On Mar 15, 2011, at 2:34 PM, Paolo Bonzini wrote: On 03/15/2011 02:16 PM, Tristan Gingold wrote: Some POSIX OSes (such as Darwin) doesn't have clock_gettime. This patch falls back on

Re: [Qemu-devel] [PATCH 4/7] libcacard: initial commit

2011-03-15 Thread Alon Levy
On Tue, Mar 15, 2011 at 08:44:27AM -0500, Anthony Liguori wrote: On 03/15/2011 07:42 AM, Jes Sorensen wrote: On 03/14/11 17:40, Alon Levy wrote: On Mon, Mar 14, 2011 at 04:20:22PM +0100, Jes Sorensen wrote: ok, here is a note where I kinda ignored my own wishes but I want to be very clear

[Qemu-devel] Re: [PATCH 1/7] Consolidate DisplaySurface allocation in qemu_alloc_display()

2011-03-15 Thread Anthony Liguori
On 03/15/2011 07:36 AM, jes.soren...@redhat.com wrote: From: Jes Sorensenjes.soren...@redhat.com This removes various code duplication from console.e and sdl.c Signed-off-by: Jes Sorensenjes.soren...@redhat.com --- console.c | 45 + console.h |

[Qemu-devel] Re: [PATCH 2/7] Introduce -display argument

2011-03-15 Thread Anthony Liguori
On 03/15/2011 07:36 AM, jes.soren...@redhat.com wrote: From: Jes Sorensenjes.soren...@redhat.com This patch introduces a -display argument which consolidates the setting of the display mode. Valid options are: sdl/curses/default/serial (serial is equivalent to -nographic) Signed-off-by: Jes

Re: [Qemu-devel] [PATCH 4/7] libcacard: initial commit

2011-03-15 Thread Jes Sorensen
On 03/15/11 15:25, Alon Levy wrote: I am not sure what is the best way, if it stays in QEMU people will eventually start making modifications to it, without looking at the other copy that is being maintained. Two copies is not really practical. QEMU should be the place that owns it

[Qemu-devel] [PATCH] Fix migration uint8 arrys handled

2011-03-15 Thread Juan Quintela
commit 82fa39b75181b730d6d4d09f443bd26bcfcd045c only contains half of the fix. It forgots the save state fix for UINT8 indexes. Anthony, please apply, without this migration using hpet is broken. (only current user). Signed-off-by: Juan Quintela quint...@redhat.com --- savevm.c |2 ++ 1

[Qemu-devel] KVM call minutes for Mar 15

2011-03-15 Thread Chris Wright
QAPI -- http://wiki.qemu.org/Features/QAPI - please review! - Anthony would like to see feedback and plans to commit in a week (assuming agreement and no major issues in review) - some concern about the maintainability of code generation - but still nothing concrete on the list, need to review

  1   2   3   >