Re: virtio_net sometimes didn't work

2011-02-16 Thread lidong chen
how to info pci in qemu? the usb controller also used irq 11, i think the interrupt maybe cause by this. i will modify qemu, ignore -usb,and try again. i add some debug code, printk the ioaddr of vdev. static int i; /* reading the ISR has the effect of also clearing it so it's ve

Re: virtio_net sometimes didn't work

2011-02-16 Thread Michael S. Tsirkin
On Wed, Feb 16, 2011 at 04:00:15PM +0800, lidong chen wrote: > how to info pci in qemu? just type it at the monitor prompt. > the usb controller also used irq 11, i think the interrupt maybe cause by > this. > i will modify qemu, ignore -usb,and try again. > > i add some debug code, printk the

[Bug 29232] New: [VT-d] VT-d device passthrough fail to guest

2011-02-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=29232 Summary: [VT-d] VT-d device passthrough fail to guest Product: Virtualization Version: unspecified Platform: All OS/Version: Linux Tree: Mainline Status: NEW Sev

Re: [PATCH 2/3] KVM: VMX: Short circuit STI; HLT while an interrupt is pending

2011-02-16 Thread Avi Kivity
On 02/15/2011 10:36 PM, Marcelo Tosatti wrote: On Mon, Feb 14, 2011 at 04:42:16PM +0200, Avi Kivity wrote: > Short-circuit an STI; HLT sequence while an interrupt is pending: > instead of halting, re-entering the guest, and exiting immediately > on an interrupt window exit, go directly to the

Re: [PATCH] KVM: Start lock documentation

2011-02-16 Thread Avi Kivity
On 02/15/2011 07:08 PM, Jan Kiszka wrote: On 2011-02-15 17:44, Marcelo Tosatti wrote: > On Wed, Feb 09, 2011 at 03:11:28PM +0100, Jan Kiszka wrote: >> The goal of this document shall be >> - overview of all locks used in KVM core >> - provide details on the scope of each lock >> - explain th

KVM Test report, kernel a685b38... qemu 671d89d...

2011-02-16 Thread Hao, Xudong
Hi, all, This is KVM test result against kvm.git a685b38e272587e644fedd37269ddb82df21c052, and qemu-kvm.git 671d89d6411655bb4f8058ce6eb86bb0bb8ec978. Currently qemu-kvm can build successfully on RHEL5, and Qcow image create failure issue also got fixed, our nightly testing resumed. One VT-d dev

Re: KVM Test report, kernel a685b38... qemu 671d89d...

2011-02-16 Thread Avi Kivity
On 02/16/2011 11:05 AM, Hao, Xudong wrote: Hi, all, This is KVM test result against kvm.git a685b38e272587e644fedd37269ddb82df21c052, and qemu-kvm.git 671d89d6411655bb4f8058ce6eb86bb0bb8ec978. Currently qemu-kvm can build successfully on RHEL5, and Qcow image create failure issue also got fix

Re: [Qemu-devel] KVM call minutes for Feb 8

2011-02-16 Thread Gleb Natapov
On Tue, Feb 15, 2011 at 05:07:07PM -0600, Anthony Liguori wrote: > On 02/15/2011 11:11 AM, Blue Swirl wrote: > >On Mon, Feb 14, 2011 at 11:47 PM, Anthony Liguori > >wrote: > >>Any device we expose to the user through -device needs to maintain a > >>compatible interface forever. For our own sanit

Re: [Qemu-devel] KVM call minutes for Feb 15

2011-02-16 Thread Avi Kivity
On 02/16/2011 01:13 AM, Anthony Liguori wrote: On 02/15/2011 10:26 AM, Chris Wright wrote: QAPI and QMP - Anthony adding a new wiki page to describe all of this http://wiki.qemu.org/Features/QAPI [ 'change', {'device': 'str', 'target': 'str'}, {'arg': 'str'}, 'none' ] -> void qmp_ch

Re: Slow disk IO on virtio kvm guests with Centos 5.5 as hypervisor

2011-02-16 Thread Thomas Broda
On Tue, 15 Feb 2011 15:50:00 +, Stefan Hajnoczi wrote: On Tue, Feb 15, 2011 at 10:15 AM, Thomas Broda wrote: Using O_DIRECT, performance went down to 11 MB/s on the hypervisor... Hmm...can you restate that as: host X MB/s guest Y MB/s Trying dd with "oflag=direct" an "of=/dev/vg0/lvtes

Re: Slow disk IO on virtio kvm guests with Centos 5.5 as hypervisor

2011-02-16 Thread Stefan Hajnoczi
On Wed, Feb 16, 2011 at 12:50 PM, Thomas Broda wrote: > On Tue, 15 Feb 2011 15:50:00 +, Stefan Hajnoczi > wrote: > > On Tue, Feb 15, 2011 at 10:15 AM, Thomas Broda > wrote: > Using O_DIRECT, performance went down to 11 MB/s on the hypervisor... > > > Hmm...can you restate that as: > > host  

Re: [Qemu-devel] KVM call minutes for Feb 15

2011-02-16 Thread Anthony Liguori
On 02/16/2011 04:24 AM, Avi Kivity wrote: On 02/16/2011 01:13 AM, Anthony Liguori wrote: On 02/15/2011 10:26 AM, Chris Wright wrote: QAPI and QMP - Anthony adding a new wiki page to describe all of this http://wiki.qemu.org/Features/QAPI [ 'change', {'device': 'str', 'target': 'str'}, {'

Re: [Qemu-devel] KVM call minutes for Feb 15

2011-02-16 Thread Amit Shah
On (Tue) 15 Feb 2011 [17:13:13], Anthony Liguori wrote: > On 02/15/2011 10:26 AM, Chris Wright wrote: > > > >revisit new -> old migration > >- Amit offers virtio-serial patches and some legwork > > So, to me, migration correctness trumps compatibility. I don't > think compatibility is useful if

Re: [Qemu-devel] KVM call minutes for Feb 15

2011-02-16 Thread Anthony Liguori
On 02/16/2011 08:39 AM, Amit Shah wrote: On (Tue) 15 Feb 2011 [17:13:13], Anthony Liguori wrote: On 02/15/2011 10:26 AM, Chris Wright wrote: revisit new -> old migration - Amit offers virtio-serial patches and some legwork So, to me, migration correctness trumps compatibili

Re: KVM Test report, kernel a685b38... qemu 671d89d...

2011-02-16 Thread Alex Williamson
On Wed, 2011-02-16 at 11:10 +0200, Avi Kivity wrote: > On 02/16/2011 11:05 AM, Hao, Xudong wrote: > > Hi, all, > > This is KVM test result against kvm.git > > a685b38e272587e644fedd37269ddb82df21c052, and qemu-kvm.git > > 671d89d6411655bb4f8058ce6eb86bb0bb8ec978. > > > > Currently qemu-kvm can bu

Re: KVM Test report, kernel a685b38... qemu 671d89d...

2011-02-16 Thread Alex Williamson
On Wed, 2011-02-16 at 08:01 -0700, Alex Williamson wrote: > On Wed, 2011-02-16 at 11:10 +0200, Avi Kivity wrote: > > On 02/16/2011 11:05 AM, Hao, Xudong wrote: > > > Hi, all, > > > This is KVM test result against kvm.git > > > a685b38e272587e644fedd37269ddb82df21c052, and qemu-kvm.git > > > 671d8

Re: Slow disk IO on virtio kvm guests with Centos 5.5 as hypervisor

2011-02-16 Thread Thomas Broda
On Wed, 16 Feb 2011 13:11:46 +, Stefan Hajnoczi wrote: > A number of performance improvements have been made to KVM and Centos > 5.5 does not contain them because it is too old. If you want to see a > more current reflection of KVM performance, you could try Fedora 14 > host and guest. I w

Why exit on MSR_STAR and friends?

2011-02-16 Thread Nadav Har'El
Hi, In the recent KVM forum, Marcelo Tosatti presented some KVM performance improvements. One of them (page 17 of the presentation) was about the MSRs used by SYSCALL: MSR_STAR, MSR_LSTAR, MSR_CSTAR (and also MSR_SYSCALL_MASK). He said that "Guests have direct access to these MSRs", and this is wh

Re: KVM Test report, kernel a685b38... qemu 671d89d...

2011-02-16 Thread Chris Wright
* Alex Williamson (alex.william...@redhat.com) wrote: > On Wed, 2011-02-16 at 11:10 +0200, Avi Kivity wrote: > > On 02/16/2011 11:05 AM, Hao, Xudong wrote: > > > Hi, all, > > > This is KVM test result against kvm.git > > > a685b38e272587e644fedd37269ddb82df21c052, and qemu-kvm.git > > > 671d89d64

[Bug 29232] [VT-d] VT-d device passthrough fail to guest

2011-02-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=29232 alex.william...@redhat.com changed: What|Removed |Added CC||alex.william...@redhat.com

Re: [PATCH 2/3] KVM: VMX: Short circuit STI; HLT while an interrupt is pending

2011-02-16 Thread Marcelo Tosatti
On Wed, Feb 16, 2011 at 11:01:47AM +0200, Avi Kivity wrote: > On 02/15/2011 10:36 PM, Marcelo Tosatti wrote: > >On Mon, Feb 14, 2011 at 04:42:16PM +0200, Avi Kivity wrote: > >> Short-circuit an STI; HLT sequence while an interrupt is pending: > >> instead of halting, re-entering the guest, and ex

Re: [RESEND][PATCH] qemu-kvm: Drop vga dirty logging workarounds

2011-02-16 Thread Marcelo Tosatti
On Mon, Feb 14, 2011 at 07:19:20PM +0100, Jan Kiszka wrote: > These diffs to upstream should all date back to the days qemu-kvm > supported vga dirty logging with restricted/broken kvm kernel modules. > We no longer do, so there is no need for those workarounds. Even worse > they can trigger intern

KVM, Entropy and Windows

2011-02-16 Thread --[ UxBoD ]--
Hello all, I believe I am hitting a problem on one of our Windows 2003 KVM guests were I believe it is running out of Entropy and causing SSL issues. I see that there is a module called virtio-rng which I believe passes the HW entropy source through to the guest but does this work on Windows as

the fr-ca keymap is not working...

2011-02-16 Thread Pierre-Yves Langlois
Hi... A lot of keys were not working when I used the fr-ca layout in a KVM guest. I have updated my /usr/share/kvm/keymaps/fr-ca and added the following entries at the ends to make it works. The only keys that still behave strangely are dead_xxxkeys. #hardcoded keys minus 0x0c numbersign 0x29 Eacu

Re: Passthrough of 2 PCI devices works 80% (Kernel 2.6.37, Debian Squeeze, Win7 VM)

2011-02-16 Thread Alex Williamson
On Tue, 2011-02-15 at 20:57 +, Da Powah wrote: > Hi, > > i`ve got a question about pci passthrogh of 2 pci devices (2x DVB-S2 > PCI cards with Saa7146 PCI Bridge from Technotrend: S2-3200). > > I am using squeeze with a 2.6.37 selfcompiled Kernel. I want to > passthrough both devices to a vi

Re: [PATCH 3/3] Provide control over unmapped pages (v4)

2011-02-16 Thread Minchan Kim
On Mon, Feb 14, 2011 at 2:33 AM, Balbir Singh wrote: > * MinChan Kim [2011-02-10 14:41:44]: > >> I don't know why the part of message is deleted only when I send you. >> Maybe it's gmail bug. >> >> I hope mail sending is successful in this turn. :) >> >> On Thu, Feb 10, 2011 at 2:33 PM, Minchan K