Re: [PATCH 3/3] KVM: Add documents for MSI-X MMIO API

2011-01-19 Thread Sheng Yang
On Monday 17 January 2011 20:45:55 Avi Kivity wrote: On 01/17/2011 02:35 PM, Sheng Yang wrote: On Monday 17 January 2011 20:21:45 Avi Kivity wrote: On 01/06/2011 12:19 PM, Sheng Yang wrote: Signed-off-by: Sheng Yangsh...@linux.intel.com ---

Re: [PATCH 2/3] KVM: Emulate MSI-X table in kernel

2011-01-19 Thread Sheng Yang
On Monday 17 January 2011 20:39:30 Marcelo Tosatti wrote: On Mon, Jan 17, 2011 at 08:18:22PM +0800, Sheng Yang wrote: + goto out; + + mmio = mmio_dev-mmio[idx]; + entry = (addr - mmio-table_base_addr) / PCI_MSIX_ENTRY_SIZE; + entry_base =

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

2011-01-19 Thread Kevin Wolf
Am 19.01.2011 06:44, schrieb Yoshiaki Tamura: event-tap function is called only when it is on, and requests sent from device emulators. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- block.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff

Re: Flow Control and Port Mirroring Revisited

2011-01-19 Thread Simon Horman
On Tue, Jan 18, 2011 at 10:13:33PM +0200, Michael S. Tsirkin wrote: On Tue, Jan 18, 2011 at 11:41:22AM -0800, Rick Jones wrote: So it won't be all that simple to implement well, and before we try, I'd like to know whether there are applications that are helped by it. For example, we could

Re: [PATCH 1/2] KVM test: Turning hugepages setup into KVM autotest infrastructure

2011-01-19 Thread Michael Goldish
On 01/19/2011 03:56 AM, Lucas Meneghel Rodrigues wrote: So we can get rid of scripts/hugepage.py. The implementation strategy is to have a kvm_utils.HugePageConfig class that can do both hugepages setup and cleanup, and call it during pre/postprocessing. Signed-off-by: Lucas Meneghel

Re: [Qemu-devel] [PATCH 09/19] Introduce event-tap.

2011-01-19 Thread Kevin Wolf
Am 19.01.2011 06:44, schrieb Yoshiaki Tamura: event-tap controls when to start FT transaction, and provides proxy functions to called from net/block devices. While FT transaction, it queues up net/block requests, and flush them when the transaction gets completed. Signed-off-by: Yoshiaki

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

2011-01-19 Thread Kevin Wolf
Am 19.01.2011 06:44, schrieb Yoshiaki Tamura: event-tap function is called only when it is on, and requests sent from device emulators. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp --- block.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Gerd Hoffmann
On 01/18/11 18:09, Anthony Liguori wrote: On 01/18/2011 10:56 AM, Jan Kiszka wrote: The device model topology is 100% a hidden architectural detail. This is true for the sysbus, it is obviously not the case for PCI and similarly discoverable buses. There we have a guest-explorable topology

[Bug 27052] New: Module KVM : unable to handle kernel NULL pointer dereference at

2011-01-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=27052 Summary: Module KVM : unable to handle kernel NULL pointer dereference at Product: Virtualization Version: unspecified Kernel Version: 2.6.37 Platform: All OS/Version:

[Bug 27052] Module KVM : unable to handle kernel NULL pointer dereference at

2011-01-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=27052 --- Comment #1 from prochazka prochazka.nico...@gmail.com 2011-01-19 11:05:05 --- cpuinfo and cmdline : /usr/local/bin/qemu -name R005 -vga std -net tap,vlan=0,name=interne,ifname=vmtap5 -net

[Bug 27052] Module KVM : unable to handle kernel NULL pointer dereference at

2011-01-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=27052 --- Comment #2 from prochazka prochazka.nico...@gmail.com 2011-01-19 11:26:16 --- it seems without hugepage, i can not reproduce this bugs ( -mem-prealloc -mem-path /hugepages ) /usr/local/bin/qemu -name R005 -vga std -net

[Bug 27052] Module KVM : unable to handle kernel NULL pointer dereference at

2011-01-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=27052 --- Comment #3 from prochazka prochazka.nico...@gmail.com 2011-01-19 11:34:21 --- Sorry, witout hugepage, bug is alway here : rmap_remove: 8802455bfff8 0-BUG [ cut here ] kernel BUG at

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

2011-01-19 Thread Yoshiaki Tamura
2011/1/19 Kevin Wolf kw...@redhat.com: Am 19.01.2011 06:44, schrieb Yoshiaki Tamura: event-tap function is called only when it is on, and requests sent from device emulators. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp ---  block.c |   11 +++  1 files changed, 11

Re: [Qemu-devel] [PATCH 09/19] Introduce event-tap.

2011-01-19 Thread Yoshiaki Tamura
2011/1/19 Kevin Wolf kw...@redhat.com: Am 19.01.2011 06:44, schrieb Yoshiaki Tamura: event-tap controls when to start FT transaction, and provides proxy functions to called from net/block devices.  While FT transaction, it queues up net/block requests, and flush them when the transaction gets

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Markus Armbruster
Anthony Liguori aligu...@linux.vnet.ibm.com writes: On 01/18/2011 10:56 AM, Jan Kiszka wrote: The device model topology is 100% a hidden architectural detail. This is true for the sysbus, it is obviously not the case for PCI and similarly discoverable buses. There we have a

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Markus Armbruster
Gerd Hoffmann kra...@redhat.com writes: On 01/18/11 18:09, Anthony Liguori wrote: On 01/18/2011 10:56 AM, Jan Kiszka wrote: The device model topology is 100% a hidden architectural detail. This is true for the sysbus, it is obviously not the case for PCI and similarly discoverable buses.

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Markus Armbruster
Anthony Liguori aligu...@linux.vnet.ibm.com writes: On 01/18/2011 09:43 AM, Jan Kiszka wrote: On 2011-01-18 16:04, Anthony Liguori wrote: On 01/18/2011 08:28 AM, Jan Kiszka wrote: On 2011-01-12 11:31, Jan Kiszka wrote: Am 12.01.2011 11:22, Avi Kivity wrote:

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

2011-01-19 Thread Yoshiaki Tamura
2011/1/19 Kevin Wolf kw...@redhat.com: Am 19.01.2011 06:44, schrieb Yoshiaki Tamura: event-tap function is called only when it is on, and requests sent from device emulators. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp ---  block.c |   11 +++  1 files changed, 11

Re: [PATCH V5 2/4] nmi: make cpu-index argument optional

2011-01-19 Thread Luiz Capitulino
Sorry for the long delay on this one, in general looks good, I have just a few small comments. On Mon, 10 Jan 2011 17:27:51 +0800 Lai Jiangshan la...@cn.fujitsu.com wrote: When the argument cpu-index is not given, then nmi command will inject NMI on all CPUs. Please, state that we're

Re: [PATCH V5 3/4] qmp,nmi: convert do_inject_nmi() to QObject

2011-01-19 Thread Luiz Capitulino
On Mon, 10 Jan 2011 17:28:14 +0800 Lai Jiangshan la...@cn.fujitsu.com wrote: Make we can inject NMI via qemu-monitor-protocol. We use inject-nmi for the qmp command name, the meaning is clearer. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- diff --git a/hmp-commands.hx

Re: [Qemu-devel] [PATCH 09/19] Introduce event-tap.

2011-01-19 Thread Kevin Wolf
Am 19.01.2011 14:04, schrieb Yoshiaki Tamura: +static void event_tap_blk_flush(EventTapBlkReq *blk_req) +{ +BlockDriverState *bs; + +bs = bdrv_find(blk_req-device_name); Please store the BlockDriverState in blk_req. This code loops over all block devices and does a string

qemu-kvm.git BUG - 'Two devices with same boot index 0'

2011-01-19 Thread Lucas Meneghel Rodrigues
Hi guys, I've noticed the following regression on qemu.git HEAD: VMCreateError: VM creation command failed: /root/autotest/client/tests/kvm/qemu -name 'vm1' -monitor unix:'/tmp/monitor-humanmonitor1-20110119-083240-ocD9',server,nowait -serial unix:'/tmp/serial-20110119-083240-ocD9',server,nowait

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

2011-01-19 Thread Kevin Wolf
Am 19.01.2011 14:16, schrieb Yoshiaki Tamura: 2011/1/19 Kevin Wolf kw...@redhat.com: Am 19.01.2011 06:44, schrieb Yoshiaki Tamura: event-tap function is called only when it is on, and requests sent from device emulators. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp ---

Re: [PATCH] add bootindex parameter to assigned device

2011-01-19 Thread Marcelo Tosatti
On Mon, Jan 10, 2011 at 11:54:54AM +0200, Gleb Natapov wrote: Signed-off-by: Gleb Natapov g...@redhat.com diff --git a/hw/device-assignment.c b/hw/device-assignment.c index e97f565..0038526 100644 Applied, thanks. -- To unsubscribe from this list: send the line unsubscribe kvm in the body

Re: [PATCH v2] device-assignment: Properly terminate vmsd.fields

2011-01-19 Thread Juan Quintela
Alex Williamson alex.william...@redhat.com wrote: The vmsd code expects the fields structure to be properly terminated, not NULL. An assigned device should never be saved or restored, and recent qemu fixes to the no_migrate flag should ensure this, but let's avoid setting the wrong precedent.

Re: [PATCH 00/14] PV ticket locks without expanding spinlock

2011-01-19 Thread Srivatsa Vaddagiri
On Tue, Nov 16, 2010 at 01:08:31PM -0800, Jeremy Fitzhardinge wrote: From: Jeremy Fitzhardinge jeremy.fitzhardi...@citrix.com Hi all, This is a revised version of the pvticket lock series. The 3-patch series to follow this email extends KVM-hypervisor and Linux guest running on

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Anthony Liguori
On 01/19/2011 03:48 AM, Gerd Hoffmann wrote: On 01/18/11 18:09, Anthony Liguori wrote: On 01/18/2011 10:56 AM, Jan Kiszka wrote: The device model topology is 100% a hidden architectural detail. This is true for the sysbus, it is obviously not the case for PCI and similarly discoverable

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Daniel P. Berrange
On Wed, Jan 19, 2011 at 10:53:30AM -0600, Anthony Liguori wrote: On 01/19/2011 03:48 AM, Gerd Hoffmann wrote: On 01/18/11 18:09, Anthony Liguori wrote: On 01/18/2011 10:56 AM, Jan Kiszka wrote: The device model topology is 100% a hidden architectural detail. This is true for the sysbus, it

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Anthony Liguori
On 01/19/2011 07:11 AM, Markus Armbruster wrote: Gerd Hoffmannkra...@redhat.com writes: On 01/18/11 18:09, Anthony Liguori wrote: On 01/18/2011 10:56 AM, Jan Kiszka wrote: The device model topology is 100% a hidden architectural detail. This is true

[PATCH 2/3] kvm hypervisor : Add hypercalls to support pv-ticketlock

2011-01-19 Thread Srivatsa Vaddagiri
Add two hypercalls to KVM hypervisor to support pv-ticketlocks. KVM_HC_WAIT_FOR_KICK blocks the calling vcpu until another vcpu kicks it or it is woken up because of an event like interrupt. KVM_HC_KICK_CPU allows the calling vcpu to kick another vcpu. The presence of these hypercalls is

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Anthony Liguori
On 01/19/2011 07:15 AM, Markus Armbruster wrote: So they interact with KVM (need kvm_state), and they interact with the emulated PCI bus. Could you elaborate on the fundamental difference between the two interactions that makes you choose the (hypothetical) KVM bus over the PCI bus as device

[PATCH 3/3] kvm guest : Add support for pv-ticketlocks

2011-01-19 Thread Srivatsa Vaddagiri
This patch extends Linux guests running on KVM hypervisor to support pv-ticketlocks. Very early during bootup, paravirtualied KVM guest detects if the hypervisor has required feature (KVM_FEATURE_WAIT_FOR_KICK) to support pv-ticketlocks. If so, support for pv-ticketlocks is registered via

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Daniel P. Berrange
On Wed, Jan 19, 2011 at 10:54:10AM -0600, Anthony Liguori wrote: On 01/19/2011 07:11 AM, Markus Armbruster wrote: Gerd Hoffmannkra...@redhat.com writes: On 01/18/11 18:09, Anthony Liguori wrote: On 01/18/2011 10:56 AM, Jan Kiszka wrote: The device model topology is 100% a hidden

Re: [PATCH 2/3] kvm hypervisor : Add hypercalls to support pv-ticketlock

2011-01-19 Thread Peter Zijlstra
On Wed, 2011-01-19 at 22:42 +0530, Srivatsa Vaddagiri wrote: Add two hypercalls to KVM hypervisor to support pv-ticketlocks. KVM_HC_WAIT_FOR_KICK blocks the calling vcpu until another vcpu kicks it or it is woken up because of an event like interrupt. KVM_HC_KICK_CPU allows the calling

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Jan Kiszka
On 2011-01-19 17:57, Anthony Liguori wrote: On 01/19/2011 07:15 AM, Markus Armbruster wrote: So they interact with KVM (need kvm_state), and they interact with the emulated PCI bus. Could you elaborate on the fundamental difference between the two interactions that makes you choose the

Re: [PATCH 2/3] kvm hypervisor : Add hypercalls to support pv-ticketlock

2011-01-19 Thread Srivatsa Vaddagiri
On Wed, Jan 19, 2011 at 10:42:39PM +0530, Srivatsa Vaddagiri wrote: Add two hypercalls to KVM hypervisor to support pv-ticketlocks. KVM_HC_WAIT_FOR_KICK blocks the calling vcpu until another vcpu kicks it or it is woken up because of an event like interrupt. One possibility is to extend this

[PATCH 1/3] debugfs: Add support to print u32 array

2011-01-19 Thread Srivatsa Vaddagiri
Add debugfs support to print u32-arrays. Most of this comes from Xen-hypervisor sources, which has been refactored to make the code common for other users as well. Signed-off-by: Srivatsa Vaddagiri va...@linux.vnet.ibm.com Signed-off-by: Suzuki Poulose suz...@in.ibm.com ---

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Daniel P. Berrange
On Wed, Jan 19, 2011 at 10:53:30AM -0600, Anthony Liguori wrote: On 01/19/2011 03:48 AM, Gerd Hoffmann wrote: On 01/18/11 18:09, Anthony Liguori wrote: On 01/18/2011 10:56 AM, Jan Kiszka wrote: The device model topology is 100% a hidden architectural detail. This is true for the sysbus, it

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Anthony Liguori
On 01/19/2011 11:35 AM, Daniel P. Berrange wrote: On Wed, Jan 19, 2011 at 10:53:30AM -0600, Anthony Liguori wrote: On 01/19/2011 03:48 AM, Gerd Hoffmann wrote: On 01/18/11 18:09, Anthony Liguori wrote: On 01/18/2011 10:56 AM, Jan Kiszka wrote: The

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Anthony Liguori
On 01/19/2011 11:19 AM, Daniel P. Berrange wrote: In our past experiance though, *not* specifying attributes like these has also been pretty bad from a forward compatibility perspective too. We're kind of damned either way, so on balance we decided we'd specify every attribute in qdev that's

Re: [PATCH 2/3] kvm hypervisor : Add hypercalls to support pv-ticketlock

2011-01-19 Thread Peter Zijlstra
On Wed, 2011-01-19 at 22:53 +0530, Srivatsa Vaddagiri wrote: On Wed, Jan 19, 2011 at 10:42:39PM +0530, Srivatsa Vaddagiri wrote: Add two hypercalls to KVM hypervisor to support pv-ticketlocks. KVM_HC_WAIT_FOR_KICK blocks the calling vcpu until another vcpu kicks it or it is woken up

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Anthony Liguori
On 01/19/2011 11:01 AM, Daniel P. Berrange wrote: The reason we specify 'bus' is that we wanted to be flexible wrt upgrades of libvirt, without needing restarts of QEMU instances it manages. That way we can introduce new functionality into libvirt that relies on it having previously set 'bus'

[PATCH 0/5] Removing scripts/check_image.py and scripts/hugepage.py

2011-01-19 Thread Lucas Meneghel Rodrigues
Fixed patchsets according to Michael's comments and re-sending them. The purpose of this patchsets is start work on superseding and removing scripts under the kvm test scripts/ subdirectory, by turning them regular parts of the kvm autotest framework. Lucas Meneghel Rodrigues (5): KVM test:

[PATCH 1/5] KVM test: Introduce check_image postprocess directive v2

2011-01-19 Thread Lucas Meneghel Rodrigues
With check_image_foo = yes, KVM autotest will use qemu-img to perform checks on the qcow2 image. This new functionality intends to replace the script check_image.py. The plan is to supersede most of the pre/post scripts in place throughout KVM autotest. Changes from v1: - We already only raise

[PATCH 2/5] KVM test: Modify enospc test to not require scripts/check_image.py v2

2011-01-19 Thread Lucas Meneghel Rodrigues
With this we prepare to remove the aforementioned script. Changes from v1: * Accounting for the lost of the check_image_critical logic, now just trap kvm_vm.VMError() exceptions and log them as an error if they happen. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com ---

[PATCH 3/5] KVM test: Removing scripts/check_image.py

2011-01-19 Thread Lucas Meneghel Rodrigues
As its functionality was implemented as part of the framework on previous patches. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/scripts/check_image.py | 99 --- 1 files changed, 0 insertions(+), 99 deletions(-) delete mode 100644

[PATCH 4/5] KVM test: Turning hugepages setup into KVM autotest infrastructure v2

2011-01-19 Thread Lucas Meneghel Rodrigues
So we can get rid of scripts/hugepage.py. The implementation strategy is to have a kvm_utils.HugePageConfig class that can do both hugepages setup and cleanup, and call it during pre/postprocessing. Changes from v1: - Stylistic changes on usage of error.context as suggested by Michael

[PATCH 5/5] KVM test: Removing scripts/hugepage.py

2011-01-19 Thread Lucas Meneghel Rodrigues
Now that its functionality has been reimplemented as KVM test infrastructure. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/scripts/hugepage.py | 118 -- 1 files changed, 0 insertions(+), 118 deletions(-) delete mode 100755

Re: [PATCH unit-tests 1/3] Task stack pointer should point to the end of the page.

2011-01-19 Thread Marcelo Tosatti
On Tue, Jan 11, 2011 at 03:30:05PM +0200, Gleb Natapov wrote: Signed-off-by: Gleb Natapov g...@redhat.com --- lib/x86/desc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/x86/desc.c b/lib/x86/desc.c index 1bd4421..11bd2a2 100644 --- a/lib/x86/desc.c +++

Re: [PATCH v3 1/3] KVM: fix rcu usage warning in kvm_arch_vcpu_ioctl_set_sregs()

2011-01-19 Thread Marcelo Tosatti
On Wed, Jan 19, 2011 at 01:16:23PM +0800, Xiao Guangrong wrote: On 01/12/2011 03:39 PM, Xiao Guangrong wrote: Fix: [ 1001.499596] === [ 1001.499599] [ INFO: suspicious rcu_dereference_check() usage. ] [ 1001.499601]

Re: MIPS, io-thread, icount and wfi

2011-01-19 Thread Marcelo Tosatti
On Tue, Jan 18, 2011 at 11:00:57AM +0100, Jan Kiszka wrote: On 2011-01-18 01:19, Edgar E. Iglesias wrote: On Mon, Jan 17, 2011 at 11:03:08AM +0100, Edgar E. Iglesias wrote: Hi, I'm running an io-thread enabled qemu-system-mipsel with icount. When the guest (linux) goes to sleep through

Re: [PATCH 2/3] kvm hypervisor : Add hypercalls to support pv-ticketlock

2011-01-19 Thread Srivatsa Vaddagiri
On Wed, Jan 19, 2011 at 06:21:12PM +0100, Peter Zijlstra wrote: I didn't really read the patch, and I totally forgot everything from when I looked at the Xen series, but does the Xen/KVM hypercall interface for this include the vcpu to await the kick from? No not yet, for reasons you mention

[PATCH] KVM test: Small change on shell background cmd for ioquit

2011-01-19 Thread Lucas Meneghel Rodrigues
The current form of the shell one liner was causing problems on distros such as F14. We don't actually need nohup when executing the parallel dds. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/tests_base.cfg.sample |2 +- 1 files changed, 1 insertions(+), 1

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Daniel P. Berrange
On Wed, Jan 19, 2011 at 11:51:58AM -0600, Anthony Liguori wrote: On 01/19/2011 11:01 AM, Daniel P. Berrange wrote: The reason we specify 'bus' is that we wanted to be flexible wrt upgrades of libvirt, without needing restarts of QEMU instances it manages. That way we can introduce new

Re: [PATCH 2/3] kvm hypervisor : Add hypercalls to support pv-ticketlock

2011-01-19 Thread Jeremy Fitzhardinge
On 01/19/2011 09:21 AM, Peter Zijlstra wrote: On Wed, 2011-01-19 at 22:42 +0530, Srivatsa Vaddagiri wrote: Add two hypercalls to KVM hypervisor to support pv-ticketlocks. KVM_HC_WAIT_FOR_KICK blocks the calling vcpu until another vcpu kicks it or it is woken up because of an event like

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Daniel P. Berrange
On Wed, Jan 19, 2011 at 11:42:18AM -0600, Anthony Liguori wrote: On 01/19/2011 11:35 AM, Daniel P. Berrange wrote: On Wed, Jan 19, 2011 at 10:53:30AM -0600, Anthony Liguori wrote: On 01/19/2011 03:48 AM, Gerd Hoffmann wrote: On 01/18/11 18:09, Anthony Liguori wrote: On 01/18/2011 10:56 AM,

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Anthony Liguori
On 01/19/2011 12:52 PM, Daniel P. Berrange wrote: On Wed, Jan 19, 2011 at 11:51:58AM -0600, Anthony Liguori wrote: On 01/19/2011 11:01 AM, Daniel P. Berrange wrote: The reason we specify 'bus' is that we wanted to be flexible wrt upgrades of libvirt, without needing restarts of QEMU

Re: MIPS, io-thread, icount and wfi

2011-01-19 Thread Edgar E. Iglesias
On Wed, Jan 19, 2011 at 03:02:26PM -0200, Marcelo Tosatti wrote: On Tue, Jan 18, 2011 at 11:00:57AM +0100, Jan Kiszka wrote: On 2011-01-18 01:19, Edgar E. Iglesias wrote: On Mon, Jan 17, 2011 at 11:03:08AM +0100, Edgar E. Iglesias wrote: Hi, I'm running an io-thread enabled

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Blue Swirl
On Wed, Jan 19, 2011 at 4:57 PM, Anthony Liguori aligu...@linux.vnet.ibm.com wrote: On 01/19/2011 07:15 AM, Markus Armbruster wrote: So they interact with KVM (need kvm_state), and they interact with the emulated PCI bus.  Could you elaborate on the fundamental difference between the two

Economic Growth and Community Development

2011-01-19 Thread Grantscanada.org
New 2011 edition. Canadian Business Publications is offering to the public a revised edition of the Canadian Subsidy Directory, a guide containing more than 3000 direct and indirect financial subsidies, grants and loans offered by government departments and agencies, foundations, associations

Re: [Qemu-devel] [PATCH 09/19] Introduce event-tap.

2011-01-19 Thread Yoshiaki Tamura
2011/1/19 Kevin Wolf kw...@redhat.com: Am 19.01.2011 14:04, schrieb Yoshiaki Tamura: +static void event_tap_blk_flush(EventTapBlkReq *blk_req) +{ +    BlockDriverState *bs; + +    bs = bdrv_find(blk_req-device_name); Please store the BlockDriverState in blk_req. This code loops over all