Re: [PATCH] Permit -mem-path without sync mmu

2011-08-05 Thread Jan Kiszka
On 2011-08-05 06:02, David Gibson wrote: At present, an explicit test disallows use of -mem-path when kvm is enabled but KVM_CAP_SYNC_MMU is not set. In particular, this prevents the user from using hugetlbfs to back the guest memory. I can see no reason for this check, and when I asked

Using EPT to map guest MMIO to host MMIO

2011-08-05 Thread Cyclonus J
hi, I am wondering if it is possible to map guest MMIO to host MMIO, the purpose is to reduce VM_EXIT as the page tables will be setup before MMIO accessing from guest. Here is what I have in mind: qemu_map_guest_mmio(guest_phys_addr, host_phys_addr, flags) --

Re: Using EPT to map guest MMIO to host MMIO

2011-08-05 Thread Jan Kiszka
On 2011-08-05 09:20, Cyclonus J wrote: hi, I am wondering if it is possible to map guest MMIO to host MMIO, the purpose is to reduce VM_EXIT as the page tables will be setup before MMIO accessing from guest. Here is what I have in mind: This is already the case if you pass through devices

Re: [RFC PATCH]vhost-blk: In-kernel accelerator for virtio block device

2011-08-05 Thread Liu Yuan
On 08/05/2011 05:58 AM, Badari Pulavarty wrote: Hi Liu Yuan, I started testing your patches. I applied your kernel patch to 3.0 and applied QEMU to latest git. I passed 6 blockdevices from the host to guest (4 vcpu, 4GB RAM). I ran simple dd read tests from the guest on all block devices (with

Re: Using EPT to map guest MMIO to host MMIO

2011-08-05 Thread Cyclonus J
On Fri, Aug 5, 2011 at 12:41 AM, Jan Kiszka jan.kis...@siemens.com wrote: On 2011-08-05 09:20, Cyclonus J wrote: hi, I am wondering if it is possible to map guest MMIO to host MMIO, the purpose is to reduce VM_EXIT as the page tables will be setup before MMIO accessing from guest. Here is

[PATCH master+STABLE-0.15] Fix default accelerator when configured with --disable-kvm

2011-08-05 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com The default accelerator is hardcoded to 'kvm'. This is a fine default for qemu-kvm normally, but if the user built with ./configure --disable-kvm, then the resulting binaries will not work by default * vl.c: Default to 'tcg' unless CONFIG_KVM is

Re: Using EPT to map guest MMIO to host MMIO

2011-08-05 Thread Jan Kiszka
On 2011-08-05 10:40, Cyclonus J wrote: On Fri, Aug 5, 2011 at 12:41 AM, Jan Kiszka jan.kis...@siemens.com wrote: On 2011-08-05 09:20, Cyclonus J wrote: hi, I am wondering if it is possible to map guest MMIO to host MMIO, the purpose is to reduce VM_EXIT as the page tables will be setup

virtio-win - 10Gbit network drivers?

2011-08-05 Thread Martin Maurer
Hi, I am testing virtio net performance (10 Gbit) and its working great for Linux guests (I am using Debian Squeeze as KVM guest). I see just a little performance loss in the guest (compared to the host). The win2008r2-sp1 installation, using the virtio network drivers from the Fedora

Re: kvm PCI assignment VFIO ramblings

2011-08-05 Thread Benjamin Herrenschmidt
On Thu, 2011-08-04 at 12:41 +0200, Joerg Roedel wrote: On Mon, Aug 01, 2011 at 02:27:36PM -0600, Alex Williamson wrote: It's not clear to me how we could skip it. With VT-d, we'd have to implement an emulated interrupt remapper and hope that the guest picks unused indexes in the host

Re: [PATCH] KVM-test: Add subtest: usb v4

2011-08-05 Thread Gerd Hoffmann
On 08/03/11 23:06, Lucas Meneghel Rodrigues wrote: From: Amos Kongak...@redhat.com This test adds a usb storage for the guest, and do some check from monitor and inside the guest. Changes from v1: - use old options to add a usb disk to guest '-usbdevice

Re: kvm PCI assignment VFIO ramblings

2011-08-05 Thread Benjamin Herrenschmidt
On Thu, 2011-08-04 at 12:27 +0200, Joerg Roedel wrote: Hi Ben, thanks for your detailed introduction to the requirements for POWER. Its good to know that the granularity problem is not x86-only. I'm happy to see your reply :-) I had the feeling I was a bit alone here... On Sat, Jul 30,

Re: [RFC PATCH]vhost-blk: In-kernel accelerator for virtio block device

2011-08-05 Thread Liu Yuan
On 08/05/2011 05:58 AM, Badari Pulavarty wrote: Hi Liu Yuan, I started testing your patches. I applied your kernel patch to 3.0 and applied QEMU to latest git. I passed 6 blockdevices from the host to guest (4 vcpu, 4GB RAM). I ran simple dd read tests from the guest on all block devices (with

Re: kvm PCI assignment VFIO ramblings

2011-08-05 Thread Joerg Roedel
On Fri, Aug 05, 2011 at 08:26:11PM +1000, Benjamin Herrenschmidt wrote: On Thu, 2011-08-04 at 12:41 +0200, Joerg Roedel wrote: On Mon, Aug 01, 2011 at 02:27:36PM -0600, Alex Williamson wrote: It's not clear to me how we could skip it. With VT-d, we'd have to implement an emulated

Re: virtio-win - 10Gbit network drivers?

2011-08-05 Thread TooMeeK
I wish to use improved drives too, for my NICs bonded using round-robin.. now it's limited to 1Gbit for virtio-net. But I think the bridge interface used to expose VMs to the LAN will still be limiting max speed, because CPUs have to process all this traffic over bridge. On 05.08.2011 11:11,

Re: kvm PCI assignment VFIO ramblings

2011-08-05 Thread Joerg Roedel
On Fri, Aug 05, 2011 at 08:42:38PM +1000, Benjamin Herrenschmidt wrote: Right. In fact to try to clarify the problem for everybody, I think we can distinguish two different classes of constraints that can influence the grouping of devices: 1- Hard constraints. These are typically devices

Re: [Qemu-devel] [PATCH v3 01/39] virtio-pci: get config on init

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:05 AM, Avi Kivity wrote: From: Michael S. Tsirkinm...@redhat.com We originally did get config on map, so that following write accesses are done on an updated config. New memory API doesn't give us a callback on map, and arguably, devices don't know when cpu really can access

Re: [Qemu-devel] [PATCH v3 02/39] pci: add API to get a BAR's mapped address

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:05 AM, Avi Kivity wrote: This is a hack, for devices that have a back-channel to read this address back outside the normal configuration mechanisms, such as VMware svga. Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi Kivitya...@redhat.com Can we add a

Re: [Qemu-devel] [PATCH v3 03/39] vmsvga: don't remember pci BAR address in callback any more

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:05 AM, Avi Kivity wrote: We're going to remove the callback, so we can't use it to save the address. Use the pci API instead. Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi Kivitya...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards,

Re: [Qemu-devel] [PATCH v3 04/39] vga: convert vga and its derivatives to the memory API

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:06 AM, Avi Kivity wrote: Convert all vga memory to the memory API. Note we need to fall back to get_system_memory(), since the various buses don't pass the vga window as a memory region. We no longer need to sync the dirty bitmap of the cirrus mapped memory banks, since the

Re: [Qemu-devel] [PATCH v3 05/39] cirrus: simplify mmio BAR access functions

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:06 AM, Avi Kivity wrote: Make use of the memory API's ability to satisfy multi-byte accesses via multiple single-byte accesses. Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi Kivitya...@redhat.com --- hw/cirrus_vga.c | 78

Re: [Qemu-devel] [PATCH v3 05/39] cirrus: simplify mmio BAR access functions

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:06 AM, Avi Kivity wrote: Make use of the memory API's ability to satisfy multi-byte accesses via multiple single-byte accesses. Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi Kivitya...@redhat.com -static uint64_t cirrus_mmio_read(void *opaque,

Re: [Qemu-devel] [PATCH v3 06/39] cirrus: simplify bitblt BAR access functions

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:06 AM, Avi Kivity wrote: Make use of the memory API's ability to satisfy multi-byte accesses via multiple single-byte accesses. Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi Kivitya...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards,

Re: [Qemu-devel] [PATCH v3 07/39] cirrus: simplify vga window mmio access functions

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:06 AM, Avi Kivity wrote: Make use of the memory API's ability to satisfy multi-byte accesses via multiple single-byte accesses. Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi Kivitya...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards,

Re: [Qemu-devel] [PATCH v3 08/39] vga: simplify vga window mmio access functions

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:06 AM, Avi Kivity wrote: Make use of the memory API's ability to satisfy multi-byte accesses via multiple single-byte accesses. We have to keep vga_mem_{read,write}b() since they're used by cirrus. Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi

Re: [Qemu-devel] [PATCH v3 09/39] cirrus: simplify linear framebuffer access functions

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:06 AM, Avi Kivity wrote: Make use of the memory API's ability to satisfy multi-byte accesses via multiple single-byte accesses. Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi Kivitya...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards,

Re: [Qemu-devel] [PATCH v3 10/39] Integrate I/O memory regions into qemu

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:06 AM, Avi Kivity wrote: get_system_io() returns the root I/O memory region. Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi Kivitya...@redhat.com --- exec-memory.h |2 ++ exec.c| 10 ++ 2 files changed, 12 insertions(+), 0

Re: [Qemu-devel] [PATCH v3 11/39] pci: pass I/O address space to new PCI bus

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:06 AM, Avi Kivity wrote: This lets us register BARs in the I/O address space. Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi Kivitya...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori -- To unsubscribe from this list:

Re: [Qemu-devel] [PATCH v3 12/39] pci: allow I/O BARs to be registered with pci_register_bar_region()

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:06 AM, Avi Kivity wrote: Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi Kivitya...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- hw/pci.c | 43 +++ hw/pci.h

Re: [Qemu-devel] [PATCH v3 13/39] rtl8139: convert to memory API

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:06 AM, Avi Kivity wrote: Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi Kivitya...@redhat.com --- hw/rtl8139.c | 72 ++--- 1 files changed, 38 insertions(+), 34 deletions(-) diff --git a/hw/rtl8139.c

Re: [Qemu-devel] [PATCH v3 14/39] ac97: convert to memory API

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:06 AM, Avi Kivity wrote: fixes BAR sizing as well. Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi Kivitya...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com Malc, please Ack Regards, Anthony Liguori --- hw/ac97.c | 88

Re: kvm PCI assignment VFIO ramblings

2011-08-05 Thread Alex Williamson
On Fri, 2011-08-05 at 20:42 +1000, Benjamin Herrenschmidt wrote: Right. In fact to try to clarify the problem for everybody, I think we can distinguish two different classes of constraints that can influence the grouping of devices: 1- Hard constraints. These are typically devices using the

Re: [PATCH] KVM: MMU: Do not unconditionally read PDPTE from guest memory

2011-08-05 Thread Marcelo Tosatti
On Thu, Jul 28, 2011 at 11:36:17AM +0300, Avi Kivity wrote: Architecturally, PDPTEs are cached in the PDPTRs when CR3 is reloaded. On SVM, it is not possible to implement this, but on VMX this is possible and was indeed implemented until nested SVM changed this to unconditionally read PDPTEs

Re: [Qemu-devel] [PATCH v3 15/39] e1000: convert to memory API

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:06 AM, Avi Kivity wrote: Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi Kivitya...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- hw/e1000.c | 114 +--

Re: [Qemu-devel] [PATCH v3 16/39] eepro100: convert to memory API

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:06 AM, Avi Kivity wrote: Note: the existing code aliases the flash BAR into the MMIO bar. This is probably a bug. This patch does not correct the problem. Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi Kivitya...@redhat.com Reviewed-by: Anthony Liguori

Re: [Qemu-devel] [PATCH v3 17/39] es1370: convert to memory API

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:06 AM, Avi Kivity wrote: Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi Kivitya...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- hw/es1370.c | 43 +-- 1 files

[PATCH] kvm tools: Add 'kvm stop'

2011-08-05 Thread Sasha Levin
This command stops a running instance. Syntax: kvm stop [instance name] Signed-off-by: Sasha Levin levinsasha...@gmail.com --- tools/kvm/Documentation/kvm-stop.txt | 16 tools/kvm/Makefile |1 + tools/kvm/builtin-run.c |6 ++

[PATCH] kvm tools: Remove version file on 'make clean'

2011-08-05 Thread Sasha Levin
Signed-off-by: Sasha Levin levinsasha...@gmail.com --- tools/kvm/Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tools/kvm/Makefile b/tools/kvm/Makefile index 21d6189..2cb11fa 100644 --- a/tools/kvm/Makefile +++ b/tools/kvm/Makefile @@ -236,6 +236,7 @@ clean:

Re: [Qemu-devel] [PATCH v3 25/39] ne2000: convert to memory API

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:06 AM, Avi Kivity wrote: Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi Kivitya...@redhat.com --- hw/ne2000-isa.c | 14 +++--- hw/ne2000.c | 77 +- hw/ne2000.h |8 + 3 files

Re: [Qemu-devel] [PATCH v3 28/39] isa-mmio: concert to memory API

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:06 AM, Avi Kivity wrote: Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi Kivitya...@redhat.com For the subject, s:concert:convert:g Otherwise, Reviewed-by: Anthony Liguori aligu...@us.ibm.com --- hw/isa.h |2 ++ hw/isa_mmio.c | 30

Re: [Qemu-devel] [PATCH v3 29/39] sun4u: convert to memory API

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:06 AM, Avi Kivity wrote: fixes memory leak on repeated BAR map/unmap Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi Kivitya...@redhat.com --- hw/sun4u.c | 55 +-- 1 files changed, 25 insertions(+), 30

Re: [PATCH] Permit -mem-path without sync mmu

2011-08-05 Thread Marcelo Tosatti
On Fri, Aug 05, 2011 at 08:16:42AM +0200, Jan Kiszka wrote: On 2011-08-05 06:02, David Gibson wrote: At present, an explicit test disallows use of -mem-path when kvm is enabled but KVM_CAP_SYNC_MMU is not set. In particular, this prevents the user from using hugetlbfs to back the guest

Re: [Qemu-devel] [PATCH v3 00/39] Memory API, batch 2: PCI devices

2011-08-05 Thread Anthony Liguori
On 08/04/2011 08:05 AM, Avi Kivity wrote: This is a mostly mindless conversion of all QEMU PCI devices to the memory API. After this patchset is applied, it is no longer possible to create a PCI device using the old API. An immediate benefit is that PCI BARs that overlap each other are now

[PATCH] KVM test: Remove custom bridge managing code

2011-08-05 Thread Lucas Meneghel Rodrigues
Since we already require some deps to run KVM autotest, and since the majority of the potential KVM autotest users do have libvirt installed and running, it makes little sense to maintain custom code to manage an internal bridge. Let's just require libvirt and use virbr0 as the default kvm

Re: [Qemu-devel] [PATCH v2] memory: use signed arithmetic

2011-08-05 Thread Anthony Liguori
On 08/03/2011 03:56 AM, Avi Kivity wrote: When trying to map an alias of a ram region, where the alias starts at address A and we map it into address B, and A B, we had an arithmetic underflow. Because we use unsigned arithmetic, the underflow converted into a large number which failed

Re: [Qemu-devel] [PATCH v3 14/39] ac97: convert to memory API

2011-08-05 Thread malc
On Fri, 5 Aug 2011, Anthony Liguori wrote: On 08/04/2011 08:06 AM, Avi Kivity wrote: fixes BAR sizing as well. Reviewed-by: Richard Hendersonr...@twiddle.net Signed-off-by: Avi Kivitya...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com Malc, please Ack Ok, please

Re: [Qemu-devel] [PATCH] memory: synchronize dirty bitmap before unmapping a range

2011-08-05 Thread Anthony Liguori
On 07/31/2011 02:47 PM, Avi Kivity wrote: When a range is being unmapped, ask accelerators (e.g. kvm) to synchronize the dirty bitmap to avoid losing information forever. Fixes grub2 screen update. Signed-off-by: Avi Kivitya...@redhat.com Applied. Thanks. Regards, Anthony Liguori ---

Re: [PATCH master+STABLE-0.15] Fix default accelerator when configured with --disable-kvm

2011-08-05 Thread Marcelo Tosatti
On Fri, Aug 05, 2011 at 09:50:29AM +0100, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com The default accelerator is hardcoded to 'kvm'. This is a fine default for qemu-kvm normally, but if the user built with ./configure --disable-kvm, then the resulting binaries will

Re: [PATCH 3/3] Fix TSC MSR read in nested SVM

2011-08-05 Thread Marcelo Tosatti
On Wed, Aug 03, 2011 at 06:00:52PM -0300, Marcelo Tosatti wrote: On Wed, Aug 03, 2011 at 01:34:58AM -0700, Zachary Amsden wrote: Caution: this requires more care. Pretty sure this breaks userspace suspend at the cost of supporting a not-so-reasonable hardware feature. On Tue, Aug 2,

[Bug 40542] overflow/panic on KVM hipervizor

2011-08-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=40542 Marcelo Tosatti mtosa...@redhat.com changed: What|Removed |Added CC||mtosa...@redhat.com

Re: [PATCH master+STABLE-0.15] Fix default accelerator when configured with --disable-kvm

2011-08-05 Thread Anthony Liguori
On 08/05/2011 12:10 PM, Marcelo Tosatti wrote: On Fri, Aug 05, 2011 at 09:50:29AM +0100, Daniel P. Berrange wrote: From: Daniel P. Berrangeberra...@redhat.com The default accelerator is hardcoded to 'kvm'. This is a fine default for qemu-kvm normally, but if the user built with ./configure

Re: [RFC PATCH]vhost-blk: In-kernel accelerator for virtio block device

2011-08-05 Thread Badari Pulavarty
On 8/5/2011 4:04 AM, Liu Yuan wrote: On 08/05/2011 05:58 AM, Badari Pulavarty wrote: Hi Liu Yuan, I started testing your patches. I applied your kernel patch to 3.0 and applied QEMU to latest git. I passed 6 blockdevices from the host to guest (4 vcpu, 4GB RAM). I ran simple dd read tests

[PATCH 6/6] Remove #ifdef KVM_CAP_TSC_CONTROL

2011-08-05 Thread Marcelo Tosatti
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com --- target-i386/kvm.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 923d2d5..31b88b7 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -504,7 +504,6 @@ int

[PATCH 2/6] kvm: Drop obsolete KVM_IOEVENTFD #ifdefs

2011-08-05 Thread Marcelo Tosatti
From: Jan Kiszka jan.kis...@siemens.com Signed-off-by: Jan Kiszka jan.kis...@siemens.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com --- kvm-all.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/kvm-all.c b/kvm-all.c index cbc2532..b9c172b 100644 ---

[PATCH 1/6] kvmclock: Fix feature detection

2011-08-05 Thread Marcelo Tosatti
From: Jan Kiszka jan.kis...@siemens.com Bit-wise or the feature flags and drop the obsolete #ifdef. Signed-off-by: Jan Kiszka jan.kis...@siemens.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com --- hw/kvmclock.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git

[PATCH 4/6] qemu-x86: Add tsc_freq option to -cpu

2011-08-05 Thread Marcelo Tosatti
From: Joerg Roedel joerg.roe...@amd.com To let the user configure the desired tsc frequency for the guest if running in KVM. Signed-off-by: Joerg Roedel joerg.roe...@amd.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com --- target-i386/cpu.h |1 + target-i386/cpuid.c | 13

[PATCH 5/6] qemu-x86: Set tsc_khz in kvm when supported

2011-08-05 Thread Marcelo Tosatti
From: Joerg Roedel joerg.roe...@amd.com Make use of the KVM_TSC_CONTROL feature if available. Signed-off-by: Joerg Roedel joerg.roe...@amd.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com --- target-i386/kvm.c | 18 +- 1 files changed, 17 insertions(+), 1 deletions(-)

[PATCH 3/6] qemu: Add strtosz_suffix_unit function

2011-08-05 Thread Marcelo Tosatti
From: Joerg Roedel joerg.roe...@amd.com This function does the same as the strtosz_suffix function except that it allows to specify the unit to which the k/M/B/T suffixes apply. This function will be used later to parse the tsc-frequency from the command-line. Signed-off-by: Joerg Roedel

[PATCH 0/6] [PULL] qemu-kvm.git uq/master queue

2011-08-05 Thread Marcelo Tosatti
The following changes since commit 35d7ace74bd07e3d6983c1fd7cbfab4e11175689: qcow2: Fix L1 table size after bdrv_snapshot_goto (2011-08-05 07:15:47 -0500) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master Jan Kiszka (2): kvmclock: Fix

Infiniband / RDMA

2011-08-05 Thread Lance Couture
Hello, We are looking at implementing KVM-based virtual machines in our HPC cluster. Our storage runs over Infiniband using RDMA, but we have been unable to find any real documentation regarding Infiniband, let alone using RDMA. Is this a supported feature? Thanks in advance. Lance Couture

Re: [PATCH 5/6] qemu-x86: Set tsc_khz in kvm when supported

2011-08-05 Thread Jan Kiszka
On 2011-08-05 22:55, Marcelo Tosatti wrote: From: Joerg Roedel joerg.roe...@amd.com Make use of the KVM_TSC_CONTROL feature if available. Signed-off-by: Joerg Roedel joerg.roe...@amd.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com --- target-i386/kvm.c | 18 +-

Re: Infiniband / RDMA

2011-08-05 Thread Javier Guerra Giraldez
On Fri, Aug 5, 2011 at 2:14 PM, Lance Couture la...@sfu.ca wrote: We are looking at implementing KVM-based virtual machines in our HPC cluster. Our storage runs over Infiniband using RDMA, but we have been unable to find any real documentation regarding Infiniband, let alone using RDMA.

Re: Infiniband / RDMA

2011-08-05 Thread Lance Couture
Lance Couture I.T. Services, WestGrid Simon Fraser University v. 778.782.8188 On 2011-08-05, at 3:20 PM, Javier Guerra Giraldez wrote: On Fri, Aug 5, 2011 at 2:14 PM, Lance Couture la...@sfu.ca wrote: We are looking at implementing KVM-based virtual machines in our HPC cluster. Our storage

Re: kvm PCI assignment VFIO ramblings

2011-08-05 Thread Benjamin Herrenschmidt
On Fri, 2011-08-05 at 15:44 +0200, Joerg Roedel wrote: On Fri, Aug 05, 2011 at 08:42:38PM +1000, Benjamin Herrenschmidt wrote: Right. In fact to try to clarify the problem for everybody, I think we can distinguish two different classes of constraints that can influence the grouping of