[Qemu-devel] Re: [PATCH v2 16/17] kvm: x86: Rework identity map and TSS setup for larger BIOS sizes

2011-01-03 Thread Jan Kiszka
Am 03.01.2011 17:59, Avi Kivity wrote: > On 01/03/2011 06:52 PM, Jan Kiszka wrote: >> Am 03.01.2011 17:06, Avi Kivity wrote: >> > On 01/03/2011 10:33 AM, Jan Kiszka wrote: >> >> From: Jan Kiszka >> >> >> >> First of all, we only need this EPT identity and TSS reservation on >> >> Intel CPUs. >>

[Qemu-devel] Re: [PATCH v2 2/2] qemu, qmp: convert do_inject_nmi() to QObject, QError

2011-01-03 Thread Luiz Capitulino
On Mon, 20 Dec 2010 08:47:46 -0200 Marcelo Tosatti wrote: > On Fri, Dec 10, 2010 at 09:20:26AM -0200, Luiz Capitulino wrote: > > On Fri, 10 Dec 2010 14:36:08 +0800 > > Lai Jiangshan wrote: > > > > > +SQMP > > > +inject_nmi > > > +-- > > > + > > > +Inject an NMI on the given CPU (x86 onl

[Qemu-devel] [PATCH 2/2] ARM: wire up the softfloat flush_input_to_zero flag

2011-01-03 Thread Peter Maydell
Wire up the new softfloat support for flushing input denormals to zero on ARM. The FPSCR FZ bit enables flush-to-zero for both inputs and outputs, but the reporting of when inputs are flushed to zero is via a separate IDC bit rather than the UFC (underflow) bit used when output denormals are flushe

[Qemu-devel] Re: [PATCH v2 17/17] kvm: Drop dependencies on very old capabilities

2011-01-03 Thread Jan Kiszka
Am 03.01.2011 18:01, Avi Kivity wrote: > On 01/03/2011 06:54 PM, Jan Kiszka wrote: >> Am 03.01.2011 17:08, Avi Kivity wrote: >> > On 01/03/2011 10:33 AM, Jan Kiszka wrote: >> >> From: Jan Kiszka >> >> >> >> COALESCED_MMIO, SYNC_MMU, EXT_CPUID, CLOCKSOURCE, NOP_IO_DELAY, >> PV_MMU - >> >> all th

[Qemu-devel] Re: [PATCH] ioeventfd: minor fixups

2011-01-03 Thread Michael S. Tsirkin
On Wed, Dec 29, 2010 at 04:52:46PM +0200, Michael S. Tsirkin wrote: > This is on top of the ioeventfd patches, and > fixes two potential issues when ioeventfd is mixed with vhost-net: > - ioeventfd could start running then get stopped for vhost-net. > For example, vm state change handlers run in

[Qemu-devel] [Bug 604872] Re: qemu-system-arm segfaults emulating versatile machine after running debootstrap --second-stage inside vm

2011-01-03 Thread Peter Maydell
I have a patchset which fixes this bug, which I need to do a bit more cleanup and testing with before I post it to the list. ** Changed in: qemu Status: New => In Progress -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https

Re: [Qemu-devel] [PATCH 4/6] softfloat: use float{32, 64, x80, 128}_maybe_silence_nan()

2011-01-03 Thread Peter Maydell
On 3 January 2011 14:34, Aurelien Jarno wrote: > Use float{32,64,x80,128}_maybe_silence_nan() instead of toggling the > sNaN bit manually. This allow per target implementation of sNaN to qNaN > conversion. > @@ -237,15 +237,11 @@ static float32 propagateFloat32NaN( float32 a, float32 > b STATUS_

[Qemu-devel] Re: [PATCH v2 17/17] kvm: Drop dependencies on very old capabilities

2011-01-03 Thread Jan Kiszka
Am 03.01.2011 17:08, Avi Kivity wrote: > On 01/03/2011 10:33 AM, Jan Kiszka wrote: >> From: Jan Kiszka >> >> COALESCED_MMIO, SYNC_MMU, EXT_CPUID, CLOCKSOURCE, NOP_IO_DELAY, PV_MMU - >> all these caps predate features on which we already depend at build >> time. Moreover, the check for KVM_CAP_EXT_C

[Qemu-devel] Re: [PATCH v2 14/17] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-03 Thread Glauber Costa
On Mon, 2011-01-03 at 17:30 +0100, Jan Kiszka wrote: > Am 03.01.2011 17:04, Avi Kivity wrote: > > On 01/03/2011 10:33 AM, Jan Kiszka wrote: > >> From: Jan Kiszka > >> > >> If kvmclock is used, which implies the kernel supports it, register a > >> kvmclock device with the sysbus. Its main purpose is

[Qemu-devel] Re: [PATCH v2 14/17] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-03 Thread Avi Kivity
On 01/03/2011 06:30 PM, Jan Kiszka wrote: Am 03.01.2011 17:04, Avi Kivity wrote: > On 01/03/2011 10:33 AM, Jan Kiszka wrote: >> From: Jan Kiszka >> >> If kvmclock is used, which implies the kernel supports it, register a >> kvmclock device with the sysbus. Its main purpose is to save and rest

[Qemu-devel] [PATCH 1/5] usb-ccid: add CCID bus

2011-01-03 Thread Alon Levy
A CCID device is a smart card reader. It is a USB device, defined at [1]. This patch introduces the usb-ccid device that is a ccid bus. Next patches will introduce two card types to use it, a passthru card and an emulated card. [1] http://www.usb.org/developers/devclass_docs/DWG_Smart-Card_CCID_R

[Qemu-devel] Reminder about your invitation from Ozan Türkyılmaz

2011-01-03 Thread LinkedIn Invitations
LinkedIn This invitation is awaiting your response: From Ozan Türkyılmaz -- (c) 2010, LinkedIn Corporation

[Qemu-devel] Re: [PATCH v2 11/17] kvm: x86: Reset paravirtual MSRs

2011-01-03 Thread Glauber Costa
On Mon, 2011-01-03 at 17:46 +0100, Jan Kiszka wrote: > Am 03.01.2011 17:40, Glauber Costa wrote: > > On Mon, 2011-01-03 at 09:33 +0100, Jan Kiszka wrote: > >> From: Jan Kiszka > >> > >> Make sure to clear MSR_KVM_SYSTEM_TIME, MSR_KVM_WALL_CLOCK, and > >> MSR_KVM_ASYNC_PF_EN so that a freshly boote

[Qemu-devel] [PATCH 1/2] softfloat: Implement flushing input denormals to zero

2011-01-03 Thread Peter Maydell
Add support to softfloat for flushing input denormal float32 and float64 to zero. softfloat's existing 'flush_to_zero' flag only flushes denormals to zero on output. Some CPUs need input denormals to be flushed before processing as well. Implement this, using a new status flag to enable it and a ne

[Qemu-devel] [Bug 532733] Re: apt/dpkg in qemu-system-arm hangs if a big task is installed

2011-01-03 Thread Dr. The Fugitive
This is just an issue with mono, apparently does not appear on omap boards. This will appear on a physical machine as well as virtual, I have so far successfully rootstock ubuntu-minimal (meerkat) and used apt-get install --no-install-recommends ubuntu-netbook to build thus far. Am working on a ker

[Qemu-devel] [PATCH] noaudio: use audio_pcm_sw_read() in no_read()

2011-01-03 Thread Michael Walle
Instead of returning a self-calculated empty buffer use the proper method supplied by the audio subsystem. This will fix the return value of the no_read() function which otherwise returns too many samples because total_hw_samples_acquired isn't correctly accounted. Signed-off-by: Michael Walle --

Re: [Qemu-devel] [PATCH 4/6] softfloat: use float{32, 64, x80, 128}_maybe_silence_nan()

2011-01-03 Thread Aurelien Jarno
On Mon, Jan 03, 2011 at 05:34:17PM +, Peter Maydell wrote: > On 3 January 2011 14:34, Aurelien Jarno wrote: > > Use float{32,64,x80,128}_maybe_silence_nan() instead of toggling the > > sNaN bit manually. This allow per target implementation of sNaN to qNaN > > conversion. > > > @@ -237,15 +23

Re: [Qemu-devel] [PATCH] noaudio: use audio_pcm_sw_read() in no_read()

2011-01-03 Thread malc
On Mon, 3 Jan 2011, Michael Walle wrote: > Instead of returning a self-calculated empty buffer use the proper method > supplied by the audio subsystem. This will fix the return value of the > no_read() function which otherwise returns too many samples because > total_hw_samples_acquired isn't corr

Re: [Qemu-devel] [PATCH] noaudio: use audio_pcm_sw_read() in no_read()

2011-01-03 Thread malc
On Mon, 3 Jan 2011, Michael Walle wrote: > On Mon, 3 Jan 2011, 23:46:34 malc wrote: > > On Mon, 3 Jan 2011, Michael Walle wrote: > > > Instead of returning a self-calculated empty buffer use the proper method > > > supplied by the audio subsystem. This will fix the return value of the > > > no_rea

[Qemu-devel] Re: audio: Mixing engine and mixer emulation

2011-01-03 Thread malc
On Tue, 4 Jan 2011, Michael Walle wrote: > > Hi, > > the SWVoiceIn volume is never used, although there is AUD_set_volume_in() to > set it. Would it be possible to add support for it? So we could get the mixer > emulation for capture devices too? > > BTW i see you can only attenuate an audio

[Qemu-devel] [PATCH] noaudio: correctly account acquired samples

2011-01-03 Thread Michael Walle
This will fix the return value of the function which otherwise returns too many samples because sw->total_hw_samples_acquired isn't correctly accounted. Signed-off-by: Michael Walle --- audio/noaudio.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/audio/noaudio.c b/a

Re: [Qemu-devel] [PATCH] noaudio: correctly account acquired samples

2011-01-03 Thread malc
On Tue, 4 Jan 2011, Michael Walle wrote: > This will fix the return value of the function which otherwise returns too > many samples because sw->total_hw_samples_acquired isn't correctly > accounted. > Applied, thanks. -- mailto:av1...@comtv.ru

[Qemu-devel] [PATCH 00/13] Threadlets infrastructure.

2011-01-03 Thread Arun R Bharadwaj
Hi, This patch series implements threadlets infrastructure in qemu. This is a complete rework of the earlier patch series so that it becomes easier to review. I have broken down the earlier patch series as asked by Anthony The following series implements... --- Arun R Bharadwaj (13): Add

[Qemu-devel] [PATCH 01/13] Add aiocb_mutex and aiocb_completion.

2011-01-03 Thread Arun R Bharadwaj
This patch adds the aiocb_mutex to protect aiocb. This patch also removes the infinite loop present in paio_cancel. Since there can only be one cancellation at a time, we need to introduce a condition variable. For this, we need a global aiocb_completion condition variable. This patch also adds t

[Qemu-devel] [PATCH 02/13] Introduce work concept in posix-aio-compat.c

2011-01-03 Thread Arun R Bharadwaj
This patch introduces work concept by introducing the ThreadletWork structure. Signed-off-by: Arun R Bharadwaj --- posix-aio-compat.c | 20 ++-- 1 files changed, 14 insertions(+), 6 deletions(-) diff --git a/posix-aio-compat.c b/posix-aio-compat.c index ae5e20e..de52eb5 100644

[Qemu-devel] [PATCH 03/13] Add callback function to ThreadletWork structure.

2011-01-03 Thread Arun R Bharadwaj
This patch adds the callback function to the ThreadletWork structure and moves aio handler as a callback function. Signed-off-by: Arun R Bharadwaj --- posix-aio-compat.c | 88 +--- 1 files changed, 49 insertions(+), 39 deletions(-) diff --git a/

[Qemu-devel] [PATCH 04/13] Add ThreadletQueue.

2011-01-03 Thread Arun R Bharadwaj
This patch adds a global queue of type ThreadletQueue and removes the earlier usage of request_list queue. We want to create the thread on the first submit. Hence we need to track whether the globalqueue is initialized or not. Signed-off-by: Arun R Bharadwaj --- posix-aio-compat.c | 161 ++

[Qemu-devel] [PATCH 05/13] Threadlet: Add submit_work threadlet API.

2011-01-03 Thread Arun R Bharadwaj
This patch adds submit work threadlet API and shows how the qemu_paio_submit changes to submit_work. Signed-off-by: Arun R Bharadwaj --- posix-aio-compat.c | 33 ++--- 1 files changed, 22 insertions(+), 11 deletions(-) diff --git a/posix-aio-compat.c b/posix-aio-co

[Qemu-devel] [PATCH 06/13] Threadlet: Add dequeue_work threadlet API

2011-01-03 Thread Arun R Bharadwaj
This patch adds dequeue_work threadlet API and shows how the paio_cancel changes to dequeue_work. Signed-off-by: Arun R Bharadwaj --- posix-aio-compat.c | 46 ++ 1 files changed, 26 insertions(+), 20 deletions(-) diff --git a/posix-aio-compat.c b/po

[Qemu-devel] [PATCH 13/13] Threadlets: Add documentation

2011-01-03 Thread Arun R Bharadwaj
Signed-off-by: Arun R Bharadwaj Signed-off-by: Gautham R Shenoy --- docs/async-support.txt | 141 1 files changed, 141 insertions(+), 0 deletions(-) create mode 100644 docs/async-support.txt diff --git a/docs/async-support.txt b/docs/async-supp

[Qemu-devel] [PATCH 09/13] Threadlet: Add aio_signal_handler threadlet API

2011-01-03 Thread Arun R Bharadwaj
This patch adds aio_signal_handler threadlet API. Earler posix-aio-compat.c had its own signal handler code. Now abstract this, in the later patch it is moved to a generic code so that it can be used by other subsystems. Signed-off-by: Arun R Bharadwaj --- posix-aio-compat.c | 49 +

[Qemu-devel] [PATCH 07/13] Remove active field in qemu_aiocb structure.

2011-01-03 Thread Arun R Bharadwaj
The active field in the qemu_aiocb structure is now useless. Remove it. Signed-off-by: Arun R Bharadwaj --- posix-aio-compat.c | 17 ++--- 1 files changed, 6 insertions(+), 11 deletions(-) diff --git a/posix-aio-compat.c b/posix-aio-compat.c index 8f1a9b6..fd9fcfd 100644 --- a/pos

[Qemu-devel] [PATCH 12/13] Threadlets: Add functionality to create private queues.

2011-01-03 Thread Arun R Bharadwaj
This patch allows subsystems to create their own private queues with associated pools of threads. Signed-off-by: Arun R Bharadwaj --- qemu-threadlets.c | 80 ++--- qemu-threadlets.h |4 +++ 2 files changed, 62 insertions(+), 22 deletions(-)

[Qemu-devel] [PATCH 08/13] Remove thread_create routine.

2011-01-03 Thread Arun R Bharadwaj
Remove thread_create and use qemu_thread_create instead. Signed-off-by: Arun R Bharadwaj --- posix-aio-compat.c | 19 ++- 1 files changed, 2 insertions(+), 17 deletions(-) diff --git a/posix-aio-compat.c b/posix-aio-compat.c index fd9fcfd..3b01c9b 100644 --- a/posix-aio-compat

[Qemu-devel] [PATCH 10/13] Remove all instances of CONFIG_THREAD

2011-01-03 Thread Arun R Bharadwaj
Remove all instances of CONFIG_THREAD, which is not used anymore. Signed-off-by: Arun R Bharadwaj --- configure |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/configure b/configure index a079a49..addf733 100755 --- a/configure +++ b/configure @@ -2456,7 +2456,6 @@ if t

[Qemu-devel] [PATCH 11/13] Move threadlet code to qemu-threadlets.c

2011-01-03 Thread Arun R Bharadwaj
This patch moves the threadlet queue API code to qemu-threadlets.c where these APIs can be used by other subsystems. Signed-off-by: Arun R Bharadwaj --- Makefile.objs |1 posix-aio-compat.c | 151 qemu-thread.h |1 qemu-th

[Qemu-devel] LinkedIn Messages, 1/04/2011

2011-01-03 Thread LinkedIn Communication
LinkedIn REMINDERS: Invitation Reminders: * View Invitation from Anbang Ruan http://www.linkedin.com/e/-kkb1ec-giie1dcq-39/qTMmi8QEI_f3FNXUkL1mvZgy00BGYniwg3/blk/I77735332_11/0NclYOcPcRcPsTdQALqnpPbOYWrSlI/svi/ PENDING MESSAGES: There are a total of 3 message

<    1   2