[ kvm-Bugs-2235570 ] 100% cpu usage with KVM-78

2010-11-29 Thread SourceForge.net
Bugs item #2235570, was opened at 2008-11-07 18:58 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2235570group_id=180599 Please note that this message will contain a full copy of the comment

Re: [PATCH kvm-unit-tests 2/4] Introduce a C++ wrapper for the kvm APIs

2010-11-29 Thread Michael S. Tsirkin
On Sun, Nov 28, 2010 at 05:13:41PM -0600, Anthony Liguori wrote: On 11/28/2010 04:28 PM, Michael S. Tsirkin wrote: But rather need to use ugly factory functions with all sorts of DO_UPCAST. This is really unfriendly especially for writing test cases. Yes, I agree. Just moving memory

Re: [PATCH] vhost: fix typos in comment

2010-11-29 Thread Michael S. Tsirkin
On Mon, Nov 29, 2010 at 01:48:40PM +0800, Jason Wang wrote: Signed-off-by: Jason Wang jasow...@redhat.com Applied, thanks. --- drivers/vhost/net.c |2 +- drivers/vhost/vhost.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/vhost/net.c

Re: [PATCH] vhost: correctly set bits of dirty pages

2010-11-29 Thread Michael S. Tsirkin
On Mon, Nov 29, 2010 at 01:48:20PM +0800, Jason Wang wrote: When counting pages we should increase it by 1 instead of VHOST_PAGE_SIZE, and also make log_write() can correctly process the request across pages with write_address not start at page boundary. Signed-off-by: Jason Wang

Re: [PATCH] vhost: correctly set bits of dirty pages

2010-11-29 Thread Michael S. Tsirkin
On Mon, Nov 29, 2010 at 10:18:40AM +0200, Michael S. Tsirkin wrote: On Mon, Nov 29, 2010 at 01:48:20PM +0800, Jason Wang wrote: When counting pages we should increase it by 1 instead of VHOST_PAGE_SIZE, and also make log_write() can correctly process the request across pages with

Re: [PATCH] ceph/rbd block driver for qemu-kvm (v8)

2010-11-29 Thread Kevin Wolf
Am 27.11.2010 08:12, schrieb Stefan Hajnoczi: On Fri, Nov 26, 2010 at 9:59 PM, Christian Brunner c.m.brun...@gmail.com wrote: Thanks for the review. What am I supposed to do now? Kevin is the block maintainer. His review is the next step, I have CCed him. After that rbd would be ready to

Re: [PATCH kvm-unit-tests 2/4] Introduce a C++ wrapper for the kvm APIs

2010-11-29 Thread Avi Kivity
On 11/28/2010 06:57 PM, Michael S. Tsirkin wrote: sparce lets you solve C problems that C++ inherited as is. E.g. if you have a pointer you can always dereference it. It's the other way round. For example __user cannot be done in C. It has to be done as an add-on. In C++ it's

Re: [PATCH kvm-unit-tests 2/4] Introduce a C++ wrapper for the kvm APIs

2010-11-29 Thread Avi Kivity
On 11/28/2010 04:40 PM, Michael S. Tsirkin wrote: On Sun, Nov 28, 2010 at 03:14:17PM +0200, Avi Kivity wrote: On 11/28/2010 01:44 PM, Michael S. Tsirkin wrote: On Sun, Nov 28, 2010 at 11:54:26AM +0200, Avi Kivity wrote: On 11/28/2010 11:50 AM, Michael S. Tsirkin wrote:

Re: [PATCH kvm-unit-tests 2/4] Introduce a C++ wrapper for the kvm APIs

2010-11-29 Thread Avi Kivity
On 11/28/2010 04:49 PM, Michael S. Tsirkin wrote: On Sun, Nov 28, 2010 at 03:15:52PM +0200, Avi Kivity wrote: On 11/28/2010 01:49 PM, Michael S. Tsirkin wrote: +++ b/api/kvmxx.cc @@ -0,0 +1,168 @@ +#include kvmxx.h +#includefcntl.h +#includesys/ioctl.h

Re: [Qemu-devel] Re: [PATCH 13/21] dma-helpers: replace bdrv_aio_writev() with bdrv_aio_writev_proxy().

2010-11-29 Thread Kevin Wolf
Am 28.11.2010 12:55, schrieb Yoshiaki Tamura: 2010/11/28 Michael S. Tsirkin m...@redhat.com: On Thu, Nov 25, 2010 at 03:06:52PM +0900, Yoshiaki Tamura wrote: Replace bdrv_aio_writev() with bdrv_aio_writev_proxy() to let event-tap capture events from dma-helpers. Signed-off-by: Yoshiaki

Re: limiting guest block i/o for qos

2010-11-29 Thread Stefan Hajnoczi
On Mon, Nov 29, 2010 at 2:00 AM, T Johnson tjohnso...@gmail.com wrote: Hello, On Thu, Nov 25, 2010 at 3:33 AM, Nikola Ciprich extmaill...@linuxbox.cz wrote: Hello Thomas, I t hink blkio-cgroup really can't help You here, but since NFS is network protocol, why not just consider some kind

Re: [Qemu-devel] Re: [PATCH] ceph/rbd block driver for qemu-kvm (v8)

2010-11-29 Thread Kevin Wolf
Am 29.11.2010 09:59, schrieb Kevin Wolf: Am 27.11.2010 08:12, schrieb Stefan Hajnoczi: On Fri, Nov 26, 2010 at 9:59 PM, Christian Brunner c.m.brun...@gmail.com wrote: Thanks for the review. What am I supposed to do now? Kevin is the block maintainer. His review is the next step, I have

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-29 Thread Stefan Hajnoczi
On Sat, Nov 27, 2010 at 1:11 PM, Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote: 2010/11/27 Stefan Hajnoczi stefa...@gmail.com: On Sat, Nov 27, 2010 at 8:53 AM, Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote: 2010/11/27 Stefan Hajnoczi stefa...@gmail.com: On Sat, Nov 27, 2010 at

Re: [PATCHv6 00/16] boot order specification

2010-11-29 Thread Gerd Hoffmann
Hi, BTW are you actually aware of any option rom with multiple BCVs and, if yes, how those BCVs differ? Multiple BCVs - yes. A SCSI card will define a BCV for each attached drive. I don't have a scsi card myself, but the support was added by a user who ran into the problem first hand.

Re: [PATCH kvm-unit-tests 2/4] Introduce a C++ wrapper for the kvm APIs

2010-11-29 Thread Michael S. Tsirkin
On Mon, Nov 29, 2010 at 11:22:44AM +0200, Avi Kivity wrote: No need for an additional toolchain. It's a feature :) This way you are not forced to rewrite all code each time you realize you need an extra check, and checks can be added gradually without breaking build. You can see that

Re: [PATCHv6 00/16] boot order specification

2010-11-29 Thread Gerd Hoffmann
Hi, If scsi card has optionrom with only one bcv then Seabios can determine its boot order from device path, so why not provide user with this option today? It's unclear to me how SeaBIOS is supposed to do that. Try to keep track of which bcv/bev belongs to which pci device? It should

Re: [PATCH kvm-unit-tests 2/4] Introduce a C++ wrapper for the kvm APIs

2010-11-29 Thread Avi Kivity
On 11/29/2010 12:47 PM, Michael S. Tsirkin wrote: On Mon, Nov 29, 2010 at 11:22:44AM +0200, Avi Kivity wrote: No need for an additional toolchain. It's a feature :) This way you are not forced to rewrite all code each time you realize you need an extra check, and checks can be added

Re: [PATCH 09/21] Introduce event-tap.

2010-11-29 Thread Stefan Hajnoczi
On Thu, Nov 25, 2010 at 6:06 AM, Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote: event-tap controls when to start FT transaction, and provides proxy functions to called from net/block devices.  While FT transaction, it queues up net/block requests, and flush them when the transaction gets

Re: [PATCH kvm-unit-tests 2/4] Introduce a C++ wrapper for the kvm APIs

2010-11-29 Thread Michael S. Tsirkin
On Mon, Nov 29, 2010 at 12:52:29PM +0200, Avi Kivity wrote: The default is duplication. With C++ your default is tr1::unordered_map and you can optimize it later if you like. BTW not relevant to kvm, but for qemu, some people seem to care about building with an old migw compiler in Debian

Re: buildbot for kvm.git

2010-11-29 Thread Daniel Gollub
On Thursday, November 25, 2010 10:22:56 pm Avi Kivity wrote: I'm fine giving (personal) user accounts away for people who just ask for it. Or do you want to make this only available for a small (trusted) group? I think you can give accounts to kvm contributors (present in kvm.git commit

Re: [PATCHv6 00/16] boot order specification

2010-11-29 Thread Gleb Natapov
On Mon, Nov 29, 2010 at 11:19:29AM +0100, Gerd Hoffmann wrote: Hi, BTW are you actually aware of any option rom with multiple BCVs and, if yes, how those BCVs differ? Multiple BCVs - yes. A SCSI card will define a BCV for each attached drive. I don't have a scsi card myself, but the

Re: buildbot for kvm.git

2010-11-29 Thread Jan Kiszka
Am 29.11.2010 12:36, Daniel Gollub wrote: On Thursday, November 25, 2010 10:22:56 pm Avi Kivity wrote: I'm fine giving (personal) user accounts away for people who just ask for it. Or do you want to make this only available for a small (trusted) group? I think you can give accounts to kvm

Re: [Qemu-devel] Re: [PATCH 13/21] dma-helpers: replace bdrv_aio_writev() with bdrv_aio_writev_proxy().

2010-11-29 Thread Yoshiaki Tamura
2010/11/29 Kevin Wolf kw...@redhat.com: Am 28.11.2010 12:55, schrieb Yoshiaki Tamura: 2010/11/28 Michael S. Tsirkin m...@redhat.com: On Thu, Nov 25, 2010 at 03:06:52PM +0900, Yoshiaki Tamura wrote: Replace bdrv_aio_writev() with bdrv_aio_writev_proxy() to let event-tap capture events from

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-29 Thread Paul Brook
Could you formulate the constraints so developers are aware of them in the future and can protect the codebase. How about expanding the Kemari wiki pages? If you like the idea above, I'm happy to make the list also on the wiki page. Here's a different question: what requirements

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-29 Thread Yoshiaki Tamura
2010/11/29 Paul Brook p...@codesourcery.com: Could you formulate the constraints so developers are aware of them in the future and can protect the codebase.  How about expanding the Kemari wiki pages? If you like the idea above, I'm happy to make the list also on the wiki page.

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-29 Thread Paul Brook
2010/11/29 Paul Brook p...@codesourcery.com: Could you formulate the constraints so developers are aware of them in the future and can protect the codebase. How about expanding the Kemari wiki pages? If you like the idea above, I'm happy to make the list also on the wiki page.

Re: [PATCH kvm-unit-tests 2/4] Introduce a C++ wrapper for the kvm APIs

2010-11-29 Thread Anthony Liguori
On 11/29/2010 05:26 AM, Michael S. Tsirkin wrote: On Mon, Nov 29, 2010 at 12:52:29PM +0200, Avi Kivity wrote: The default is duplication. With C++ your default is tr1::unordered_map and you can optimize it later if you like. BTW not relevant to kvm, but for qemu, some people seem

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-29 Thread Yoshiaki Tamura
2010/11/29 Paul Brook p...@codesourcery.com: 2010/11/29 Paul Brook p...@codesourcery.com: Could you formulate the constraints so developers are aware of them in the future and can protect the codebase.  How about expanding the Kemari wiki pages? If you like the idea above, I'm

Re: [PATCH kvm-unit-tests 2/4] Introduce a C++ wrapper for the kvm APIs

2010-11-29 Thread Anthony Liguori
On 11/29/2010 02:04 AM, Michael S. Tsirkin wrote: On Sun, Nov 28, 2010 at 05:13:41PM -0600, Anthony Liguori wrote: On 11/28/2010 04:28 PM, Michael S. Tsirkin wrote: But rather need to use ugly factory functions with all sorts of DO_UPCAST. This is really unfriendly

Re: [PATCH kvm-unit-tests 2/4] Introduce a C++ wrapper for the kvm APIs

2010-11-29 Thread Avi Kivity
On 11/29/2010 03:44 PM, Anthony Liguori wrote: But really, let's defer this discussion for when patches are available. I understand your objections but I'm pretty convinced that the code will speak for itself when it's ready. It will, but everyone will hear something different. -- error

Re: [PATCH] vhost: correctly set bits of dirty pages

2010-11-29 Thread Jason Wang
Michael S. Tsirkin writes: On Mon, Nov 29, 2010 at 01:48:20PM +0800, Jason Wang wrote: When counting pages we should increase it by 1 instead of VHOST_PAGE_SIZE, and also make log_write() can correctly process the request across pages with write_address not start at page boundary.

[PATCH 0/1] Clean up page fault injection

2010-11-29 Thread Avi Kivity
Currently fault injection is somewhat confused with important information carried in the vcpu area where it has no place. This patch cleans it up. Gleb, Joerg, I'd appreciate review and testing of the apf and nnpt related changes. Goes on top of the previous 7-part emulator series. Also

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-29 Thread Paul Brook
To answer Stefan's question, there shouldn't be any requirement for a device, but must be tested with Kemari. If it doesn't work correctly, the problems must be fixed before adding to the list. What exactly are the problems? Is this a device bus of a Kemari bug? If it's the former

[PATCH 1/1] KVM: Pull extra page fault information into struct x86_exception

2010-11-29 Thread Avi Kivity
Currently page fault cr2 and nesting infomation are carried outside the fault data structure. Instead they are placed in the vcpu struct, which results in confusion as global variables are manipulated instead of passing parameters. Fix this issue by adding address and nested fields to struct

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-29 Thread Yoshiaki Tamura
2010/11/29 Paul Brook p...@codesourcery.com: To answer Stefan's question, there shouldn't be any requirement for a device, but must be tested with Kemari.  If it doesn't work correctly, the problems must be fixed before adding to the list. What exactly are the problems? Is this a device

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-29 Thread Paul Brook
If devices incorrectly claim support for live migration, then that should also be fixed, either by removing the broken code or by making it work. I totally agree with you. AFAICT your current proposal is just feeding back the results of some fairly specific QA testing. I'd rather not

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-29 Thread Yoshiaki Tamura
2010/11/29 Paul Brook p...@codesourcery.com: If devices incorrectly claim support for live migration, then that should also be fixed, either by removing the broken code or by making it work. I totally agree with you. AFAICT your current proposal is just feeding back the results of some

Re: [PATCH] qemu-kvm: remove unused setupcpuid

2010-11-29 Thread Marcelo Tosatti
On Tue, Nov 23, 2010 at 04:54:42PM +0200, Michael S. Tsirkin wrote: kvm_setup_cpuid seems unused, so remove it. Signed-off-by: Michael S. Tsirkin m...@redhat.com Applied, thanks. -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to

[PATCH 1/3] KVM: X86: Introduce generic guest-mode representation

2010-11-29 Thread Joerg Roedel
This patch introduces a generic representation of guest-mode fpr a vcpu. This currently only exists in the SVM code. Having this representation generic will help making the non-svm code aware of nesting when this is necessary. Signed-off-by: Joerg Roedel joerg.roe...@amd.com ---

[PATCH 3/3] KVM: X86: Don't report L2 emulation failures to user-space

2010-11-29 Thread Joerg Roedel
This patch prevents that emulation failures which result from emulating an instruction for an L2-Guest results in being reported to userspace. Without this patch a malicious L2-Guest would be able to kill the L1 by triggering a race-condition between an vmexit and the instruction emulator. With

[PATCH 2/3] KVM: SVM: Make Use of the generic guest-mode functions

2010-11-29 Thread Joerg Roedel
This patch replaces the is_nested logic in the SVM module with the generic notion of guest-mode. Signed-off-by: Joerg Roedel joerg.roe...@amd.com --- arch/x86/kvm/svm.c | 44 +--- 1 files changed, 21 insertions(+), 23 deletions(-) diff --git

[PATCH 0/3] KVM: Introduce VCPU-wide notion of guest-mode

2010-11-29 Thread Joerg Roedel
Hi Avi, Hi Marcelo, this patch-set introduces a generic notion of guest-mode for VCPUs in KVM. This is already useful as seen in patch 3/3. Nested-VMX also has a guest-mode, so it will make sense for this code too. Regards, Joerg As usual: arch/x86/include/asm/kvm_host.h |1 +

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-29 Thread Paul Brook
Sorry, I didn't get what you're trying to tell me. My plan would be to initially start from a subset of devices, and gradually grow the number of devices that Kemari works with. While this process, it'll include what you said above, file a but and/or fix the code. Am I missing what

Re: [PATCH 0/1] Clean up page fault injection

2010-11-29 Thread Roedel, Joerg
On Mon, Nov 29, 2010 at 09:12:29AM -0500, Avi Kivity wrote: Gleb, Joerg, I'd appreciate review and testing of the apf and nnpt related changes. I'll give it a test as soon as possible. Joerg -- AMD Operating System Research Center Advanced Micro Devices GmbH Einsteinring 24 85609

Re: [PATCH kvm-unit-tests 0/4] API test framework

2010-11-29 Thread Marcelo Tosatti
On Wed, Nov 24, 2010 at 12:52:09PM +0200, Avi Kivity wrote: This patchset adds an API test framework. Rather than driving kvm from qemu, we now have a way of calling the kvm API directly and observing the results. We can switch to guest mode and back at will and see any micro effects such as

Re: [PATCH 1/3] KVM: X86: Introduce generic guest-mode representation

2010-11-29 Thread Avi Kivity
On 11/29/2010 05:38 PM, Joerg Roedel wrote: This patch introduces a generic representation of guest-mode fpr a vcpu. This currently only exists in the SVM code. Having this representation generic will help making the non-svm code aware of nesting when this is necessary. +static inline void

Re: [PATCH 0/3] KVM: Introduce VCPU-wide notion of guest-mode

2010-11-29 Thread Avi Kivity
On 11/29/2010 05:38 PM, Joerg Roedel wrote: Hi Avi, Hi Marcelo, this patch-set introduces a generic notion of guest-mode for VCPUs in KVM. This is already useful as seen in patch 3/3. Nested-VMX also has a guest-mode, so it will make sense for this code too. Looks good, apart from the

buildbot failure in qemu-kvm on disable_kvm_x86_64_debian_5_0

2010-11-29 Thread qemu-kvm
The Buildbot has detected a new failure of disable_kvm_x86_64_debian_5_0 on qemu-kvm. Full details are available at: http://buildbot.b1-systems.de/qemu-kvm/builders/disable_kvm_x86_64_debian_5_0/builds/653 Buildbot URL: http://buildbot.b1-systems.de/qemu-kvm/ Buildslave for this Build:

buildbot failure in qemu-kvm on disable_kvm_i386_debian_5_0

2010-11-29 Thread qemu-kvm
The Buildbot has detected a new failure of disable_kvm_i386_debian_5_0 on qemu-kvm. Full details are available at: http://buildbot.b1-systems.de/qemu-kvm/builders/disable_kvm_i386_debian_5_0/builds/654 Buildbot URL: http://buildbot.b1-systems.de/qemu-kvm/ Buildslave for this Build:

buildbot failure in qemu-kvm on disable_kvm_x86_64_out_of_tree

2010-11-29 Thread qemu-kvm
The Buildbot has detected a new failure of disable_kvm_x86_64_out_of_tree on qemu-kvm. Full details are available at: http://buildbot.b1-systems.de/qemu-kvm/builders/disable_kvm_x86_64_out_of_tree/builds/602 Buildbot URL: http://buildbot.b1-systems.de/qemu-kvm/ Buildslave for this Build:

buildbot failure in qemu-kvm on disable_kvm_i386_out_of_tree

2010-11-29 Thread qemu-kvm
The Buildbot has detected a new failure of disable_kvm_i386_out_of_tree on qemu-kvm. Full details are available at: http://buildbot.b1-systems.de/qemu-kvm/builders/disable_kvm_i386_out_of_tree/builds/602 Buildbot URL: http://buildbot.b1-systems.de/qemu-kvm/ Buildslave for this Build:

buildbot failure in qemu-kvm on default_x86_64_debian_5_0

2010-11-29 Thread qemu-kvm
The Buildbot has detected a new failure of default_x86_64_debian_5_0 on qemu-kvm. Full details are available at: http://buildbot.b1-systems.de/qemu-kvm/builders/default_x86_64_debian_5_0/builds/663 Buildbot URL: http://buildbot.b1-systems.de/qemu-kvm/ Buildslave for this Build: b1_qemu_kvm_1

buildbot failure in qemu-kvm on default_x86_64_out_of_tree

2010-11-29 Thread qemu-kvm
The Buildbot has detected a new failure of default_x86_64_out_of_tree on qemu-kvm. Full details are available at: http://buildbot.b1-systems.de/qemu-kvm/builders/default_x86_64_out_of_tree/builds/604 Buildbot URL: http://buildbot.b1-systems.de/qemu-kvm/ Buildslave for this Build:

buildbot failure in qemu-kvm on default_i386_debian_5_0

2010-11-29 Thread qemu-kvm
The Buildbot has detected a new failure of default_i386_debian_5_0 on qemu-kvm. Full details are available at: http://buildbot.b1-systems.de/qemu-kvm/builders/default_i386_debian_5_0/builds/665 Buildbot URL: http://buildbot.b1-systems.de/qemu-kvm/ Buildslave for this Build: b1_qemu_kvm_2

buildbot failure in qemu-kvm on default_i386_out_of_tree

2010-11-29 Thread qemu-kvm
The Buildbot has detected a new failure of default_i386_out_of_tree on qemu-kvm. Full details are available at: http://buildbot.b1-systems.de/qemu-kvm/builders/default_i386_out_of_tree/builds/602 Buildbot URL: http://buildbot.b1-systems.de/qemu-kvm/ Buildslave for this Build: b1_qemu_kvm_2

[ kvm-Bugs-2905358 ] Doesn't support MS-DOS compatibility FPU mode

2010-11-29 Thread SourceForge.net
Bugs item #2905358, was opened at 2009-11-28 16:37 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2905358group_id=180599 Please note that this message will contain a full copy of the comment

[PATCH] Don't spam trace report about missing fields

2010-11-29 Thread Avi Kivity
Instead of spamming the output with complaints about missing fields, simply return an error to the caller, which can print something out or do something more intelligent about them. Fixes kvm plugin tracing older kernels. Signed-off-by: Avi Kivity a...@redhat.com --- parse-events.c | 15

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-29 Thread Stefan Hajnoczi
On Mon, Nov 29, 2010 at 3:00 PM, Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote: 2010/11/29 Paul Brook p...@codesourcery.com: If devices incorrectly claim support for live migration, then that should also be fixed, either by removing the broken code or by making it work. I totally

Re: [PATCH 0/3] KVM: Introduce VCPU-wide notion of guest-mode

2010-11-29 Thread Roedel, Joerg
On Mon, Nov 29, 2010 at 11:10:59AM -0500, Avi Kivity wrote: On 11/29/2010 05:38 PM, Joerg Roedel wrote: Hi Avi, Hi Marcelo, this patch-set introduces a generic notion of guest-mode for VCPUs in KVM. This is already useful as seen in patch 3/3. Nested-VMX also has a guest-mode, so it

Re: [PATCH 1/1] KVM: Pull extra page fault information into struct x86_exception

2010-11-29 Thread Roedel, Joerg
On Mon, Nov 29, 2010 at 09:12:30AM -0500, Avi Kivity wrote: Currently page fault cr2 and nesting infomation are carried outside the fault data structure. Instead they are placed in the vcpu struct, which results in confusion as global variables are manipulated instead of passing parameters.

Re: [PATCH] Don't spam trace report about missing fields

2010-11-29 Thread Steven Rostedt
On Mon, 2010-11-29 at 18:20 +0200, Avi Kivity wrote: Instead of spamming the output with complaints about missing fields, simply return an error to the caller, which can print something out or do something more intelligent about them. Fixes kvm plugin tracing older kernels. Hmm, what about

Re: linux-next: Tree for November 22 (kvm)

2010-11-29 Thread Randy Dunlap
On Mon, 22 Nov 2010 13:26:27 -0800 Randy Dunlap wrote: On Mon, 22 Nov 2010 13:49:11 +1100 Stephen Rothwell wrote: Hi all, Changes since 20101119: kvm.c:(.init.text+0x11f49): undefined reference to `kvm_register_clock' when CONFIG_KVM_CLOCK is not enabled. BUild error still

Re: linux-next: Tree for November 22 (kvm)

2010-11-29 Thread Avi Kivity
On 11/29/2010 06:33 PM, Randy Dunlap wrote: On Mon, 22 Nov 2010 13:26:27 -0800 Randy Dunlap wrote: On Mon, 22 Nov 2010 13:49:11 +1100 Stephen Rothwell wrote: Hi all, Changes since 20101119: kvm.c:(.init.text+0x11f49): undefined reference to `kvm_register_clock' when

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-29 Thread Dor Laor
On 11/29/2010 06:23 PM, Stefan Hajnoczi wrote: On Mon, Nov 29, 2010 at 3:00 PM, Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote: 2010/11/29 Paul Brookp...@codesourcery.com: If devices incorrectly claim support for live migration, then that should also be fixed, either by removing the

[PATCH 1/3] KVM: X86: Introduce generic guest-mode representation

2010-11-29 Thread Joerg Roedel
This patch introduces a generic representation of guest-mode fpr a vcpu. This currently only exists in the SVM code. Having this representation generic will help making the non-svm code aware of nesting when this is necessary. Signed-off-by: Joerg Roedel joerg.roe...@amd.com ---

[PATCH 3/3] KVM: X86: Don't report L2 emulation failures to user-space

2010-11-29 Thread Joerg Roedel
This patch prevents that emulation failures which result from emulating an instruction for an L2-Guest results in being reported to userspace. Without this patch a malicious L2-Guest would be able to kill the L1 by triggering a race-condition between an vmexit and the instruction emulator. With

[PATCH 0/3] KVM: Introduce VCPU-wide notion of guest-mode V2

2010-11-29 Thread Joerg Roedel
Hi Avi, Hi Marcelo, here is the re-spin I promised. The change to V1 are essentially the renames: kvm_vcpu_enter_gm - enter_guest_mode kvm_vcpu_leave_gm - leave_guest_mode kvm_vcpu_is_gm- is_guest_mode No other changes are in this patch-set compared to V1. Regards,

[PATCH 2/3] KVM: SVM: Make Use of the generic guest-mode functions

2010-11-29 Thread Joerg Roedel
This patch replaces the is_nested logic in the SVM module with the generic notion of guest-mode. Signed-off-by: Joerg Roedel joerg.roe...@amd.com --- arch/x86/kvm/svm.c | 44 +--- 1 files changed, 21 insertions(+), 23 deletions(-) diff --git

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-29 Thread Paul Brook
Is this a fair summary: any device that supports live migration workw under Kemari? It might be fair summary but practically we barely have live migration working w/o Kemari. In addition, last I checked Kemari needs additional hooks and it will be too hard to keep that out of tree until

[PATCH 0/2] tools/virtio: virtio_ring testing tool

2010-11-29 Thread Michael S. Tsirkin
This implements a virtio simulator: - adds stubs for enough support functions to compile virtio ring in userspace. - Adds a stub vhost based module this can talk to. This should help us decide things like which ring layout works best. Communication is currently done using an eventfd

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-29 Thread Anthony Liguori
On 11/29/2010 10:53 AM, Paul Brook wrote: Is this a fair summary: any device that supports live migration workw under Kemari? It might be fair summary but practically we barely have live migration working w/o Kemari. In addition, last I checked Kemari needs additional hooks and it will

[PATCH 1/2] vhost test module

2010-11-29 Thread Michael S. Tsirkin
This adds a test module for vhost infrastructure. Intentionally not tied to kbuild to prevent people from installing and loading it accidentally. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- diff --git a/drivers/vhost/test.c b/drivers/vhost/test.c new file mode 100644 index

[PATCH 2/2] tools/virtio: virtio_test tool

2010-11-29 Thread Michael S. Tsirkin
This is the userspace part of the tool: it includes a bunch of stubs for linux APIs, somewhat simular to linuxsched. This makes it possible to recompile the ring code in userspace. A small test example is implemented combining this with vhost_test module. Signed-off-by: Michael S. Tsirkin

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-29 Thread Paul Brook
On 11/29/2010 10:53 AM, Paul Brook wrote: Is this a fair summary: any device that supports live migration workw under Kemari? It might be fair summary but practically we barely have live migration working w/o Kemari. In addition, last I checked Kemari needs additional hooks and it

Re: [PATCH] Don't spam trace report about missing fields

2010-11-29 Thread Avi Kivity
On 11/29/2010 06:26 PM, Steven Rostedt wrote: On Mon, 2010-11-29 at 18:20 +0200, Avi Kivity wrote: Instead of spamming the output with complaints about missing fields, simply return an error to the caller, which can print something out or do something more intelligent about them. Fixes

Re: [PATCH 0/9] KVM: Make the instruction emulator aware of Nested Virtualization

2010-11-29 Thread Valdis . Kletnieks
(Sorry for late reply...) On Thu, 25 Nov 2010 17:23:13 +0100, Roedel, Joerg said: On Thu, Nov 25, 2010 at 10:17:53AM -0500, Avi Kivity wrote: On 11/25/2010 03:13 PM, Roedel, Joerg wrote: What about things like adding instructions and forgetting to add the corresponding svm.c code? Cannot

[PATCH trace-cmd] kvm: don't warn on new fields

2010-11-29 Thread Avi Kivity
The kvm plugin understands a few new fields; don't warn if they are missing, as expected on older kernels. Signed-off-by: Avi Kivity a...@redhat.com --- plugin_kvm.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin_kvm.c b/plugin_kvm.c index c1cb2e4..8115235

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-29 Thread Anthony Liguori
On 11/29/2010 11:18 AM, Paul Brook wrote: On 11/29/2010 10:53 AM, Paul Brook wrote: Is this a fair summary: any device that supports live migration workw under Kemari? It might be fair summary but practically we barely have live migration working w/o Kemari. In addition, last

Re: linux-next: Tree for November 22 (kvm)

2010-11-29 Thread Zachary Amsden
On 11/29/2010 06:35 AM, Avi Kivity wrote: On 11/29/2010 06:33 PM, Randy Dunlap wrote: On Mon, 22 Nov 2010 13:26:27 -0800 Randy Dunlap wrote: On Mon, 22 Nov 2010 13:49:11 +1100 Stephen Rothwell wrote: Hi all, Changes since 20101119: kvm.c:(.init.text+0x11f49): undefined reference

Re: linux-next: Tree for November 22 (kvm)

2010-11-29 Thread Randy Dunlap
On 11/29/10 09:47, Zachary Amsden wrote: On 11/29/2010 06:35 AM, Avi Kivity wrote: On 11/29/2010 06:33 PM, Randy Dunlap wrote: On Mon, 22 Nov 2010 13:26:27 -0800 Randy Dunlap wrote: On Mon, 22 Nov 2010 13:49:11 +1100 Stephen Rothwell wrote: Hi all, Changes since 20101119:

Re: linux-next: Tree for November 22 (kvm)

2010-11-29 Thread Zachary Amsden
On 11/29/2010 07:52 AM, Randy Dunlap wrote: On 11/29/10 09:47, Zachary Amsden wrote: On 11/29/2010 06:35 AM, Avi Kivity wrote: On 11/29/2010 06:33 PM, Randy Dunlap wrote: On Mon, 22 Nov 2010 13:26:27 -0800 Randy Dunlap wrote: On Mon, 22 Nov 2010 13:49:11 +1100

Transcendent Memory and KVM

2010-11-29 Thread Dan Magenheimer
At the 2010 Linux Plumber's Conference Virtualization Mini-Conference earlier this month, I did a presentation about physical memory utilization and Transcendent Memory (tmem). I mentioned that I am developing an in-kernel version of tmem that might be suitable, with small modifications, for use

Re: [PATCH 0/9] KVM: Make the instruction emulator aware of Nested Virtualization

2010-11-29 Thread Joerg Roedel
On Mon, Nov 29, 2010 at 12:23:38PM -0500, valdis.kletni...@vt.edu wrote: (Sorry for late reply...) On Thu, 25 Nov 2010 17:23:13 +0100, Roedel, Joerg said: On Thu, Nov 25, 2010 at 10:17:53AM -0500, Avi Kivity wrote: On 11/25/2010 03:13 PM, Roedel, Joerg wrote: What about things like

Re: linux-next: Tree for November 22 (kvm)

2010-11-29 Thread Randy Dunlap
On 11/29/10 10:08, Zachary Amsden wrote: On 11/29/2010 07:52 AM, Randy Dunlap wrote: On 11/29/10 09:47, Zachary Amsden wrote: On 11/29/2010 06:35 AM, Avi Kivity wrote: On 11/29/2010 06:33 PM, Randy Dunlap wrote: On Mon, 22 Nov 2010 13:26:27 -0800 Randy Dunlap wrote:

Re: buildbot for kvm.git

2010-11-29 Thread Daniel Gollub
On Tuesday, November 30, 2010 01:20:17 am Jan Kiszka wrote: Unfortunately we're running (in meanwhile) an old version of buildbot as buildbot-master (0.7.8, as shipped by Debian 5). Last time I checked (quite a few moons ago, though), that version contained an unfixed security issue. I

Re: [Qemu-devel] Re: [PATCH] ceph/rbd block driver for qemu-kvm (v8)

2010-11-29 Thread Yehuda Sadeh Weinraub
On Mon, 2010-11-29 at 11:02 +0100, Kevin Wolf wrote: Am 29.11.2010 09:59, schrieb Kevin Wolf: Am 27.11.2010 08:12, schrieb Stefan Hajnoczi: On Fri, Nov 26, 2010 at 9:59 PM, Christian Brunner c.m.brun...@gmail.com wrote: Thanks for the review. What am I supposed to do now? Kevin is the

Re: [PATCH 0/9] KVM: Make the instruction emulator aware of Nested Virtualization

2010-11-29 Thread Valdis . Kletnieks
On Mon, 29 Nov 2010 19:32:12 +0100, Joerg Roedel said: On Mon, Nov 29, 2010 at 12:23:38PM -0500, valdis.kletni...@vt.edu wrote: (Sorry for late reply...) On Thu, 25 Nov 2010 17:23:13 +0100, Roedel, Joerg said: On Thu, Nov 25, 2010 at 10:17:53AM -0500, Avi Kivity wrote: On 11/25/2010

Re: [PATCH trace-cmd] kvm: don't warn on new fields

2010-11-29 Thread Steven Rostedt
On Mon, 2010-11-29 at 19:25 +0200, Avi Kivity wrote: The kvm plugin understands a few new fields; don't warn if they are missing, as expected on older kernels. Signed-off-by: Avi Kivity a...@redhat.com --- plugin_kvm.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)

Re: limiting guest block i/o for qos

2010-11-29 Thread T Johnson
On Mon, Nov 29, 2010 at 4:58 AM, Stefan Hajnoczi stefa...@gmail.com wrote: On Mon, Nov 29, 2010 at 2:00 AM, T Johnson tjohnso...@gmail.com wrote: Hello, On Thu, Nov 25, 2010 at 3:33 AM, Nikola Ciprich extmaill...@linuxbox.cz wrote: Hello Thomas, I t hink blkio-cgroup really can't help You

Re: [PATCH 09/21] Introduce event-tap.

2010-11-29 Thread Marcelo Tosatti
On Thu, Nov 25, 2010 at 03:06:48PM +0900, Yoshiaki Tamura wrote: event-tap controls when to start FT transaction, and provides proxy functions to called from net/block devices. While FT transaction, it queues up net/block requests, and flush them when the transaction gets completed.

Re: [PATCHv6 00/16] boot order specification

2010-11-29 Thread Kevin O'Connor
On Sun, Nov 28, 2010 at 08:47:34PM +0200, Gleb Natapov wrote: On Sun, Nov 28, 2010 at 12:15:44PM -0500, Kevin O'Connor wrote: It's unclear to me how SeaBIOS is supposed to do that. Suppose we have /p...@i0cf8/s...@3/d...@0,0 with boot index 5 in boot devices list and suppose pci device in

Re: [PATCHv6 00/16] boot order specification

2010-11-29 Thread Kevin O'Connor
On Mon, Nov 29, 2010 at 11:50:45AM +0100, Gerd Hoffmann wrote: If scsi card has optionrom with only one bcv then Seabios can determine its boot order from device path, so why not provide user with this option today? It's unclear to me how SeaBIOS is supposed to do that. Try to keep track of

Agenda for November 30

2010-11-29 Thread Juan Quintela
Please send any agenda items you are interested in covering. As I forgot to put the call for agenda befor, Anthony already suggested: - 2011 kvm conference - 0.14.0 release plan - infrastructure changes (irc channel migration, git tree migration) thanks, Juan. -- To unsubscribe from this list:

[ kvm-Bugs-2493108 ] Win2k problems on some (not all) Intel hosts

2010-11-29 Thread SourceForge.net
Bugs item #2493108, was opened at 2009-01-08 12:53 Message generated for change (Comment added) made by kmshanah You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2493108group_id=180599 Please note that this message will contain a full copy of the comment

[ kvm-Bugs-2494730 ] Guests stalling on kvm-82 / Linux 2.6.28

2010-11-29 Thread SourceForge.net
Bugs item #2494730, was opened at 2009-01-09 09:59 Message generated for change (Comment added) made by kmshanah You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2494730group_id=180599 Please note that this message will contain a full copy of the comment

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-29 Thread Yoshiaki Tamura
2010/11/30 Dor Laor dl...@redhat.com: On 11/29/2010 06:23 PM, Stefan Hajnoczi wrote: On Mon, Nov 29, 2010 at 3:00 PM, Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp  wrote: 2010/11/29 Paul Brookp...@codesourcery.com: If devices incorrectly claim support for live migration, then that should

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-29 Thread Yoshiaki Tamura
2010/11/30 Anthony Liguori anth...@codemonkey.ws: On 11/29/2010 10:53 AM, Paul Brook wrote: Is this a fair summary: any device that supports live migration workw under Kemari? It might be fair summary but practically we barely have live migration working w/o Kemari. In addition, last I

[ kvm-Bugs-2493108 ] Win2k problems on some (not all) Intel hosts

2010-11-29 Thread SourceForge.net
Bugs item #2493108, was opened at 2009-01-08 03:23 Message generated for change (Comment added) made by jessorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2493108group_id=180599 Please note that this message will contain a full copy of the comment