Re: [rt2x00-users] Success story: running RT2800 802.11n PCI [1814:0601] as AP in VM with vfio

2012-08-31 Thread Helmut Schaa
Hi Andreas, On Fri, Jul 27, 2012 at 10:48 AM, Andreas Hartmann andihartm...@01019freenet.de wrote: Hello, I managed to run this PCI (not PCIe(!)) device This is pretty cool! 06:07.0 Network controller [0280]: Ralink corp. RT2800 802.11n PCI [1814:0601] Subsystem: Linksys Device

[PATCH v2] kvm tools: add HOME env var to hostfs

2012-08-31 Thread Sasha Levin
Add a HOME env var when booting a hostfs guest. This will point out to a home dir within the given guest name. This will make several apps happier when being run under hostfs. Signed-off-by: Sasha Levin levinsasha...@gmail.com --- tools/kvm/builtin-setup.c | 1 + tools/kvm/guest/init.c| 5

Re: [PATCH v3 2/2] virtio-ring: Allocate indirect buffers from cache when possible

2012-08-31 Thread Sasha Levin
On 08/30/2012 03:38 PM, Michael S. Tsirkin wrote: +static unsigned int indirect_alloc_thresh = 16; Why 16? Please make is MAX_SG + 1 this makes some sense. Wouldn't MAX_SG mean we always allocate from the cache? Isn't the memory waste too big in this case? -- To unsubscribe from this list:

Re: [PATCH v3 2/2] virtio-ring: Allocate indirect buffers from cache when possible

2012-08-31 Thread Michael S. Tsirkin
On Fri, Aug 31, 2012 at 11:36:07AM +0200, Sasha Levin wrote: On 08/30/2012 03:38 PM, Michael S. Tsirkin wrote: +static unsigned int indirect_alloc_thresh = 16; Why 16? Please make is MAX_SG + 1 this makes some sense. Wouldn't MAX_SG mean we always allocate from the cache? Isn't the memory

Re: Biweekly upstream qemu-kvm test report (using autotest) - Week 35

2012-08-31 Thread santwana
Hello Lucas, We use both qed and raw image types. Regards, Santwana On Thu, 2012-08-30 at 12:03 -0300, Lucas Meneghel Rodrigues wrote: On Thu, Aug 30, 2012 at 8:37 AM, santwana santw...@linux.vnet.ibm.com wrote: Hi All, Please find the results of upstream testing. We are evaluating

virtIO disks not usable

2012-08-31 Thread Andrew Holway
Hi, I am creating a VM with the following command: virt-install --connect qemu:///system -n vm001 -r 2048 --vcpus=2 --disk path=/local/vm001.img,device=disk,bus=virtio,size=45 --vnc --noautoconsole --os-type linux --accelerate --network=bridge:br0,mac=00:00:00:00:00:0E

Re: [libvirt-users] vm pxe fail

2012-08-31 Thread Andrew Holway
Hi, In the end the problem was SR-IOV enabled on the cards. I turned this off and everything worked ok. Im using HP 10G cards which are rebranded emulex. 0a:00.0 Ethernet controller: Emulex Corporation OneConnect 10Gb NIC (be3) (rev 01) Thanks, Andrew On Aug 17, 2012, at 4:34 AM, Alex Jia

Re: [libvirt-users] vm pxe fail

2012-08-31 Thread Alex Jia
Hi Andrew, Great, BTW, in fact, you may pxe boot via VF of Intel82576, however, Intel82576 SR-IOV network adapters don't provide a ROM BIOS for the cards virtual functions (VF), but an image of such a ROM is available, and with this ROM visible to the guest, it can PXE boot. In libvirt's xml,

Re: virtIO disks not usable

2012-08-31 Thread Andrew Holway
Stupid boy. I didnt have the virtIO modules loaded. On Aug 31, 2012, at 3:19 PM, Andrew Holway wrote: Hi, I am creating a VM with the following command: virt-install --connect qemu:///system -n vm001 -r 2048 --vcpus=2 --disk path=/local/vm001.img,device=disk,bus=virtio,size=45 --vnc

[PATCH] KVM: VMX: invalidate vpid for invlpg instruction

2012-08-31 Thread Davidlohr Bueso
For processors that support VPIDs we should invalidate the page table entry specified by the lineal address. For this purpose add support for individual address invalidations. Signed-off-by: Davidlohr Bueso d...@gnu.org --- arch/x86/include/asm/vmx.h |6 -- arch/x86/kvm/vmx.c |

Re: Qcow2 preallocation + backing file

2012-08-31 Thread Mark Moseley
On Mon, Jul 30, 2012 at 1:10 PM, Mark Moseley moseleym...@gmail.com wrote: I've been searching around trying to figure out if there's any benefit to having a qcow2 backing file created with preallocation=metadata set. That is, if there's any benefit to using a qcow2 file that is based on a

NFSoRDMA not working with KVM when cache disabled

2012-08-31 Thread Andrew Holway
Hi, I am trying to host KVM machines on an NFSoRDMA mount. This works: -drive file=/mnt/vm001.img,if=none,id=drive-virtio-disk0,format=raw -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0 This Doesn't! -drive

Re: NFSoRDMA not working with KVM when cache disabled

2012-08-31 Thread Andrew Holway
A bit more [installer root@vm001 ~]# dumpe2fs /dev/vda1 dumpe2fs 1.41.12 (17-May-2010) dumpe2fs: Bad magic number in super-block while trying to open /dev/vda1 Couldn't find valid filesystem superblock. [installer root@vm001 ~]# fdisk -ul Disk /dev/vda: 48.3 GB, 48318382080 bytes 255 heads,

Re: [PATCH] KVM: VMX: invalidate vpid for invlpg instruction

2012-08-31 Thread Marcelo Tosatti
On Fri, Aug 31, 2012 at 06:10:48PM +0200, Davidlohr Bueso wrote: For processors that support VPIDs we should invalidate the page table entry specified by the lineal address. For this purpose add support for individual address invalidations. Not necessary - a single context invalidation is

[ANNOUNCE] qemu-kvm-1.2.0-rc2

2012-08-31 Thread Marcelo Tosatti
qemu-kvm-1.2.0-rc2 is now available. This release is based on the upstream qemu 1.2.0-rc2, plus device assignment. Please see the original QEMU 1.2.0-rc2 release announcement [1] for details. This release can be used with the kvm kernel modules provided by your distribution kernel, or by the

[GIT PULL] KVM fixes for 3.6-rc3

2012-08-31 Thread Marcelo Tosatti
Linus, Please pull from git://git.kernel.org/pub/scm/virt/kvm/kvm.git master To receive the following KVM bug fixes Alan Cox (1): kvm: Fix nonsense handling of compat ioctl Michael S. Tsirkin (1): KVM: x86: fix KVM_GET_MSR for PV EOI arch/x86/kvm/x86.c |3 +++

Re: KVM: MMU: Tracking guest writes through EPT entries ?

2012-08-31 Thread Hui Lin (Hugo)
On Thu, Aug 30, 2012 at 9:54 PM, Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com wrote: On 08/31/2012 02:59 AM, Hugo wrote: On Thu, Aug 30, 2012 at 5:22 AM, Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com wrote: On 08/28/2012 11:30 AM, Felix wrote: Xiao Guangrong xiaoguangrong at

Re: [Bright Cluster Manager Support #2699] NFSoRDMA not working with KVM when cache disabled

2012-08-31 Thread Martijn de Vries
Hi Andrew, That's pretty strange. I am not a KVM expert, so I don't know what happens under the hood when you disable cache. Have you tried doing a FULL install? Best regards, Martijn On Fri, Aug 31, 2012 at 7:06 PM, Andrew Holway supp...@brightcomputing.comwrote: Fri Aug 31 19:06:00 2012: