[Bug 27052] Module KVM : unable to handle kernel NULL pointer dereference at

2011-01-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=27052 --- Comment #9 from prochazka prochazka.nico...@gmail.com 2011-01-25 08:49:48 --- seems to be closed, but our tests are not exhaustive Regards, NP. -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email --- You are

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Avi Kivity
On 01/24/2011 11:32 AM, Marcelo Tosatti wrote: On Fri, Jan 21, 2011 at 04:48:02PM -0700, Alex Williamson wrote: When doing device assignment, we use cpu_register_physical_memory() to directly map the qemu mmap of the device resource into the address space of the guest. The unadvertised

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Avi Kivity
On 01/25/2011 07:37 AM, Alex Williamson wrote: On Mon, 2011-01-24 at 08:44 -0700, Alex Williamson wrote: I'll look at how we might be able to allocate slots on demand. Thanks, Here's a first cut just to see if this looks agreeable. This allows the slot array to grow on demand. This works

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-25 Thread Avi Kivity
On 01/18/2011 04:28 PM, Jan Kiszka wrote: So we can either infect the whole device tree with kvm (or maybe a more generic accelerator structure that also deals with Xen) or we need to pull the reference inside the device's init function from some global service (kvm_get_state). Note

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-25 Thread Avi Kivity
On 01/18/2011 05:50 PM, Anthony Liguori wrote: This design is in conflict with the requirement to attach KVM-assisted devices also to their home bus, e.g. an assigned PCI device to the PCI bus. We don't support multi-homed qdev devices. The bus topology reflects how I/O flows in and out of a

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-25 Thread Avi Kivity
On 01/19/2011 06:57 PM, Anthony Liguori wrote: On 01/19/2011 07:15 AM, Markus Armbruster wrote: So they interact with KVM (need kvm_state), and they interact with the emulated PCI bus. Could you elaborate on the fundamental difference between the two interactions that makes you choose the

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-25 Thread Avi Kivity
On 01/20/2011 11:22 PM, Jan Kiszka wrote: On 2011-01-20 20:27, Blue Swirl wrote: On Thu, Jan 20, 2011 at 9:33 AM, Jan Kiszkajan.kis...@siemens.com wrote: On 2011-01-19 20:32, Blue Swirl wrote: On Wed, Jan 19, 2011 at 4:57 PM, Anthony Liguori aligu...@linux.vnet.ibm.com wrote: On

Re: AIX guest support

2011-01-25 Thread Avi Kivity
On 01/19/2011 12:05 PM, ViniCrane L. wrote: Avi, Do you have any plan to support AIX guest? Do you mean on the power architecture? I'm sure Alex would know. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line unsubscribe kvm in the

Re: [PATCH 3/3] KVM: Add documents for MSI-X MMIO API

2011-01-25 Thread Avi Kivity
On 01/19/2011 10:21 AM, Sheng Yang wrote: We already got an guest MMIO address for that in the exit information. I've created a chain of handler in qemu to handle it. But we already decoded the table and entry... But the handler is still wrapped by vcpu_mmio_write(), as a part of

[Bug 27052] Module KVM : unable to handle kernel NULL pointer dereference at

2011-01-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=27052 --- Comment #10 from Marcelo Tosatti mtosa...@redhat.com 2011-01-25 13:09:07 --- Nicolas, It would be good if you can test with hugepages enabled again. Thanks for the detailed report. -- Configure bugmail:

Re: AIX guest support

2011-01-25 Thread Alexander Graf
On 25.01.2011, at 13:41, Avi Kivity a...@redhat.com wrote: On 01/19/2011 12:05 PM, ViniCrane L. wrote: Avi, Do you have any plan to support AIX guest? Do you mean on the power architecture? I'm sure Alex would know. I don't have any active intentions to do so, but Andreas was

[Bug 27052] Module KVM : unable to handle kernel NULL pointer dereference at

2011-01-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=27052 Avi Kivity a...@redhat.com changed: What|Removed |Added CC||a...@redhat.com ---

[Bug 27052] Module KVM : unable to handle kernel NULL pointer dereference at

2011-01-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=27052 --- Comment #12 from Marcelo Tosatti mtosa...@redhat.com 2011-01-25 13:55:05 --- It gets inconsistent if mmu_set_spte updates an already present spte with a different gfn. For example: - unsync page spte N gfn A - guest updates gpte that

Re: [Qemu-devel] Re: KVM call agenda for Jan 25

2011-01-25 Thread Luiz Capitulino
On Mon, 24 Jan 2011 16:06:34 -0600 Anthony Liguori anth...@codemonkey.ws wrote: On 01/24/2011 07:25 AM, Chris Wright wrote: Please send in any agenda items you are interested in covering. - coroutines for the block layer - glib everywhere - Let's start planning our next release in

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-25 Thread Anthony Liguori
On 01/25/2011 04:27 AM, Avi Kivity wrote: It boils down to how we reasonably pass a kvm_state reference from machine init code to a sysbus device. I'm probably biased, but I don't see any way that does not work against the idea of confining access to kvm_state or breaks device instantiation from

KVM: MMU: update sp-gfns on pte update path

2011-01-25 Thread Marcelo Tosatti
If an emulated pte write modifies the gpa of a present spte, sp-gfns is not updated, retaining a stale value which later leads to: rmap_remove: 8807d245fff8 0-BUG [ cut here ] kernel BUG at arch/x86/kvm/mmu.c:695! Fix by updating sp-gfns even if spte was present.

Re: [Qemu-devel] Re: KVM call agenda for Jan 25

2011-01-25 Thread Luiz Capitulino
On Tue, 25 Jan 2011 11:57:27 -0200 Luiz Capitulino lcapitul...@redhat.com wrote: On Mon, 24 Jan 2011 16:06:34 -0600 Anthony Liguori anth...@codemonkey.ws wrote: On 01/24/2011 07:25 AM, Chris Wright wrote: Please send in any agenda items you are interested in covering. -

Re: [Qemu-devel] Re: KVM call agenda for Jan 25

2011-01-25 Thread Aurelien Jarno
Luiz Capitulino a écrit : On Mon, 24 Jan 2011 16:06:34 -0600 Anthony Liguori anth...@codemonkey.ws wrote: On 01/24/2011 07:25 AM, Chris Wright wrote: Please send in any agenda items you are interested in covering. - coroutines for the block layer - glib everywhere - Let's start

Re: [Qemu-devel] Re: KVM call agenda for Jan 25

2011-01-25 Thread Stefan Hajnoczi
On Tue, Jan 25, 2011 at 2:02 PM, Luiz Capitulino lcapitul...@redhat.com wrote:  - Google summer of code 2011 is on, are we interested? (note: I just saw the   news, I don't have any information yet) http://www.google-melange.com/document/show/gsoc_program/google/gsoc2011/timeline I'd like to

Re: KVM call agenda for Jan 25

2011-01-25 Thread Avi Kivity
On 01/25/2011 12:06 AM, Anthony Liguori wrote: On 01/24/2011 07:25 AM, Chris Wright wrote: Please send in any agenda items you are interested in covering. - coroutines for the block layer I have a perpetually in progress branch for this, and would very much like to see this done. --

Re: [Qemu-devel] Re: KVM call agenda for Jan 25

2011-01-25 Thread Anthony Liguori
On 01/25/2011 08:11 AM, Aurelien Jarno wrote: Luiz Capitulino a écrit : On Mon, 24 Jan 2011 16:06:34 -0600 Anthony Liguorianth...@codemonkey.ws wrote: On 01/24/2011 07:25 AM, Chris Wright wrote: Please send in any agenda items you are interested in covering. -

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-25 Thread Anthony Liguori
On 01/25/2011 05:06 AM, Avi Kivity wrote: On 01/19/2011 06:57 PM, Anthony Liguori wrote: On 01/19/2011 07:15 AM, Markus Armbruster wrote: So they interact with KVM (need kvm_state), and they interact with the emulated PCI bus. Could you elaborate on the fundamental difference between the two

Re: KVM call agenda for Jan 25

2011-01-25 Thread Stefan Hajnoczi
On Tue, Jan 25, 2011 at 2:26 PM, Avi Kivity a...@redhat.com wrote: On 01/25/2011 12:06 AM, Anthony Liguori wrote: On 01/24/2011 07:25 AM, Chris Wright wrote: Please send in any agenda items you are interested in covering. - coroutines for the block layer I have a perpetually in progress

Re: qemu-kvm.git BUG - 'Two devices with same boot index 0'

2011-01-25 Thread Gleb Natapov
On Wed, Jan 19, 2011 at 12:01:04PM -0200, Lucas Meneghel Rodrigues wrote: Hi guys, I've noticed the following regression on qemu.git HEAD: Please drop use of boot=on for virtio from autotest. VMCreateError: VM creation command failed: /root/autotest/client/tests/kvm/qemu -name 'vm1'

Re: [Qemu-devel] Re: KVM call agenda for Jan 25

2011-01-25 Thread Kevin Wolf
Am 25.01.2011 15:11, schrieb Aurelien Jarno: Luiz Capitulino a écrit : On Mon, 24 Jan 2011 16:06:34 -0600 Anthony Liguori anth...@codemonkey.ws wrote: On 01/24/2011 07:25 AM, Chris Wright wrote: Please send in any agenda items you are interested in covering. - coroutines for the block

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Alex Williamson
On Tue, 2011-01-25 at 08:36 +0100, Jan Kiszka wrote: On 2011-01-25 06:37, Alex Williamson wrote: On Mon, 2011-01-24 at 08:44 -0700, Alex Williamson wrote: I'll look at how we might be able to allocate slots on demand. Thanks, Here's a first cut just to see if this looks agreeable.

Re: EPT: Misconfiguration

2011-01-25 Thread Ruben Kerkhof
Hi Marcello, On Fri, Jan 21, 2011 at 14:22, Marcelo Tosatti mtosa...@redhat.com wrote: On Thu, Jan 20, 2011 at 12:48:00PM +0100, Ruben Kerkhof wrote: I'm suddenly getting lots of the following errors on a server running 2.36.7, but I have no idea what it means:

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Michael S. Tsirkin
On Tue, Jan 25, 2011 at 07:41:32AM -0700, Alex Williamson wrote: On Tue, 2011-01-25 at 08:36 +0100, Jan Kiszka wrote: On 2011-01-25 06:37, Alex Williamson wrote: On Mon, 2011-01-24 at 08:44 -0700, Alex Williamson wrote: I'll look at how we might be able to allocate slots on demand.

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Alex Williamson
On Tue, 2011-01-25 at 12:20 +0200, Avi Kivity wrote: On 01/24/2011 11:32 AM, Marcelo Tosatti wrote: On Fri, Jan 21, 2011 at 04:48:02PM -0700, Alex Williamson wrote: When doing device assignment, we use cpu_register_physical_memory() to directly map the qemu mmap of the device resource

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Avi Kivity
On 01/25/2011 04:45 PM, Michael S. Tsirkin wrote: Also, is there any time where we need to scan all slots on data path? All guest mmio accesses. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Michael S. Tsirkin
On Tue, Jan 25, 2011 at 12:20:03PM +0200, Avi Kivity wrote: On 01/24/2011 11:32 AM, Marcelo Tosatti wrote: On Fri, Jan 21, 2011 at 04:48:02PM -0700, Alex Williamson wrote: When doing device assignment, we use cpu_register_physical_memory() to directly map the qemu mmap of the device

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Avi Kivity
On 01/25/2011 04:46 PM, Alex Williamson wrote: On Tue, 2011-01-25 at 12:20 +0200, Avi Kivity wrote: On 01/24/2011 11:32 AM, Marcelo Tosatti wrote: On Fri, Jan 21, 2011 at 04:48:02PM -0700, Alex Williamson wrote: When doing device assignment, we use cpu_register_physical_memory() to

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Alex Williamson
On Tue, 2011-01-25 at 12:23 +0200, Avi Kivity wrote: On 01/25/2011 07:37 AM, Alex Williamson wrote: On Mon, 2011-01-24 at 08:44 -0700, Alex Williamson wrote: I'll look at how we might be able to allocate slots on demand. Thanks, Here's a first cut just to see if this looks

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Avi Kivity
On 01/25/2011 04:55 PM, Michael S. Tsirkin wrote: We can't make it unbounded in the kernel, since a malicious user could start creating an infinite amount of memory slots, pinning unbounded kernel memory. How about keeping the slots in userspace memory, access them with copy from user?

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Michael S. Tsirkin
On Tue, Jan 25, 2011 at 04:53:44PM +0200, Avi Kivity wrote: For the other lookups, which we believe will succeed, we can assume the probablity of a match is related to the slot size, and sort the slots by page count. Unlikely to be true for assigned device BARs. -- MST -- To unsubscribe from

user: time jump in slave machine leads to freeze

2011-01-25 Thread gnafou
Hello We have had several cases where a slave machine freezes, eating all available cpu. ( this happends randomly, say, after 3 months of correct functionning ) After reboot, looking at the syslog when the freeze occured, the few ( ~5 ) last lines written show a date which has jumped in the

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Michael S. Tsirkin
On Tue, Jan 25, 2011 at 04:58:41PM +0200, Avi Kivity wrote: On 01/25/2011 04:55 PM, Michael S. Tsirkin wrote: We can't make it unbounded in the kernel, since a malicious user could start creating an infinite amount of memory slots, pinning unbounded kernel memory. How about keeping

Re: [Qemu-devel] Re: KVM call agenda for Jan 25

2011-01-25 Thread Aurelien Jarno
On Tue, Jan 25, 2011 at 03:42:04PM +0100, Kevin Wolf wrote: Am 25.01.2011 15:11, schrieb Aurelien Jarno: Luiz Capitulino a écrit : On Mon, 24 Jan 2011 16:06:34 -0600 Anthony Liguori anth...@codemonkey.ws wrote: On 01/24/2011 07:25 AM, Chris Wright wrote: Please send in any agenda

QEMU/KVM Call notes for Jan 25, 2011

2011-01-25 Thread Jes Sorensen
Hello, Please find attached my notes from the weekly QEMU/KVM call January 25, 2011. My apologies if I got something wrong. Jes - QEMU 0.14/0.15 releases - Feb 1st 2011 branch to stable tree for 0.14. Anthony would like to do a formal release quickly, so hopefully within 1-2 weeks after

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Jan Kiszka
On 2011-01-25 15:53, Avi Kivity wrote: On 01/25/2011 04:41 PM, Alex Williamson wrote: kvm: Allow memory slot array to grow on demand Remove fixed KVM_MEMORY_SLOTS limit, allowing the slot array to grow on demand. Private slots are now allocated at the front

Re: [Qemu-devel] Re: Errors on MMIO read access on VM suspend / resume operations

2011-01-25 Thread Stefan Berger
On 01/25/2011 02:26 AM, Jan Kiszka wrote: Do you see a chance to look closer at the issue yourself? E.g. instrument the kernel's irqchip models and dump their states once your guest is stuck? The device runs on iRQ 3. So I applied this patch here. diff --git a/arch/x86/kvm/i8259.c

[Bug 27052] Module KVM : unable to handle kernel NULL pointer dereference at

2011-01-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=27052 --- Comment #13 from Marcelo Tosatti mtosa...@redhat.com 2011-01-25 17:07:58 --- Nicolas, Can you please back out the first patch and apply this debug one instead? -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email

[Bug 27052] Module KVM : unable to handle kernel NULL pointer dereference at

2011-01-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=27052 --- Comment #14 from Marcelo Tosatti mtosa...@redhat.com 2011-01-25 17:08:42 --- Created an attachment (id=45162) -- (https://bugzilla.kernel.org/attachment.cgi?id=45162) debug rmap remove -- Configure bugmail:

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Avi Kivity
On 01/25/2011 04:57 PM, Alex Williamson wrote: On Tue, 2011-01-25 at 12:23 +0200, Avi Kivity wrote: On 01/25/2011 07:37 AM, Alex Williamson wrote: On Mon, 2011-01-24 at 08:44 -0700, Alex Williamson wrote: I'll look at how we might be able to allocate slots on demand. Thanks,

Re: KVM: MMU: update sp-gfns on pte update path

2011-01-25 Thread Marcelo Tosatti
On Tue, Jan 25, 2011 at 04:32:29PM +0200, Avi Kivity wrote: On 01/25/2011 03:07 PM, Marcelo Tosatti wrote: If an emulated pte write modifies the gpa of a present spte, sp-gfns is not updated, retaining a stale value which later leads to: rmap_remove: 8807d245fff8 0-BUG [ cut

[Bug 27052] Module KVM : unable to handle kernel NULL pointer dereference at

2011-01-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=27052 --- Comment #15 from prochazka prochazka.nico...@gmail.com 2011-01-25 17:29:00 --- previous test is with hugepages. I try to test but i can reproduce only to one server, and this server is not mine. Regards, Nicolas. -- Configure

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Avi Kivity
On 01/25/2011 04:59 PM, Michael S. Tsirkin wrote: On Tue, Jan 25, 2011 at 04:53:44PM +0200, Avi Kivity wrote: For the other lookups, which we believe will succeed, we can assume the probablity of a match is related to the slot size, and sort the slots by page count. Unlikely to be true

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Avi Kivity
On 01/25/2011 05:23 PM, Michael S. Tsirkin wrote: On Tue, Jan 25, 2011 at 04:58:41PM +0200, Avi Kivity wrote: On 01/25/2011 04:55 PM, Michael S. Tsirkin wrote: We can't make it unbounded in the kernel, since a malicious user could start creating an infinite amount of memory slots,

Re: KVM: MMU: update sp-gfns on pte update path

2011-01-25 Thread Avi Kivity
On 01/25/2011 07:12 PM, Marcelo Tosatti wrote: Should be done by a call to kvm_mmu_page_set_gfn(). But I don't understand how it could become inconsistent in the first place. if (is_rmap_spte(*sptep)) { /* * If we overwrite a PTE page pointer with a 2MB PMD,

Re: EPT: Misconfiguration

2011-01-25 Thread Avi Kivity
On 01/25/2011 04:44 PM, Ruben Kerkhof wrote: Hi Marcello, On Fri, Jan 21, 2011 at 14:22, Marcelo Tosattimtosa...@redhat.com wrote: On Thu, Jan 20, 2011 at 12:48:00PM +0100, Ruben Kerkhof wrote: I'm suddenly getting lots of the following errors on a server running 2.36.7, but I have no

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Alex Williamson
On Tue, 2011-01-25 at 19:11 +0200, Avi Kivity wrote: On 01/25/2011 04:57 PM, Alex Williamson wrote: On Tue, 2011-01-25 at 12:23 +0200, Avi Kivity wrote: On 01/25/2011 07:37 AM, Alex Williamson wrote: On Mon, 2011-01-24 at 08:44 -0700, Alex Williamson wrote: I'll look at how

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Michael S. Tsirkin
On Tue, Jan 25, 2011 at 07:33:40PM +0200, Avi Kivity wrote: On 01/25/2011 04:59 PM, Michael S. Tsirkin wrote: On Tue, Jan 25, 2011 at 04:53:44PM +0200, Avi Kivity wrote: For the other lookups, which we believe will succeed, we can assume the probablity of a match is related to the slot

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Michael S. Tsirkin
On Tue, Jan 25, 2011 at 07:34:18PM +0200, Avi Kivity wrote: On 01/25/2011 05:23 PM, Michael S. Tsirkin wrote: On Tue, Jan 25, 2011 at 04:58:41PM +0200, Avi Kivity wrote: On 01/25/2011 04:55 PM, Michael S. Tsirkin wrote: We can't make it unbounded in the kernel, since a malicious

Re: user: time jump in slave machine leads to freeze

2011-01-25 Thread Brian Jackson
On 1/25/2011 9:21 AM, gnafou wrote: Hello We have had several cases where a slave machine freezes, eating all available cpu. ( this happends randomly, say, after 3 months of correct functionning ) After reboot, looking at the syslog when the freeze occured, the few ( ~5 ) last lines written

Re: EPT: Misconfiguration

2011-01-25 Thread Ruben Kerkhof
Hi Avi, On Tue, Jan 25, 2011 at 18:39, Avi Kivity a...@redhat.com wrote: On 01/25/2011 04:44 PM, Ruben Kerkhof wrote: Hi Marcello, On Fri, Jan 21, 2011 at 14:22, Marcelo Tosattimtosa...@redhat.com  wrote:  On Thu, Jan 20, 2011 at 12:48:00PM +0100, Ruben Kerkhof wrote:  I'm suddenly

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

2011-01-25 Thread Alex Williamson
On Tue, 2011-01-25 at 17:35 +0100, Jan Kiszka wrote: On 2011-01-25 15:53, Avi Kivity wrote: On 01/25/2011 04:41 PM, Alex Williamson wrote: kvm: Allow memory slot array to grow on demand Remove fixed KVM_MEMORY_SLOTS limit, allowing the slot array to grow on

Re: [PATCH 16/16] KVM-GST: adjust scheduler cpu power

2011-01-25 Thread Glauber Costa
On Mon, 2011-01-24 at 20:51 +0100, Peter Zijlstra wrote: On Mon, 2011-01-24 at 16:51 -0200, Glauber Costa wrote: I would really much rather see you change update_rq_clock_task() and subtract your ns resolution steal time from our wall-time, update_rq_clock_task() already updates the

Re: [PATCH 16/16] KVM-GST: adjust scheduler cpu power

2011-01-25 Thread Peter Zijlstra
On Tue, 2011-01-25 at 18:02 -0200, Glauber Costa wrote: I fail to see how does clock_task influence cpu power. If we also have to touch clock_task for better accounting of other stuff, it is a separate story. But for cpu_power, I really fail. Please enlighten me. static void

Re: [PATCH 16/16] KVM-GST: adjust scheduler cpu power

2011-01-25 Thread Glauber Costa
On Tue, 2011-01-25 at 21:13 +0100, Peter Zijlstra wrote: On Tue, 2011-01-25 at 18:02 -0200, Glauber Costa wrote: I fail to see how does clock_task influence cpu power. If we also have to touch clock_task for better accounting of other stuff, it is a separate story. But for cpu_power, I

Re: [PATCH 16/16] KVM-GST: adjust scheduler cpu power

2011-01-25 Thread Peter Zijlstra
On Tue, 2011-01-25 at 18:47 -0200, Glauber Costa wrote: On Tue, 2011-01-25 at 21:13 +0100, Peter Zijlstra wrote: On Tue, 2011-01-25 at 18:02 -0200, Glauber Costa wrote: I fail to see how does clock_task influence cpu power. If we also have to touch clock_task for better accounting of

Network performance with small packets

2011-01-25 Thread Steve Dobbelstein
I am working on a KVM network performance issue found in our lab running the DayTrader benchmark. The benchmark throughput takes a significant hit when running the application server in a KVM guest verses on bare metal. We have dug into the problem and found that DayTrader's use of small packets

Re: [PATCH 16/16] KVM-GST: adjust scheduler cpu power

2011-01-25 Thread Glauber Costa
On Tue, 2011-01-25 at 22:07 +0100, Peter Zijlstra wrote: On Tue, 2011-01-25 at 18:47 -0200, Glauber Costa wrote: On Tue, 2011-01-25 at 21:13 +0100, Peter Zijlstra wrote: On Tue, 2011-01-25 at 18:02 -0200, Glauber Costa wrote: I fail to see how does clock_task influence cpu power.

Fwd: Graphics pass-through

2011-01-25 Thread Prasad Joshi
Hello, This is to announce that, we have been able to pass-through a ATI Radeon RV370 FireGL V3100 to Ubuntu VM. This card was attached to a separate monitor, after passing-through the Keyboard and Mouse everything worked as normal. The changes we made are very less, mostly disabling default

Re: Graphics pass-through

2011-01-25 Thread Alex Williamson
2011/1/25 Prasad Joshi prasadjoshi...@gmail.com: Hello, This is to announce that, we have been able to pass-through a ATI Radeon RV370 FireGL V3100 to Ubuntu VM. This card was attached to a separate monitor, after passing-through the Keyboard and Mouse everything worked as normal. The