On Sat, Aug 21, 2010 at 04:01:15PM -0700, Nicholas A. Bellinger wrote:
> From: Nicholas Bellinger
>
> Greetings hch, tomo and Co,
What tree is this against? I can't see any specificc BSG support in qemu.
Even more I think all this in the wrong place. The only reason
SG_IO support was shoe-hor
On 08/20/2010 06:17 AM, Wei Yongjun wrote:
> Add LDS/LES/LFS/LGS/LSS instruction emulation.
> (opcode 0xc4, 0xc5, 0x0f 0xb2, 0x0f 0xb4~0xb5)
>
The patch looks good, but did I miss the test cases?
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: s
On 08/19/2010 11:19 PM, John Bellessa wrote:
vhost-net will be supported by qemu-kvm 0.13 which is on track for release
soon.
I'm a little confused. The vhost-net page
(http://www.linux-kvm.org/page/VhostNet) indicates that it is fully
functional. Could you clarify that a bit?
It's fu
On 08/20/2010 12:12 PM, Wei Yongjun wrote:
> Hi all:
>
> I have the following patch to SIDT emulation instruction, but it
> does not work because we can not writeback more then 8 bytes
> memory, the SIDT under PROTO64 is 10 bytes.
>
> I change the code to write twice, first time write limit, then
On 08/20/2010 04:01 AM, Karthik Vadambacheri Manian wrote:
Hi All,
I am running a light weight kernel named kitten in QEMU-KVM which uses
LWIP (Light Weight TCP/IP) stack for networking. I am trying to fine
tune this LWIP but I am now facing an issue regarding delayed packet
reception. Basicall
On 08/19/2010 05:25 PM, Mohammed Gamal wrote:
Signed-off-by: Mohammed Gamal
---
arch/x86/kvm/emulate.c | 16 +++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index ee4bb69..fddf76d 100644
--- a/arch/x86/kvm/emul
We'll need it later so we can use a register for the destination.
Signed-off-by: Avi Kivity
---
arch/x86/kvm/emulate.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index c37fb01..49bfcc7 100644
--- a/arch/x86/
Signed-off-by: Avi Kivity
---
arch/x86/kvm/emulate.c | 37 -
1 files changed, 36 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index f6f93b9..4cbc884 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.
Most x86 two operand instructions allow the destination to be a memory operand,
but IMUL (for example) requires that the destination be a register. Change
emulate_2op() to take a register for both source and destination so we
can invoke IMUL.
Signed-off-by: Avi Kivity
---
arch/x86/kvm/emula
Signed-off-by: Avi Kivity
---
arch/x86/kvm/emulate.c | 12 +++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index 6ef4b22..ae72835 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -2260,6 +2260,15 @@
Signed-off-by: Avi Kivity
---
arch/x86/kvm/emulate.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index 3365511..d4ec010 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -2398,7 +2398,8 @@ static stru
Add a bunch of instructions to the emulator. These are sufficient to make
the BIOS boot.
Avi Kivity (14):
KVM: x86 emulator: pass destination type to emulate_2op()
KVM: x86 emulator: Use a register for emulate_2op() destination
KVM: x86 emulator: implement DAS (opcode 2F)
KVM: x86
Signed-off-by: Avi Kivity
---
arch/x86/kvm/emulate.c | 13 ++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index ae72835..7574d1e 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -2260,15 +2260,22 @
Useless.
Signed-off-by: Avi Kivity
---
arch/x86/kvm/emulate.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index 7574d1e..e83b9fc 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -58,7 +58,6 @@
#def
Signed-off-by: Avi Kivity
---
arch/x86/kvm/emulate.c | 19 ++-
1 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index e83b9fc..09bec0c 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -2275,6 +2275
Signed-off-by: Avi Kivity
---
arch/x86/kvm/emulate.c | 19 ++-
1 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index 67e8eed..6ef4b22 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -2245,6 +2245
Used for RET NEAR instructions.
Signed-off-by: Avi Kivity
---
arch/x86/kvm/emulate.c | 12 +---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index 34c4196..67e8eed 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/e
Needed for 3-operand IMUL.
Signed-off-by: Avi Kivity
---
arch/x86/kvm/emulate.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index 3cf9c02..3365511 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -
Signed-off-by: Avi Kivity
---
arch/x86/kvm/emulate.c | 15 ++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index d4ec010..f512ba7 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -2276,6 +2276,18
IMUL REG, R/M
IMUL REG, R/M, IMM8
IMUL REG, R/M, IMM
Signed-off-by: Avi Kivity
---
x86/emulator.c | 42 ++
1 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/x86/emulator.c b/x86/emulator.c
index d30ca8e..b0d15c0 100644
--- a/x86/emulator.c
Signed-off-by: Avi Kivity
---
x86/realmode.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/x86/realmode.c b/x86/realmode.c
index 42b6760..60c6212 100644
--- a/x86/realmode.c
+++ b/x86/realmode.c
@@ -627,6 +627,7 @@ void test_call(void)
Signed-off-by: Avi Kivity
---
arch/x86/kvm/emulate.c | 109
1 files changed, 64 insertions(+), 45 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index 09bec0c..3cf9c02 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/
Signed-off-by: Avi Kivity
---
x86/realmode.c | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/x86/realmode.c b/x86/realmode.c
index 77fc1e1..42b6760 100644
--- a/x86/realmode.c
+++ b/x86/realmode.c
@@ -604,10 +604,14 @@ void test_io(void)
prin
test 1024 combinations of AL, CF and AF.
Signed-off-by: Avi Kivity
---
x86/realmode.c | 284
1 files changed, 284 insertions(+), 0 deletions(-)
diff --git a/x86/realmode.c b/x86/realmode.c
index c15e532..7c358f9 100644
--- a/x86/realmode
Signed-off-by: Avi Kivity
---
arch/x86/kvm/emulate.c | 37 -
1 files changed, 36 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index 4cbc884..34c4196 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.
From: Mohammed Gamal
Signed-off-by: Mohammed Gamal
Signed-off-by: Avi Kivity
---
x86/realmode.c | 58
1 files changed, 58 insertions(+), 0 deletions(-)
diff --git a/x86/realmode.c b/x86/realmode.c
index 7c358f9..77fc1e1 100644
--- a/x
Add emulator tests for recently implemented instructions:
DAS
IMUL (several variants)
CALL FAR r/m
RET imm16
Avi Kivity (5):
Load flags register before running real-mode test
Add DAS test
Add IMUL tests
Test CALL FAR R/M instrucion (opcode FF /3)
Test RET IMM instruction
Mohamm
Signed-off-by: Avi Kivity
---
x86/realmode.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/x86/realmode.c b/x86/realmode.c
index ccf3645..c15e532 100644
--- a/x86/realmode.c
+++ b/x86/realmode.c
@@ -78,6 +78,7 @@ static void exec_in_big_real_mode(const struct regs *inre
On 08/22/2010 03:18 PM, Avi Kivity wrote:
Signed-off-by: Avi Kivity
---
arch/x86/kvm/emulate.c | 37 -
1 files changed, 36 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index f6f93b9..4cbc884 100644
--- a/arch
This patch set cleans up the real mode unit tests and makes it significantly
easier to add and review new tests.
Avi Kivity (5):
Simplify exec_in_big_real_mode() calling convention
Introduce report() function for realmode test to simplify result
reporting
realmode: make inregs, outregs g
esp needs to point at the end of the stack, or it will corrupt memory.
Signed-off-by: Avi Kivity
---
x86/realmode.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/x86/realmode.c b/x86/realmode.c
index 5c62ec4..50eaa5e 100644
--- a/x86/realmode.c
+++ b/x86/realmode.c
@@
Signed-off-by: Avi Kivity
---
x86/realmode.c | 585 +++-
1 files changed, 198 insertions(+), 387 deletions(-)
diff --git a/x86/realmode.c b/x86/realmode.c
index 183eb06..ef424dd 100644
--- a/x86/realmode.c
+++ b/x86/realmode.c
@@ -138,6 +138,1
This removes a lot of parameter passing.
Signed-off-by: Avi Kivity
---
x86/realmode.c | 430 +---
1 files changed, 221 insertions(+), 209 deletions(-)
diff --git a/x86/realmode.c b/x86/realmode.c
index ef424dd..5c62ec4 100644
--- a/x86/realmo
Instead of passing both the address and size of the instruction to be
executed, pass the address of a descriptor containing both.
The label denoting the end of the instruction is eliminated, reducing
aliases which confuse objdump.
Signed-off-by: Avi Kivity
---
x86/realmode.c | 415
This makes is easier to test registers.
Signed-off-by: Avi Kivity
---
x86/realmode.c | 301 +---
1 files changed, 113 insertions(+), 188 deletions(-)
diff --git a/x86/realmode.c b/x86/realmode.c
index 50eaa5e..b69e474 100644
--- a/x86/realmod
On 08/20/2010 04:10 AM, Tim Pepper wrote:
The following series is the four patches Dave Hansen had queued for test
as mentioned last week in the thread:
"[PATCH] kvm: make mmu_shrink() fit shrinker's requirement"
Last week just before leaving for vacation Dave had noted in that thread
that th
On 08/17/2010 04:57 PM, Alexander Graf wrote:
We will soon add SR PV support to the shared page, so we need some
infrastructure that allows the guest to query for features KVM exports.
This patch adds a second return value to the magic mapping that
indicated to the guest which features are avai
On 08/17/2010 04:57 PM, Alexander Graf wrote:
Howdy,
This is my local patch queue with stuff that has accumulated over the last
weeks on KVM for PPC with some last minute fixes, speedups and debugging help
that I needed for the KVM Forum ;-).
The highlights of this set are:
- Converted mos
Linus, please pull from r&b:
git://git.kernel.org/pub/scm/virt/kvm/kvm.git kvm-updates/2.6.36
to get a few regression fixes for KVM:
Xiao Guangrong (1):
KVM: PIT: free irq source id in handling error path
Xiaotian Feng (2):
KVM: fix poison overwritten caused by using wrong xstat
From: Nicholas Bellinger
Greetings hch, Paul and other lsi53c895a folks,
This patch merges the remaining changes from upstream v0.12.5
for hw/lsi53c895a.c to function with the existing SGL passthrough
code.
This includes the following:
*) conversion of lsi_request->finished to lsi_request-
On Sun, 2010-08-22 at 10:31 +0200, Christoph Hellwig wrote:
> On Sat, Aug 21, 2010 at 04:01:15PM -0700, Nicholas A. Bellinger wrote:
> > From: Nicholas Bellinger
> >
> > Greetings hch, tomo and Co,
>
> What tree is this against? I can't see any specificc BSG support in qemu.
>
The Megasas / S
Signed-off-by: Ken CC
---
hw/pci.c |2 +-
hw/pci.h |1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/hw/pci.c b/hw/pci.c
index a98d6f3..a09fbac 100644
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -44,7 +44,7 @@ struct PCIBus {
pci_hotplug_fn hotplug;
DeviceState *hotplug
Check before trying subindexing.
Signed-off-by: Ken CC
---
hw/pci.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/hw/pci.c b/hw/pci.c
index a09fbac..f6f00c6 100644
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -675,6 +675,10 @@ static PCIDevice *do_pci_register_device(PCIDevice
Check before trying subindexing.
Signed-off-by: Ken CC
---
hw/pci.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/hw/pci.c b/hw/pci.c
index a09fbac..f6f00c6 100644
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -675,6 +675,10 @@ static PCIDevice *do_pci_register_device(PCIDevice
In case, it helps, vhost functionality has been patched into and
available in the src rpm -
qemu-0.12.3-8.fc13.src.rpm
at
http://rpm.pbone.net/index.php3/stat/4/idpl/14076054/dir/fedora_13/com/qemu-system-x86-0.12.3-8.fc13.x86_64.rpm.html
On Fri, Aug 20, 2010 at 1:49 AM, John Bellessa wrote:
>
>
On 08/17/2010 01:29 PM, Avi Kivity wrote:
On 08/12/2010 06:29 PM, Paolo Bonzini wrote:
Nothing earth shattering. :)
Paolo Bonzini (3):
move kvm_set_irqfd to kvm-stub.c
This touches kvm-all.c, so should be against uq/master.
kvm_set_irqfd is not in upstream qemu, should I add it there even t
Signed-off-by: Wei Yongjun
---
x86/realmode.c | 59
1 files changed, 59 insertions(+), 0 deletions(-)
diff --git a/x86/realmode.c b/x86/realmode.c
index b69e474..8c771fc 100644
--- a/x86/realmode.c
+++ b/x86/realmode.c
@@ -1184,6 +1184,6
On 08/23/2010 09:45 AM, Paolo Bonzini wrote:
On 08/17/2010 01:29 PM, Avi Kivity wrote:
On 08/12/2010 06:29 PM, Paolo Bonzini wrote:
Nothing earth shattering. :)
Paolo Bonzini (3):
move kvm_set_irqfd to kvm-stub.c
This touches kvm-all.c, so should be against uq/master.
kvm_set_irqfd is not
Add LDS/LES/LFS/LGS/LSS instruction emulation.
(opcode 0xc4, 0xc5, 0x0f 0xb2, 0x0f 0xb4~0xb5)
Signed-off-by: Wei Yongjun
---
v2 -> v3: no changes, just porting to today's git tree
---
arch/x86/kvm/emulate.c | 50 ---
1 files changed, 46 insertions(+)
49 matches
Mail list logo