[COMMIT master] Remove merge conflict markers left in target-i386/kvm.c.

2010-03-12 Thread Avi Kivity
From: Avi Kivity a...@redhat.com Signed-off-by: Avi Kivity a...@redhat.com diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 123dcc8..3e71158 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -564,10 +564,7 @@ static int kvm_put_msrs(CPUState *env, int level)

[COMMIT master] Use qemu-cfg to provide the BIOS with an optional table of e820 entries

2010-03-12 Thread Avi Kivity
From: Jes Sorensen jes.soren...@redhat.com The missing bits for qemu-kvm.git to match what qemu does. Signed-off-by: Jes Sorensen jes.soren...@redhat.com Signed-off-by: Avi Kivity a...@redhat.com diff --git a/qemu-kvm-x86.c b/qemu-kvm-x86.c index 0160fe9..ad58d87 100644 --- a/qemu-kvm-x86.c +++

[COMMIT master] KVM: cleanup kvm trace

2010-03-12 Thread Avi Kivity
From: Xiao Guangrong xiaoguangr...@cn.fujitsu.com This patch does: - no need call tracepoint_synchronize_unregister() when kvm module is unloaded since ftrace can handle it - cleanup ftrace's macro Signed-off-by: Xiao Guangrong xiaoguangr...@cn.fujitsu.com Signed-off-by: Avi Kivity

[COMMIT master] KVM: Trace exception injection

2010-03-12 Thread Avi Kivity
From: Avi Kivity a...@redhat.com Often an exception can help point out where things start to go wrong. Signed-off-by: Avi Kivity a...@redhat.com diff --git a/arch/x86/kvm/trace.h b/arch/x86/kvm/trace.h index d10b359..32c912c 100644 --- a/arch/x86/kvm/trace.h +++ b/arch/x86/kvm/trace.h @@ -219,6

[COMMIT master] KVM: remove redundant initialization of page-private

2010-03-12 Thread Avi Kivity
From: Minchan Kim minchan@gmail.com The prep_new_page() in page allocator calls set_page_private(page, 0). So we don't need to reinitialize private of page. Signed-off-by: Minchan Kim minchan@gmail.com Cc: Avi Kivitya...@redhat.com Signed-off-by: Avi Kivity a...@redhat.com diff --git

Re: [PATCH] x86/kvm: Show guest system/user cputime in cpustat

2010-03-12 Thread Qing He
On Thu, 2010-03-11 at 17:17 +0800, Sheng Yang wrote: On Thursday 11 March 2010 15:50:54 Avi Kivity wrote: On 03/11/2010 09:46 AM, Sheng Yang wrote: On Thursday 11 March 2010 15:36:01 Avi Kivity wrote: On 03/11/2010 09:20 AM, Sheng Yang wrote: Currently we can only get the cpu_stat of

Re: [Qemu-devel] Re: Ideas wiki for GSoC 2010

2010-03-12 Thread Paolo Bonzini
On 03/11/2010 11:59 PM, Jamie Lokier wrote: Avi Kivity wrote: On 03/10/2010 11:30 PM, Luiz Capitulino wrote: 2. Do we have kvm-specific projects? Can they be part of the QEMU project or do we need a different mentoring organization for it? Something really interesting is kvm-assisted

[PATCH -v3 1/2] KVM: introduce kvm_uninit_mmu_notifier()

2010-03-12 Thread Takuya Yoshikawa
We have kvm_init_mmu_notifier() for registering mmu notifier. This patch makes the counterpart for unregister. Signed-off-by: Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp --- virt/kvm/kvm_main.c | 16 +++- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git

Re: [Qemu-devel] Re: Ideas wiki for GSoC 2010

2010-03-12 Thread Gleb Natapov
On Fri, Mar 12, 2010 at 10:48:51AM +0100, Paolo Bonzini wrote: On 03/11/2010 11:59 PM, Jamie Lokier wrote: Avi Kivity wrote: On 03/10/2010 11:30 PM, Luiz Capitulino wrote: 2. Do we have kvm-specific projects? Can they be part of the QEMU project or do we need a different mentoring

Re: [PATCH -v3 1/2] KVM: introduce kvm_uninit_mmu_notifier()

2010-03-12 Thread Takuya Yoshikawa
I made this patch for the coalesced mmio's error handling work. Though, I wanted to finish this work, I have no time this week any more. I'll do the remaining part next week, sorry. Takuya Yoshikawa wrote: We have kvm_init_mmu_notifier() for registering mmu notifier. This patch makes the

Re: [Qemu-devel] Re: Ideas wiki for GSoC 2010

2010-03-12 Thread Jes Sorensen
On 03/11/10 12:25, Alexander Graf wrote: The list is also still missing a lot of potential mentors for the listed ideas. Let me propose some here :) == Shared memory transport between guest(s) and host == Sounds like Avi would be a good fit. I'm pretty unknowledgeable when it comes to shm.

Re: [Android-virt] Ideas wiki for GSoC 2010

2010-03-12 Thread Christoffer Dall
On Thu, Mar 11, 2010 at 1:15 PM, Avi Kivity a...@redhat.com wrote: On 03/11/2010 02:03 PM, Alexander Graf wrote: Another idea I'd have would be upstream integration (and cleanup) of the ARM KVM port: https://wiki.ncl.cs.columbia.edu/wiki/index.php/AndroidVirt:MainPage Huh, didn't even

Re: Windows Driver for -vga std

2010-03-12 Thread Michael Tokarev
erik.r...@rdsoftware.de wrote: Hi all, using the Default VGA settings Windows XP detects an unknown VGA Device, but everything is fine, Display settings are ok. But how can I setup my XP to detect this virtual graphics board correctly? I just want to continue using this setting but with no

Re: [Android-virt] Ideas wiki for GSoC 2010

2010-03-12 Thread Luiz Capitulino
On Fri, 12 Mar 2010 11:49:48 +0100 Christoffer Dall christofferd...@christofferdall.dk wrote: On Thu, Mar 11, 2010 at 1:15 PM, Avi Kivity a...@redhat.com wrote: On 03/11/2010 02:03 PM, Alexander Graf wrote: Another idea I'd have would be upstream integration (and cleanup) of the ARM KVM

BUG: soft lockup - CPU#1 stuck for 61s ! [qemu-kvm... (and server hang)

2010-03-12 Thread Tomasz Chmielewski
I was using kvm with much success, until I decided to enable radeon KMS on a multiseat station. After some time, machine just hanged (well, it was still replying to ping) and kernel said what I pasted below. Not sure if it's kvm to blame, or radeon KMS, or... [ 923.418469] BUG: soft lockup

[PATCH v4 2/2] qemu-kvm: x86: Add support for savingrestoring debug registers

2010-03-12 Thread Jan Kiszka
Corresponding support for qemu-kvm. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- qemu-kvm-x86.c|2 ++ qemu-kvm.c|5 + qemu-kvm.h|1 + target-i386/kvm.c |2 +- 4 files changed, 9 insertions(+), 1 deletions(-) diff --git a/qemu-kvm-x86.c

[PATCH v4 0/2] qemu-kvm: Saverestore debug registers

2010-03-12 Thread Jan Kiszka
Patch 1 is for upstream and should be applied to uq/master as well, patch 2 is for qemu-kvm only. Jan Kiszka (2): KVM: x86: Add debug register saving and restoring qemu-kvm: x86: Add support for savingrestoring debug registers kvm-all.c | 11 ++ kvm.h |1 +

[PATCH v4 1/2] KVM: x86: Add debug register saving and restoring

2010-03-12 Thread Jan Kiszka
Make use of the new KVM_GET/SET_DEBUGREGS to save/restore the x86 debug registers. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- kvm-all.c | 11 ++ kvm.h |1 + target-i386/kvm.c | 55 + 3 files

Re: PCI capabilities support for assigned devices

2010-03-12 Thread Sebastian Hetze
On Wed, Mar 10, 2010 at 02:52:30PM +0100, Sebastian Hetze wrote: Hi *, in qemu-kvm/hw/device-assignment.c assigned_device_pci_cap_init() appearently only PCI_CAP_ID_MSI and PCI_CAP_ID_MSIX are exposed to the guest. Linux Broadcom bnx2 and tg3 drivers expect PCI_CAP_ID_PM to be present.

Re: [Qemu-devel] Ideas wiki for GSoC 2010

2010-03-12 Thread Adam Litke
Hi Luiz. Around the time when I introduced the new Asynchronous monitor command API we had talked about converting all commands to use this new API so that we can cut down on duplicate code paths and confusing code. I would like to propose this as a GSoC project idea. Do you think it should

Re: [Qemu-devel] Ideas wiki for GSoC 2010

2010-03-12 Thread Luiz Capitulino
On Fri, 12 Mar 2010 09:11:31 -0600 Adam Litke a...@us.ibm.com wrote: Hi Luiz. Around the time when I introduced the new Asynchronous monitor command API we had talked about converting all commands to use this new API so that we can cut down on duplicate code paths and confusing code. I would

Re: [Qemu-devel] Ideas wiki for GSoC 2010

2010-03-12 Thread Adam Litke
On Fri, 2010-03-12 at 12:22 -0300, Luiz Capitulino wrote: On Fri, 12 Mar 2010 09:11:31 -0600 Adam Litke a...@us.ibm.com wrote: Hi Luiz. Around the time when I introduced the new Asynchronous monitor command API we had talked about converting all commands to use this new API so that we

Re: ioeventfd usage in KVM

2010-03-12 Thread Cam Macdonell
On Fri, Mar 12, 2010 at 12:43 AM, Avi Kivity a...@redhat.com wrote: On 03/12/2010 07:08 AM, Cam Macdonell wrote: +    s-ivshmem_mmio_io_addr = cpu_register_io_memory(ivshmem_mmio_read, +                                    ivshmem_mmio_write, s); +    /* region for registers*/ +    

Re: [Qemu-devel] Ideas wiki for GSoC 2010

2010-03-12 Thread Luiz Capitulino
On Fri, 12 Mar 2010 09:38:47 -0600 Adam Litke a...@us.ibm.com wrote: On Fri, 2010-03-12 at 12:22 -0300, Luiz Capitulino wrote: On Fri, 12 Mar 2010 09:11:31 -0600 Adam Litke a...@us.ibm.com wrote: Hi Luiz. Around the time when I introduced the new Asynchronous monitor command API we

Re: [Qemu-devel] Ideas wiki for GSoC 2010

2010-03-12 Thread Anthony Liguori
On 03/12/2010 09:56 AM, Luiz Capitulino wrote: Once the student(s) have gone through the trouble to familiarize themselves with the monitor code, they would be well-positioned to complete this extra bit. How difficult do you imagine it will be to convert the remaining commands over to QObject?

Re: ioeventfd usage in KVM

2010-03-12 Thread Avi Kivity
On 03/12/2010 05:50 PM, Cam Macdonell wrote: Yes - they must match. Not PIO is faster on x86 but nonexistant elsewhere. s/Not/Note/. Does it matter that PIO is slower since with ioeventfd Qemu is being bypassed all together? mmio is slower in kvm, not qemu; mmio must go

Re: [Qemu-devel] Ideas wiki for GSoC 2010

2010-03-12 Thread Luiz Capitulino
On Fri, 12 Mar 2010 10:36:53 -0600 Anthony Liguori aligu...@linux.vnet.ibm.com wrote: On 03/12/2010 09:56 AM, Luiz Capitulino wrote: Once the student(s) have gone through the trouble to familiarize themselves with the monitor code, they would be well-positioned to complete this extra bit.

Re: Question on stopping KVM start at boot

2010-03-12 Thread Dustin Kirkland
On Wed, Mar 10, 2010 at 9:59 PM, sati...@pacific.net.hk wrote: $ cat /etc/init.d/qemu-kvm | grep modprobe        if modprobe $module .        if modprobe $module        then                log_end_msg 0        else                log_end_msg 1                exit 1        fi      

Re: [Qemu-devel] Re: Ideas wiki for GSoC 2010

2010-03-12 Thread Edgar E. Iglesias
IMO one of the biggest parts of infrastructure QEMU is missing for embedded stuff is a common (qdev) way of modeling DMA backchannels. Or devide to device channels or whatever you want to call it. Would be nice if someone could bring this to qemu. Cheers -- To unsubscribe from this list: send

[PATCH] kvm: clean up assigned_device_enable_host_msix

2010-03-12 Thread jing zhang
From: Jing Zhang zj.ba...@gmail.com Date: Sat Mar 13 14:05:27 2010 Cc: Avi Kivity a...@redhat.com Signed-off-by: Jing Zhang zj.ba...@gmail.com --- --- a/virt/kvm/assigned-dev.c 2010-03-02 20:10:18.0 +0800 +++ b/virt/kvm/assigned-dev.c 2010-03-02 20:26:18.0 +0800 @@