From: Avi Kivity [EMAIL PROTECTED]
Signed-off-by: Avi Kivity [EMAIL PROTECTED]
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 337670b..8693fb5 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -2173,7 +2173,7 @@ static void kvm_do_inject_irq(struct kvm_vcpu *vcpu)
Sebastian Herbszt wrote:
Avi Kivity wrote:
The AP enters HALT state with IF=0. What can make it resume at the
following jmp 1b? NMI? SMI?
Yes, but also INIT.
Are you sure the AP will continue after the hlt instruction on INIT?
I think it will start to execute code from the reset vector
On Thu, Aug 14, 2008 at 03:50:26PM +0800, Zhao, Yu wrote:
On Thursday, August 14, 2008 7:46 AM, Greg KH mailto:[EMAIL PROTECTED]
wrote:
On Wed, Aug 13, 2008 at 01:09:16PM -0700, Randy Dunlap wrote:
On Tue, 12 Aug 2008 16:46:39 +0800 Zhao, Yu wrote:
[PATCH 4/4] PCI: document SR-IOV
Max Krasnyansky wrote:
Anyway, it's implemented using a periodic timer that scans host devices
and grabs those that match the filter. Timer is started when the first
filter is added.
Again, there has to be a way to get notified of usb device add/remove in
Linux.
+static USBHostDevice
Max Krasnyansky wrote:
This patch series started when I tried to share USB ports between
four instances of Windows XP running on the same Linux box (under KVM).
I quickly realized that current USB support is not very flexible. We do
not handle devices disconnects, there is not way to assign
[Updated to take coding style and emulation loop issues in consideration]
Signed-off-by: Laurent Vivier [EMAIL PROTECTED]
Signed-off-by: Guillaume Thouvenin [EMAIL PROTECTED]
Signed-off-by: Mohammed Gamal [EMAIL PROTECTED]
---
arch/x86/kvm/vmx.c | 235
Anthony Liguori wrote:
Max Krasnyansky wrote:
I got really annoyed by the fact that you have to manually do
usb_del in the monitor when host device is unplugged and decided
to fix it :)
Yes, I've felt the same annoyance.
Basically we now automatically remove guest USB device
when
Anthony Liguori wrote:
Max Krasnyansky wrote:
+static UHCIAsync *uhci_async_alloc(UHCIState *s)
+{
+UHCIAsync *async = qemu_malloc(sizeof(UHCIAsync));
+if (async) {
+memset(async-packet, 0, sizeof(async-packet));
You can use qemu_mallocz() here.
The reasons I
Anthony Liguori wrote:
Max Krasnyansky wrote:
Anthony Liguori wrote:
Max Krasnyansky wrote:
Anyway, it's implemented using a periodic timer that scans host devices
and grabs those that match the filter. Timer is started when the first
filter is added.
Again, there has to
On top of my previous USB patchset.
Async completion handler can detect device disconnects without polling.
We do not need the timer anymore.
Signed-off-by: Max Krasnyansky [EMAIL PROTECTED]
---
usb-linux.c | 37 ++---
1 files changed, 6 insertions(+), 31
On Wed, Aug 13, 2008 at 01:44:33PM +0300, Avi Kivity wrote:
Marcelo Tosatti wrote:
Avi Kivity wrote:
Any reason this is not in __vcpu_run()?
Our main loop could look like
while (no reason to stop)
if (runnable)
enter guest
else
block
deal
From 40df689b23263ffe2f2efed9950700d42f985b29 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Tue, 12 Aug 2008 08:15:10 +0800
Subject: [PATCH] KVM:Userspace: Fix build issue for IA64.
Generating asm-offset.h @ build time with host kernel.
Signed-off-by: Xiantao Zhang [EMAIL
This is esentially a re-write of the QEMU UHCI layer. My initial goal
was to support fully async operation with multiple outstanding async
transactions. Along the way I realized that I can greatly simplify
and cleanup the overall logic. There was a lot of duplicate and confusing
code in the UHCI
This is a follow up to the async UHCI patch. Both BULK and ISOC transactions
are now fully asynchrounous. I left CONTROL synchronous for now, ideally
we want it to be async too and it should not be that hard to do now.
This patch obviously requires UHCI patch. The combo has been tested with
On top of my previous USB patchset.
Async completion handler can detect device disconnects without polling.
We do not need the timer anymore.
Signed-off-by: Max Krasnyansky [EMAIL PROTECTED]
---
usb-linux.c | 37 ++---
1 files changed, 6 insertions(+), 31
For some reason we were not registering save/load-vm handler for piix3
flavor of UHCI and hence save/load was broken.
Async transactions need to be canceled when we save the VM because there
is no way we can save/restore all that state. Since we do not mess the
original TD/QH the driver will
16 matches
Mail list logo