[COMMIT] [WIN-GUEST-DRIVERS] NetKVM - add ability to compile specificly for Windows 7.

2010-02-11 Thread Yan Vugenfirer
repository: C:/dev/kvm-guest-drivers-windows branch: master commit 7ce273108e7dd47eca54e55cfd85121c2dbb67dd Author: Yan Vugenfirer yvuge...@redhat.com Date: Thu Feb 11 16:04:37 2010 +0200 [WIN-GUEST-DRIVERS] NetKVM - add ability to compile specificly for Windows 7.

[COMMIT] [WIN-GUEST-DRIVERS] viostore - add ability to compile specifically for Windows 7

2010-02-11 Thread Yan Vugenfirer
repository: C:/dev/kvm-guest-drivers-windows branch: master commit 5a045921f6d2c1062eeffecb9134aba169950de5 Author: Yan Vugenfirer yvuge...@redhat.com Date: Thu Feb 11 17:09:00 2010 +0200 [WIN-GUEST-DRIVERS] viostore - add ability to compile specifically for Windows 7

[COMMIT] [WIN-GUEST-DRIVERS] viostore - remove redundant Visual Studio files.

2010-02-11 Thread Yan Vugenfirer
repository: C:/dev/kvm-guest-drivers-windows branch: master commit 8e90ba4193ea61689eec2158b570e1c1c0c7e9bc Author: Yan Vugenfirer yvuge...@redhat.com Date: Thu Feb 11 17:26:58 2010 +0200 [WIN-GUEST-DRIVERS] viostore - remove redundant Visual Studio files.

Re: qemu-kvm-0.12.2 hangs when booting grub, when kvm is disabled

2010-02-11 Thread Jacques Landru
Hi, Same problem here qemu-kvm-0.12.x hangs if I have at the same time -no-kvm and file=essai-slitaz.raw,if=ide,index=0,boot=on sometime with the message below but qemu-kvm with -no-kvm and without boot=on option for the file parameter, works qemu-kvm with boot=on option and kvm

RE: [PATCH 0/3] Provide a zero-copy method on KVM virtio-net.

2010-02-11 Thread Xin, Xiaohui
Will be in a vacation during 2/13~2/20, so email may be very slow or no replied for your comments. But please don't hesitate to comment more, and I will address them after the vacation. :-) Thanks Xiaohui -Original Message- From: kvm-ow...@vger.kernel.org

Re: [PATCH] KVM: x86 emulator: code style cleanup

2010-02-11 Thread Gleb Natapov
On Thu, Feb 11, 2010 at 11:12:07AM +0800, Wei Yongjun wrote: Just remove redundant semicolon. Signed-off-by: Wei Yongjun yj...@cn.fujitsu.com --- arch/x86/kvm/emulate.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kvm/emulate.c

Re: [PATCH] KVM: x86 emulator: code style cleanup

2010-02-11 Thread Avi Kivity
On 02/11/2010 12:00 PM, Gleb Natapov wrote: On Thu, Feb 11, 2010 at 11:12:07AM +0800, Wei Yongjun wrote: Just remove redundant semicolon. Signed-off-by: Wei Yongjunyj...@cn.fujitsu.com --- arch/x86/kvm/emulate.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [PATCH] KVM: x86 emulator: code style cleanup

2010-02-11 Thread Avi Kivity
On 02/11/2010 05:12 AM, Wei Yongjun wrote: Just remove redundant semicolon. Applied, thanks. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH] KVM: x86 emulator: code style cleanup

2010-02-11 Thread Gleb Natapov
On Thu, Feb 11, 2010 at 12:03:18PM +0200, Avi Kivity wrote: On 02/11/2010 12:00 PM, Gleb Natapov wrote: On Thu, Feb 11, 2010 at 11:12:07AM +0800, Wei Yongjun wrote: Just remove redundant semicolon. Signed-off-by: Wei Yongjunyj...@cn.fujitsu.com --- arch/x86/kvm/emulate.c |2 +- 1

Re: [PATCH] KVM: x86 emulator: code style cleanup

2010-02-11 Thread Avi Kivity
On 02/11/2010 12:06 PM, Gleb Natapov wrote: On Thu, Feb 11, 2010 at 12:03:18PM +0200, Avi Kivity wrote: On 02/11/2010 12:00 PM, Gleb Natapov wrote: On Thu, Feb 11, 2010 at 11:12:07AM +0800, Wei Yongjun wrote: Just remove redundant semicolon. Signed-off-by: Wei

[ kvm-Bugs-2949622 ] kvm - dmi rembo error on guest

2010-02-11 Thread SourceForge.net
Bugs item #2949622, was opened at 2010-02-11 11:12 Message generated for change (Tracker Item Submitted) made by jden44 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2949622group_id=180599 Please note that this message will contain a full copy of the

[ kvm-Bugs-2949622 ] kvm - dmi rembo error on guest

2010-02-11 Thread SourceForge.net
Bugs item #2949622, was opened at 2010-02-11 11:12 Message generated for change (Settings changed) made by jden44 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2949622group_id=180599 Please note that this message will contain a full copy of the comment

Re: [PATCH/RFC] KVM: Plan obsolescence of kernel allocated slots, paravirt mmu

2010-02-11 Thread Avi Kivity
On 01/27/2010 07:23 PM, Marcelo Tosatti wrote: +What: KVM memory aliases support +When: July 2010 +Why: Memory aliasing support is used for speeding up guest vga access + through the vga windows. + + Modern userspace no longer uses this feature,

[PATCH] KVM: Fix properties of instructions in group 1_82

2010-02-11 Thread Gleb Natapov
Instructions with opcode 82 are not valid in 64bit mode and can be locked. Signed-off-by: Gleb Natapov g...@redhat.com diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index f7bb5ef..741b0be 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -310,10 +310,14 @@ static

Re: [PATCH] KVM: Fix properties of instructions in group 1_82

2010-02-11 Thread Avi Kivity
On 02/11/2010 12:41 PM, Gleb Natapov wrote: Instructions with opcode 82 are not valid in 64bit mode and can be locked. Applied, thanks. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message

KVM source code

2010-02-11 Thread Puja Gupta
Hello friends , Can anyone tell me where to get kvm source code from and how to compile it using make. -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: KVM source code

2010-02-11 Thread sudhir kumar
On Thu, Feb 11, 2010 at 4:44 PM, Puja Gupta pmgupta@gmail.com wrote: Hello friends ,           Can anyone tell me where to get kvm source code from and how to compile it using make. I think you do not like google :) The very first search kvm code gives this

[PATCH] KVM: inject #UD in 64bit mode from instruction that are not valid there

2010-02-11 Thread Gleb Natapov
Some instruction are obsolete in a long mode. Inject #UD. diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index 595c989..20e10a7 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -1015,11 +1015,6 @@ done_prefixes: } } - if (mode ==

Re: [PATCH 1/3] qemu-kvm: Wrap phys_ram_dirty with additional inline functions.

2010-02-11 Thread Avi Kivity
On 02/08/2010 12:22 PM, OHMURA Kei wrote: We think access phys_ram_dirty through inline functions is better than directly for encoupseling reason. We devided the ram in a 64 pages block. Each block has a counter, which is stored in phys_ram_dirty_by_word. It shows the number of dirty pages.

[PATCH] KVM: inject #UD in 64bit mode from instruction that are not valid there

2010-02-11 Thread Gleb Natapov
Some instruction are obsolete in a long mode. Inject #UD. Signed-off-by: Gleb Natapov g...@redhat.com --- Resend with SOB. Sorry. diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index 595c989..20e10a7 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -1015,11

Re: [PATCH 0/3] Provide a zero-copy method on KVM virtio-net.

2010-02-11 Thread Arnd Bergmann
On Thursday 11 February 2010, Xin, Xiaohui wrote: This does a lot of things that I had planned for macvtap. It's great to hear that you have made this much progress. However, I'd hope that we could combine this with the macvtap driver, which would give us zero-copy transfer capability both

[Autotest] [PATCH] KVM test: Memory ballooning test for KVM guest

2010-02-11 Thread pradeep
Hi This path tests Memory ballooning functionality of a KVM guest. Create a guest. Boot the guest with -balloon virtio Try to increase/decrease the memory from qemu monitor and verify the changes. Please find the attached patch. Thanks Pradeep Signed-off-by: Pradeep Kumar Surisetty

Re: [Qemu-devel] [PATCH v2] qemu-img: Fix qemu-img can't create qcow image based on read-only image

2010-02-11 Thread Naphtali Sprei
Anthony Liguori wrote: On 01/28/2010 08:15 PM, Sheng Yang wrote: Commit 03cbdac7 Disable fall-back to read-only when cannot open drive's file for read-write result in read-only image can't be used as backed image in qemu-img. Cc: Naphtali Spreinsp...@redhat.com Signed-off-by: Sheng

Re: [Qemu-devel] [PATCH v2] qemu-img: Fix qemu-img can't create qcow image based on read-only image

2010-02-11 Thread Anthony Liguori
On 02/11/2010 11:21 AM, Naphtali Sprei wrote: Anthony Liguori wrote: On 01/28/2010 08:15 PM, Sheng Yang wrote: Commit 03cbdac7 Disable fall-back to read-only when cannot open drive's file for read-write result in read-only image can't be used as backed image in qemu-img. Cc:

[PATCH] virtio-spec: document MSI-X

2010-02-11 Thread Michael S. Tsirkin
This documents MSI-X support in virtio. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- virtio-spec.lyx | 358 +++ 1 files changed, 332 insertions(+), 26 deletions(-) diff --git a/virtio-spec.lyx b/virtio-spec.lyx index

[Autotest] [PATCH] KVM test: Memory ballooning test for KVM guest

2010-02-11 Thread pradeep
Hi This path tests Memory ballooning functionality of a KVM guest. Create a guest. Boot the guest with -balloon virtio Try to increase/decrease the memory from qemu monitor and verify the changes. Please find the attached patch. Thanks Pradeep Signed-off-by: Pradeep Kumar Surisetty

Re: [Autotest] [PATCH] KVM test: Memory ballooning test for KVM guest

2010-02-11 Thread Lucas Meneghel Rodrigues
On Thu, 2010-02-11 at 22:59 +0530, pradeep wrote: Hi This path tests Memory ballooning functionality of a KVM guest. Create a guest. Boot the guest with -balloon virtio Try to increase/decrease the memory from qemu monitor and verify the changes. Please find the attached

[PATCH] KVM test: Make unattended script to clean up on failures

2010-02-11 Thread Lucas Meneghel Rodrigues
Do better exception handling at the unattended script, so it cleans up appropriately on failures. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/scripts/unattended.py | 168 +--- 1 files changed, 89 insertions(+), 79 deletions(-) diff

[PATCH] KVM test: Modifying finish.exe to support parallel installs

2010-02-11 Thread Lucas Meneghel Rodrigues
In order to adapt all the OS unattended installs to parallel installs, finish.exe also had to be adapted to be a server instead of a client. These are the modifications needed. Once the whole patchset is worked out, an updated version of finish.exe will be shipped on version control.

Re: [PATCH v2 1/8] KVM: Fix load_guest_segment_descriptor() to inject page fault

2010-02-11 Thread Takuya Yoshikawa
Sorry for being late to reply. Japan was a holiday yesterday. Avi Kivity wrote: On 02/10/2010 03:50 AM, Takuya Yoshikawa wrote: This patch injects page fault when reading descriptor in load_guest_segment_descriptor() fails with FAULT. Effects of this injection: This function is used by

Re: [PATCH v2 1/8] KVM: Fix load_guest_segment_descriptor() to inject page fault

2010-02-11 Thread Takuya Yoshikawa
Gleb Natapov wrote: On Wed, Feb 10, 2010 at 06:25:42PM +0200, Avi Kivity wrote: On 02/10/2010 03:50 AM, Takuya Yoshikawa wrote: This patch injects page fault when reading descriptor in load_guest_segment_descriptor() fails with FAULT. Effects of this injection: This function is used by

Re: [PATCH v2 1/8] KVM: Fix load_guest_segment_descriptor() to inject page fault

2010-02-11 Thread Takuya Yoshikawa
Marcelo Tosatti wrote: On Wed, Feb 10, 2010 at 06:25:42PM +0200, Avi Kivity wrote: On 02/10/2010 03:50 AM, Takuya Yoshikawa wrote: This patch injects page fault when reading descriptor in load_guest_segment_descriptor() fails with FAULT. Effects of this injection: This function is used by

Re: [PATCH v2 0/8] Fix x86 emulator's fault propagations

2010-02-11 Thread Takuya Yoshikawa
Gleb Natapov wrote: On Wed, Feb 10, 2010 at 10:45:41AM +0900, Takuya Yoshikawa wrote: My motivation: What I want to achive by this work is to make the basic style of x86 emulator better for the following developments. Actually unless we handle the fault properly, our works implementing each

Re: [PATCH v2 0/8] Fix x86 emulator's fault propagations

2010-02-11 Thread Takuya Yoshikawa
Gleb Natapov wrote: On Wed, Feb 10, 2010 at 06:57:05PM +0200, Avi Kivity wrote: Patches 2-8 look fine, but I'd like Gleb to review them as well. I will do, but I already see that they need to be rebased onto the latest master. -- Gleb. Thank you! I will rebase my

Re: [PATCH v2] qemu-kvm: Speed up of the dirty-bitmap-traveling

2010-02-11 Thread OHMURA Kei
On 02/11/2010 Anthony Liguori anth...@codemonkey.ws wrote: Oh, I see what's happening here. Yes, I think a leul_to_cpu() makes more sense. Maybe I'm missing something here. I couldn't find leul_to_cpu(), so have defined it in bswap.h. Correct? --- a/bswap.h +++ b/bswap.h @@ -205,8 +205,10 @@

Re: [PATCH 1/3] qemu-kvm: Wrap phys_ram_dirty with additional inline functions.

2010-02-11 Thread OHMURA Kei
Why do you need a counter? It may be sufficient to set a single bit. This reduces the memory overhead and perhaps cache thrashing. Thanks for looking into this. I agree with your opinion. Our motivation here is to skip traveling when the dirty bitmap is really sparse or dense, so either

[ kvm-Bugs-2950307 ] Linux not reboot when -no-kvm is used.

2010-02-11 Thread SourceForge.net
Bugs item #2950307, was opened at 2010-02-12 02:29 Message generated for change (Tracker Item Submitted) made by djgera You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2950307group_id=180599 Please note that this message will contain a full copy of the

[PATCH v3 0/4] KVM: rework of Fix x86 emulator's fault propagations

2010-02-11 Thread Takuya Yoshikawa
This is the rework of Fix x86 emulator's fault propagations. -- http://www.spinics.net/lists/kvm/msg28874.html I read the review comments from Avi, Marcelo and Gleb and removed some parts which should be done with more care: descriptor related part and emulator_sys* part. Now the contents is

[PATCH v3 1/4] KVM: X86EMUL macro replacements: from do_fetch_insn_byte() to x86_decode_insn()

2010-02-11 Thread Takuya Yoshikawa
This patch just replaces the integer values used inside x86's decode functions to X86EMUL_*. By this patch, it becomes clearer that we are using X86EMUL_* value propagated from ops-read_std() in do_fetch_insn_byte(). Signed-off-by: Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp ---

[PATCH v3 2/4] KVM: X86EMUL macro replacements: x86_emulate_insn() and its helpers

2010-02-11 Thread Takuya Yoshikawa
This patch just replaces integer values used inside x86_emulate_insn() and its helper functions to X86EMUL_*. The purpose of this is to make it clear what will happen when the variable rc is compared to X86EMUL_* at the end of x86_emulate_insn(). Signed-off-by: Takuya Yoshikawa

[PATCH v3 3/4] KVM: Fix x86_emulate_insn() not to use the variable rc for non-X86EMUL values

2010-02-11 Thread Takuya Yoshikawa
This patch makes non-X86EMUL_* family functions not to use the variable rc. Be sure that this changes nothing but makes the purpose of the variable rc clearer. Signed-off-by: Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp --- arch/x86/kvm/emulate.c | 15 ++- 1 files changed, 6

[PATCH v3 4/4] KVM: Tiny fix: remove redundant prototype of load_pdptrs()

2010-02-11 Thread Takuya Yoshikawa
This patch removes redundant prototype of load_pdptrs(). I found load_pdptrs() twice in kvm_host.h. Let's remove one. Signed-off-by: Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp --- arch/x86/include/asm/kvm_host.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git

Re: [PATCH v3 0/4] KVM: rework of Fix x86 emulator's fault propagations

2010-02-11 Thread Gleb Natapov
On Fri, Feb 12, 2010 at 03:50:44PM +0900, Takuya Yoshikawa wrote: This is the rework of Fix x86 emulator's fault propagations. -- http://www.spinics.net/lists/kvm/msg28874.html I read the review comments from Avi, Marcelo and Gleb and removed some parts which should be done with more care: