Re: PCI passthrough on Sony Vaio F11 laptop...

2010-11-13 Thread Jan Kiszka
Am 13.11.2010 00:31, Erik Brakkee wrote: Hi all, I have KVM running successfully on opensuse 11.3 (64bit) with a opensuse 11.1 guest. I am using hardware virtualization and want to experiment with PCI passthrough with the (wired) network card on my laptop because I want to repeat similar

Re: PCI passthrough on Sony Vaio F11 laptop...

2010-11-13 Thread Erik Brakkee
Jan Kiszka wrote: What IRQ is the sky2 using when assigned to the host? Is it really a shared IRQ (I bet not as it should be using MSI)? Also, check in the libvirt logs what qemu-kvm reports on the console. Jan The output from 'cat /proc/interrupts' directly after boot is in the

Re: PCI passthrough on Sony Vaio F11 laptop...

2010-11-13 Thread Jan Kiszka
Am 13.11.2010 12:42, Erik Brakkee wrote: Jan Kiszka wrote: What IRQ is the sky2 using when assigned to the host? Is it really a shared IRQ (I bet not as it should be using MSI)? Also, check in the libvirt logs what qemu-kvm reports on the console. Jan The output from 'cat

Re: [PATCH v2 9/9] pci: Store capability offsets in PCIDevice

2010-11-13 Thread Michael S. Tsirkin
On Fri, Nov 12, 2010 at 10:47:21AM -0700, Alex Williamson wrote: This not only makes pci_find_capability a directly lookup, but also allows us to better track added capabilities and avoids the proliferation of random additional capability offset markers. Signed-off-by: Alex Williamson

Re: [PATCH v2 1/9] pci: pci_default_cap_write_config ignores wmask

2010-11-13 Thread Michael S. Tsirkin
On Fri, Nov 12, 2010 at 10:46:10AM -0700, Alex Williamson wrote: Make use of wmask, just like the rest of config space. Signed-off-by: Alex Williamson alex.william...@redhat.com Hmm, this will create conflicts on merging with qemu.kvm which already has w1mask in same function. I'll apply a

Issue with 64-bit code execution with kvm enabled

2010-11-13 Thread Adhyas Avasthi
I am trying to boot a 64-bit GRUB2 based EFI Boot Loader on top of OVMF based EFI BIOS (also 64 bit) for x86_64. My host is Ubuntu 10.04 x86_64 and I am running qemu-kvm-0.13.0 with self-built kvm-kmod-2.6.32.17 for my kernel version which is 2.6.32-24 (I used the default Ubuntu KVM and qemu

New @ Proxmox: -device, vhost... Docs, notes?

2010-11-13 Thread linux_kvm
Hi Everyone, I'm impressed with all the activity I see here since joining the list this year. It helps to reinforce that I chose the right technology. Thanks. The -device method vhost=on option recently became available to us at the ProxmoxVE project I'm preparing to start making use of them

Re: [PATCH] virtio-9p: fix build on !CONFIG_UTIMENSAT v2

2010-11-13 Thread Chris Wright
* Hidetoshi Seto (seto.hideto...@jp.fujitsu.com) wrote: +/* + * Fallback: use utimes() instead of utimensat(). + * See commit 74bc02b2d2272dc88fb98d43e631eb154717f517 for known problem. + */ +struct timeval tv[2]; +int i; + +for (i = 0; i 2; i++) { +if

Re: Issue with 64-bit code execution with kvm enabled

2010-11-13 Thread Adhyas Avasthi
An alternate implementation of the efi_wrap_4 function has the same issue. Here is the alternate function I found from another Unix to EFI calling wrapper, which is part of the EFI BIOS code base. movq%rdi, %rax// Swizzle args movq%rsi, %r9 // movq%rdx, %rdx movq%rcx, %r8

Re: Issue with 64-bit code execution with kvm enabled

2010-11-13 Thread Adhyas Avasthi
Some more debug information (if it helps someone analyze my problem and suggest a solution). I changed the wrapper code to hang just before making the call. And here is the modified wrapper: FUNCTION(efi_wrap_4_with_hang) subq $40, %rsp mov %r8, %r9 mov %rcx, %r8 mov

Re: Issue with 64-bit code execution with kvm enabled

2010-11-13 Thread Gleb Natapov
On Sat, Nov 13, 2010 at 03:37:14PM -0800, Adhyas Avasthi wrote: I am trying to boot a 64-bit GRUB2 based EFI Boot Loader on top of OVMF based EFI BIOS (also 64 bit) for x86_64. My host is Ubuntu 10.04 x86_64 and I am running qemu-kvm-0.13.0 with self-built kvm-kmod-2.6.32.17 for my kernel