From: Chris Wright chr...@sous-sol.org
The default mode for device assignment is to rely on an IOMMU for
proper translations and a functioning device in the guest. The current
logic makes this requirement advisory, and simply disables the request
for IOMMU if one is not found on the host. This
From: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
diff --git a/configure b/configure
index cbbf9d0..48816e1 100755
--- a/configure
+++ b/configure
@@ -2781,12 +2781,12 @@ done # for target in $targets
# build tree in object directory if source path is
From: Kusanagi Kouichi sl...@ac.auone-net.jp
If DEVICE_ASSIGNMENT_DEBUG is defined, build fails.
Signed-off-by: Kusanagi Kouichi sl...@ac.auone-net.jp
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
diff --git a/hw/device-assignment.c b/hw/device-assignment.c
index 110fd37..f4a1e32 100644
From: Marcelo Tosatti mtosa...@redhat.com
* upstream-merge: (72 commits)
Drop --whole-archive and static libraries
vnc: Fix artifacts in hextile decoding
Cocoa: Use optimized drawing for the window
Cocoa: Suppress window resize animation
Cocoa: Shutdown when window is closed
Cocoa:
From: Avi Kivity a...@redhat.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/configure b/configure
index 08430e8..20c374a 100755
--- a/configure
+++ b/configure
@@ -540,13 +540,13 @@ for opt do
;;
--enable-kvm) kvm=yes
;;
- --disable-kvm-cap-pit) kvm_cap_pit=no
+
From: Pierre Riteau pierre.rit...@irisa.fr
Signed-off-by: Pierre Riteau pierre.rit...@irisa.fr
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
diff --git a/configure b/configure
index 81c44e8..4254485 100755
--- a/configure
+++ b/configure
@@ -756,10 +756,10 @@ echo --disable-bluez
From: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
diff --git a/hw/pci.h b/hw/pci.h
index bf63912..8c37f14 100644
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -10,10 +10,6 @@ struct kvm_irq_routing_entry;
/* PCI includes legacy ISA access. */
#include isa.h
-/*
From: Marcelo Tosatti mtosa...@redhat.com
* upstream-merge: (23 commits)
target-arm: fix strexd
linux-user: fix build with gcc-4.1
linuxboot.bin is a generated file
qemu-nbd: fix OpenBSD linker warning
e1000: add link to data sheet
qemu-io: suppress a warning with gcc 4.0.2
Compile
From: Wu Fengguang fengguang...@intel.com
Signed-off-by: Wu Fengguang fengguang...@intel.com
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
diff --git a/Documentation/kvm/api.txt b/Documentation/kvm/api.txt
index 2811e45..c6416a3 100644
--- a/Documentation/kvm/api.txt
+++
From: Marcelo Tosatti mtosa...@redhat.com
Have a pointer to an allocated region inside x86's kvm_arch.
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index fe4df46..7cdcb3d 100644
---
From: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
--
To unsubscribe from this list: send the line unsubscribe kvm-commits in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: Marcelo Tosatti mtosa...@redhat.com
Required for SRCU convertion later.
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c
index 5fdeec5..4e05dae 100644
--- a/arch/ia64/kvm/kvm-ia64.c
+++ b/arch/ia64/kvm/kvm-ia64.c
@@
From: Marcelo Tosatti mtosa...@redhat.com
So its possible to iommu map a memslot before making it visible to
kvm.
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index f59233f..7780cce 100644
--- a/include/linux/kvm_host.h
+++
From: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 5a7d8ee..030ddef 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -2416,27 +2416,60 @@ static int kvm_vm_ioctl_reinject(struct kvm
From: Marcelo Tosatti mtosa...@redhat.com
Which takes a memslot pointer instead of using kvm-memslots.
To be used by SRCU convertion later.
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 6c61833..f59233f 100644
---
From: Avi Kivity a...@redhat.com
Some exit reasons missed their strings; fill out the table.
Signed-off-by: Avi Kivity a...@redhat.com
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 5fd28f5..455984a 100644
--- a/arch/x86/kvm/vmx.c
From: Marcelo Tosatti mtosa...@redhat.com
Use two steps for memslot deletion: mark the slot invalid (which stops
instantiation of new shadow pages for that slot, but allows destruction),
then instantiate the new empty slot.
Also simplifies kvm_handle_hva locking.
Signed-off-by: Marcelo Tosatti
From: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c
index f67a541..28b44cd 100644
--- a/arch/ia64/kvm/kvm-ia64.c
+++ b/arch/ia64/kvm/kvm-ia64.c
@@ -636,12 +636,9 @@ static void
From: Avi Kivity a...@redhat.com
When we queue an interrupt to the local apic, we set the IRR before the TMR.
The vcpu can pick up the IRR and inject the interrupt before setting the TMR,
and perhaps even EOI it, causing incorrect behaviour.
The race is really insignificant since it can only
From: Alexander Graf ag...@suse.de
Commit 18657960237322b8f6ba84938d27524634212aaf apparently broke PPC Book3S
compilation. This patch fixes it.
Signed-off-by: Alexander Graf ag...@suse.de
Reported-by: Giuseppe Falsetti giuse...@czero.it
CC: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by:
From: Marcelo Tosatti mtosa...@redhat.com
Using a similar two-step procedure as for memslots.
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 7cdcb3d..6c8c7c5 100644
--- a/arch/x86/include/asm/kvm_host.h
+++
From: Avi Kivity a...@redhat.com
With slots_lock converted to rcu, the entire kvm hotpath on modern processors
(with npt or ept) now scales beautifully. Increase the maximum vcpu count to
64 to reflect this.
Signed-off-by: Avi Kivity a...@redhat.com
Signed-off-by: Marcelo Tosatti
From: Sheng Yang sh...@linux.intel.com
We can use them in x86.c and vmx.c now...
Signed-off-by: Sheng Yang sh...@linux.intel.com
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index ed4f1a3..ed40755 100644
--- a/arch/x86/kvm/mmu.c
+++
From: Alexander Graf ag...@suse.de
When we're loading bolted entries into the SLB again, we're checking if an
entry is in use and only slbmte it when it is.
Unfortunately, the check always goes to the skip label of the first entry,
resulting in an endless loop when it actually gets triggered.
From: Sheng Yang sh...@linux.intel.com
When found a error hva, should not return PAGE_SIZE but the level...
Also clean up the coding style of the following loop.
Cc: sta...@kernel.org
Signed-off-by: Sheng Yang sh...@linux.intel.com
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
diff --git
From: Alexander Graf ag...@suse.de
We now have helpers for the GPRs, so let's also add some for CR and XER.
Having them in the PACA simplifies code a lot, as we don't need to care
about where to store CC or not to overflow any integers.
Signed-off-by: Alexander Graf ag...@suse.de
Signed-off-by:
From: Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp
The explanation of write_emulated is confused with
that of read_emulated. This patch fix it.
Signed-off-by: Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
diff --git
From: Alexander Graf ag...@suse.de
To fetch the last instruction we were interrupted on, we enable DR in early
exit code, where we are still in a very transitional phase between guest
and host state.
Most of the time this seemed to work, but another CPU can easily flush our
TLB and HTAB which
From: Alexander Graf ag...@suse.de
Using an RFI in IR=1 is dangerous. We need to set two SRRs and then do an RFI
without getting interrupted at all, because every interrupt could potentially
overwrite the SRR values.
Fortunately, we don't need to RFI in at least this particular case of the code,
From: Alexander Graf ag...@suse.de
The code to unset HID5.dcbz32 is broken.
This patch makes it do the right rotate magic.
Signed-off-by: Alexander Graf ag...@suse.de
Reported-by: Benjamin Herrenschmidt b...@kernel.crashing.org
Signed-off-by: Avi Kivity a...@redhat.com
diff --git
From: Sheng Yang sh...@linux.intel.com
Then the callback can provide the maximum supported large page level, which
is more flexible.
Also move the gb page support into x86_64 specific.
Signed-off-by: Sheng Yang sh...@linux.intel.com
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
diff --git
From: Sheng Yang sh...@linux.intel.com
Signed-off-by: Sheng Yang sh...@linux.intel.com
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
diff --git a/arch/x86/include/asm/vmx.h b/arch/x86/include/asm/vmx.h
index 713ed9a..43f1e9b 100644
--- a/arch/x86/include/asm/vmx.h
+++
From: Alexander Graf ag...@suse.de
We're being horribly racy right now. All the entry and exit code hijacks
random fields from the PACA that could easily be used by different code in
case we get interrupted, for example by a #MC or even page fault.
After discussing this with Ben, we figured it's
From: Alexander Graf ag...@suse.de
All code in PPC KVM currently accesses gprs in the vcpu struct directly.
While there's nothing wrong with that wrt the current way gprs are stored
and loaded, it doesn't suffice for the PACA acceleration that will follow
in this patchset.
So let's just create
From: Alexander Graf ag...@suse.de
Book3S needs some flags in SRR1 to get to know details about an interrupt.
One such example is the trap instruction. It tells the guest kernel that
a program interrupt is due to a trap using a bit in SRR1.
This patch implements above behavior, making WARN_ON
35 matches
Mail list logo