Re: trouble with dvd drives

2009-04-12 Thread Carlo Marcelo Arenas Belon
On Sat, Apr 11, 2009 at 11:31:41PM -0500, Gene Horodecki wrote: Hi there.. I have a new machine with an AMD Phenom processor and two fairly average LG DVD burners. I've gotten to the point that I seem to be able to see both but they are not coming up as writable drives.. AFAIK the IDE

[PATCH v2 01/10] Add decoding of 16bit second immediate argument.

2009-04-12 Thread Gleb Natapov
Such as segment number in lcall/ljmp Signed-off-by: Gleb Natapov g...@redhat.com --- arch/x86/kvm/x86_emulate.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index d7c9f6f..c015063 100644 ---

[PATCH v2 02/10] Add lcall decoding.

2009-04-12 Thread Gleb Natapov
No emulation yet. Signed-off-by: Gleb Natapov g...@redhat.com --- arch/x86/kvm/x86_emulate.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index c015063..0dd50d3 100644 --- a/arch/x86/kvm/x86_emulate.c +++

[PATCH v2 03/10] Complete ljmp decoding at decode stage.

2009-04-12 Thread Gleb Natapov
Signed-off-by: Gleb Natapov g...@redhat.com --- arch/x86/kvm/x86_emulate.c | 25 + 1 files changed, 5 insertions(+), 20 deletions(-) diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index 0dd50d3..3026929 100644 --- a/arch/x86/kvm/x86_emulate.c +++

[PATCH v2 04/10] Complete short/near jcc decoding in decode stage.

2009-04-12 Thread Gleb Natapov
Signed-off-by: Gleb Natapov g...@redhat.com --- arch/x86/kvm/x86_emulate.c | 50 1 files changed, 18 insertions(+), 32 deletions(-) diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index 3026929..0ca8b60 100644 ---

[PATCH v2 05/10] Complete decoding of call near in decode stage.

2009-04-12 Thread Gleb Natapov
Signed-off-by: Gleb Natapov g...@redhat.com --- arch/x86/kvm/x86_emulate.c | 15 ++- 1 files changed, 2 insertions(+), 13 deletions(-) diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index 0ca8b60..6b5f9bc 100644 --- a/arch/x86/kvm/x86_emulate.c +++

[PATCH v2 06/10] Add unsigned byte immediate decode.

2009-04-12 Thread Gleb Natapov
Extend Source operand type opcode description field to 4 bites to accommodate new option. Signed-off-by: Gleb Natapov g...@redhat.com --- arch/x86/kvm/x86_emulate.c | 17 +++-- 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/arch/x86/kvm/x86_emulate.c

[PATCH v2 07/10] Completely decode in/out at decoding stage.

2009-04-12 Thread Gleb Natapov
Signed-off-by: Gleb Natapov g...@redhat.com --- arch/x86/kvm/x86_emulate.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index 5a58344..4ebc628 100644 --- a/arch/x86/kvm/x86_emulate.c +++

[PATCH v2 08/10] Decode soft interrupt instructions.

2009-04-12 Thread Gleb Natapov
Do not emulate them yet. Signed-off-by: Gleb Natapov g...@redhat.com --- arch/x86/kvm/x86_emulate.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index 4ebc628..28b244e 100644 --- a/arch/x86/kvm/x86_emulate.c

[PATCH v2 09/10] Add new mode of instruction emulation: skip.

2009-04-12 Thread Gleb Natapov
In the new mode instruction is decoded, but not executed. The EIP is moved to point after the instruction. Signed-off-by: Gleb Natapov g...@redhat.com --- arch/x86/include/asm/kvm_host.h |1 + arch/x86/kvm/x86.c |5 + 2 files changed, 6 insertions(+), 0 deletions(-)

[PATCH v2 10/10] [AMD] Skip instruction on a task switch only when appropriate.

2009-04-12 Thread Gleb Natapov
If a task switch was initiated because off a task gate in IDT and IDT was accessed because of an external even the instruction should not be skipped. Signed-off-by: Gleb Natapov g...@redhat.com --- arch/x86/kvm/svm.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff

Re: [PATCH 1/3] kvm: dont hold pagecount reference for mapped sptes pages.

2009-04-12 Thread Izik Eidus
Izik Eidus wrote: Marcelo Tosatti wrote: On Tue, Mar 31, 2009 at 03:00:02AM +0300, Izik Eidus wrote: When using mmu notifiers, we are allowed to remove the page count reference tooken by get_user_pages to a specific page that is mapped inside the shadow page tables. This is needed so we can

Re: [PATCH 1/3] kvm: dont hold pagecount reference for mapped sptes pages.

2009-04-12 Thread Avi Kivity
Izik Eidus wrote: Izik Eidus wrote: Marcelo Tosatti wrote: On Tue, Mar 31, 2009 at 03:00:02AM +0300, Izik Eidus wrote: When using mmu notifiers, we are allowed to remove the page count reference tooken by get_user_pages to a specific page that is mapped inside the shadow page tables. This

[PATCH v3 04/10] Complete short/near jcc decoding in decode stage.

2009-04-12 Thread Gleb Natapov
Signed-off-by: Gleb Natapov g...@redhat.com --- arch/x86/kvm/x86_emulate.c | 42 ++ 1 files changed, 10 insertions(+), 32 deletions(-) diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index 8779cf2..14b8ee2 100644 ---

[PATCH v3 05/10] Complete decoding of call near in decode stage.

2009-04-12 Thread Gleb Natapov
Signed-off-by: Gleb Natapov g...@redhat.com --- arch/x86/kvm/x86_emulate.c | 15 ++- 1 files changed, 2 insertions(+), 13 deletions(-) diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index 14b8ee2..4a9cd4c 100644 --- a/arch/x86/kvm/x86_emulate.c +++

[PATCH v3 06/10] Add unsigned byte immediate decode.

2009-04-12 Thread Gleb Natapov
Extend Source operand type opcode description field to 4 bites to accommodate new option. Signed-off-by: Gleb Natapov g...@redhat.com --- arch/x86/kvm/x86_emulate.c | 17 +++-- 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/arch/x86/kvm/x86_emulate.c

[PATCH v3 07/10] Completely decode in/out at decoding stage.

2009-04-12 Thread Gleb Natapov
Signed-off-by: Gleb Natapov g...@redhat.com --- arch/x86/kvm/x86_emulate.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index 0988a13..c2f55ca 100644 --- a/arch/x86/kvm/x86_emulate.c +++

[PATCH v3 08/10] Decode soft interrupt instructions.

2009-04-12 Thread Gleb Natapov
Do not emulate them yet. Signed-off-by: Gleb Natapov g...@redhat.com --- arch/x86/kvm/x86_emulate.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index c2f55ca..d2664fc 100644 --- a/arch/x86/kvm/x86_emulate.c

[PATCH v3 09/10] Add new mode of instruction emulation: skip.

2009-04-12 Thread Gleb Natapov
In the new mode instruction is decoded, but not executed. The EIP is moved to point after the instruction. Signed-off-by: Gleb Natapov g...@redhat.com --- arch/x86/include/asm/kvm_host.h |1 + arch/x86/kvm/x86.c |5 + 2 files changed, 6 insertions(+), 0 deletions(-)

[PATCH v3 10/10] [AMD] Skip instruction on a task switch only when appropriate.

2009-04-12 Thread Gleb Natapov
If a task switch was initiated because off a task gate in IDT and IDT was accessed because of an external even the instruction should not be skipped. Signed-off-by: Gleb Natapov g...@redhat.com --- arch/x86/kvm/svm.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff

[PATCH v3 03/10] Complete ljmp decoding at decode stage.

2009-04-12 Thread Gleb Natapov
Signed-off-by: Gleb Natapov g...@redhat.com --- arch/x86/kvm/x86_emulate.c | 25 + 1 files changed, 5 insertions(+), 20 deletions(-) diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index 71b4bee..8779cf2 100644 --- a/arch/x86/kvm/x86_emulate.c +++

kvm-autotest: a modified step-file format and steps-data image names

2009-04-12 Thread Uri Lublin
Hello, I've just pushed some new commits of kvm-autotest. One thing that have changed is the way we name steps-data images (and as a result a minor change to the step files format). If you have created your own step-files (and have the automatically-generated steps-data images for them),

Re: [PATCH] KVM: Defer remote tlb flushes on invlpg (v4)

2009-04-12 Thread Marcelo Tosatti
Hi Andrea, On Sat, Apr 11, 2009 at 06:48:54PM +0200, Andrea Arcangeli wrote: On Sun, Mar 29, 2009 at 01:36:01PM +0300, Avi Kivity wrote: Marcelo, Andrea? Had to read the code a bit more to understand the reason of the unsync_mmu flush in cr3 overwrite. Avi Kivity wrote: diff --git

kvm-85rc5 Segmentation fault for m = 2046 GB

2009-04-12 Thread Donald Parsons
Required info: Intel Core 2 Duo E6600 kvm version kvm-85rc5 seg faults (rc[13] fine; rc[24]?) Host kernel version: 2.6.29.1 SMP x86_64 (on Fedora 10) Guest: Fedora 11 beta x86_64 (host and guest updated) qemu cmd line: /usr/local/kvm/bin/qemu-system-x86_64 fc11Beta.img -m 2048 Problem

Re: kvm-85rc5 Segmentation fault for m = 2046 GB

2009-04-12 Thread Marcelo Tosatti
On Sun, Apr 12, 2009 at 06:14:12PM -0400, Donald Parsons wrote: Required info: Intel Core 2 Duo E6600 kvm version kvm-85rc5 seg faults (rc[13] fine; rc[24]?) Host kernel version: 2.6.29.1 SMP x86_64 (on Fedora 10) Guest: Fedora 11 beta x86_64 (host and guest updated) qemu cmd line:

Re: [PATCH] kvm: Fix overlapping check for memory slots

2009-04-12 Thread Sheng Yang
On Saturday 11 April 2009 17:48:04 Jan Kiszka wrote: This nice little buglet complicates a smarter slot management in qemu user space just slightly. Sigh... When checking for overlapping slots on registration of a new one, kvm currently also considers zero-length (ie. deleted)