On 09/18/2009 09:14 PM, H. Peter Anvin wrote:
On 09/16/2009 05:45 AM, Avi Kivity wrote:
Add a general per-cpu notifier that is called whenever the kernel is
about to return to userspace. The notifier uses a thread_info flag
and existing checks, so there is no impact on user return or contex
Add a general per-cpu notifier that is called whenever the kernel is
about to return to userspace. The notifier uses a thread_info flag
and existing checks, so there is no impact on user return or context
switch fast paths.
Signed-off-by: Avi Kivity
---
v2: include new files in patch
arch/Kc
Hello
I am trying to compile kvm-kmod-devel-88.tar.gz with 2.6.31. Seems
there is a missing header file.
vger kvm-kmod-devel-88 # make
make -C /lib/modules/2.6.31-gentoo/build M=`pwd` \
LINUXINCLUDE="-I`pwd`/include -Iinclude \
-Iarch/x86/include -I`pwd`/i
Marcelo Tosatti wrote:
> On Fri, Sep 18, 2009 at 01:41:34PM +0200, Juan Quintela wrote:
>> Code compile with --disable-cpu-emulation, and that don't compile
>> tcg. This is the minimal set of changes to get it working
>
> Better see this upstreamed (and perhaps remove support from qemu-kvm,
> un
Marcelo Tosatti wrote:
> On Fri, Sep 18, 2009 at 01:41:31PM +0200, Juan Quintela wrote:
>>
>> Signed-off-by: Juan Quintela
>> ---
>> configure |8 +---
>> 1 files changed, 5 insertions(+), 3 deletions(-)
>>
>> diff --git a/configure b/configure
>> index 9598331..91246a1 100755
>> --- a
Marcelo Tosatti wrote:
> On Fri, Sep 18, 2009 at 01:41:13PM +0200, Juan Quintela wrote:
>> And mips still don't have pci assignment support :)
>>
>> Signed-off-by: Juan Quintela
>> ---
>> Makefile.target |2 +-
>> hw/piix_pci.c |3 ---
>> 2 files changed, 1 insertions(+), 4 deletions(
Applied, thanks.
On Fri, Sep 18, 2009 at 07:28:36PM +0200, Jan Kiszka wrote:
> ...for better match with upstream.
>
> Signed-off-by: Jan Kiszka
> ---
>
> PS: regs_modified = 1 is another sign that the initialization order in
> qemu-kvm needs a rework.
>
> hw/pc.c | 28 +++---
On Fri, Sep 18, 2009 at 01:41:34PM +0200, Juan Quintela wrote:
> Code compile with --disable-cpu-emulation, and that don't compile
> tcg. This is the minimal set of changes to get it working
Better see this upstreamed (and perhaps remove support from qemu-kvm,
unless someone disagrees).
> Signe
On Fri, Sep 18, 2009 at 01:41:13PM +0200, Juan Quintela wrote:
> And mips still don't have pci assignment support :)
>
> Signed-off-by: Juan Quintela
> ---
> Makefile.target |2 +-
> hw/piix_pci.c |3 ---
> 2 files changed, 1 insertions(+), 4 deletions(-)
>
> diff --git a/Makefile.tar
On Fri, Sep 18, 2009 at 01:41:31PM +0200, Juan Quintela wrote:
>
> Signed-off-by: Juan Quintela
> ---
> configure |8 +---
> 1 files changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/configure b/configure
> index 9598331..91246a1 100755
> --- a/configure
> +++ b/configure
> @@ -
On Fri, Sep 18, 2009 at 01:41:10PM +0200, Juan Quintela wrote:
>
> Signed-off-by: Juan Quintela
> ---
> configure |2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/configure b/configure
> index 97292d9..e6252a2 100755
> --- a/configure
> +++ b/configure
> @@ -1758,8
On Fri, Sep 18, 2009 at 01:41:08PM +0200, Juan Quintela wrote:
> This series:
> - werror is not disabled unconditoanally, you can disable it with
> --disable-werror.
> - clean configure and Makefile* of mis-merges
> - sync such files to qemu upstream
> - kvm options are detected and configured _a
This patch depends on "[PATCH] Prevent immediate process rescheduling"
that I just submitted.
New AMD processors (Family 0x10 models 8+) support the Pause
Filter Feature. This feature creates a new field in the VMCB
called Pause Filter Count. If Pause Filter Count is greater
than 0 and intercept
On Fri, Sep 18, 2009 at 6:51 AM, Gleb Natapov wrote:
> On Thu, Sep 17, 2009 at 09:57:05PM -0300, Lucas Meneghel Rodrigues wrote:
>> Hi folks, after looking at today's git testing results, it seems like we
>> have a problem with the command line options:
>>
>> -no-kvm-irqchip -no-kvm-pit
>>
> This
On 09/16/2009 05:45 AM, Avi Kivity wrote:
> Add a general per-cpu notifier that is called whenever the kernel is
> about to return to userspace. The notifier uses a thread_info flag
> and existing checks, so there is no impact on user return or context
> switch fast paths.
>
> Signed-off-by: Avi
Signed-off-by: Jan Kiszka
---
Makefile |7 +--
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index 6a9ca7c..6855fa2 100644
--- a/Makefile
+++ b/Makefile
@@ -65,9 +65,8 @@ recurse-all: $(SUBDIR_RULES) $(ROMSUBDIR_RULES)
block-obj-y = cutils.o cache-
...for better match with upstream.
Signed-off-by: Jan Kiszka
---
PS: regs_modified = 1 is another sign that the initialization order in
qemu-kvm needs a rework.
hw/pc.c | 28 +++-
1 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c
index
On Fri, Sep 18, 2009 at 03:58:59PM +0800, Huang Ying wrote:
> UCR (uncorrected recovery) MCE is supported in recent Intel CPUs,
> where some hardware error such as some memory error can be reported
> without PCC (processor context corrupted). To recover from such MCE,
> the corresponding memory wil
Hello Michael,
I am working on the patch to address the question you raised below. I am
adding one more function -- destroy_buf in virtqueue_ops, so we don't
need to maintain the list of pending buffers in upper layer (like
virtio_net), when the device is shutdown or removed, this buffer free
func
On Fri, Sep 18, 2009 at 07:23:46AM +0200, Dietmar Maurer wrote:
> Hi all,
>
> what is the advantage of the --enable-io-thread options. It is disabled by
> default - why?
>
> - Dietmar
qemu-kvm uses its own io thread by default. This option only makes sense
in qemu upstream (at the moment). Its
On Fri, Sep 18, 2009 at 07:22:22PM +0300, Gleb Natapov wrote:
> On Fri, Sep 18, 2009 at 01:18:18PM -0300, Marcelo Tosatti wrote:
> > On Sun, Sep 13, 2009 at 03:55:21PM +0300, Gleb Natapov wrote:
> > > On Sun, Sep 13, 2009 at 03:05:21PM +0300, Avi Kivity wrote:
> > > > On 09/13/2009 11:30 AM, Gleb N
On Fri, Sep 18, 2009 at 01:18:18PM -0300, Marcelo Tosatti wrote:
> On Sun, Sep 13, 2009 at 03:55:21PM +0300, Gleb Natapov wrote:
> > On Sun, Sep 13, 2009 at 03:05:21PM +0300, Avi Kivity wrote:
> > > On 09/13/2009 11:30 AM, Gleb Natapov wrote:
> > > >Signed-off-by: Gleb Natapov
> > > >---
> > > > h
Applied, thanks.
On Thu, Sep 17, 2009 at 07:53:57PM +0200, Jan Kiszka wrote:
> Hopefully the last regression of 4c0960c0: KVM_SET_GUEST_DEBUG requires
> properly synchronized guest registers (on x86: eflags) on entry.
>
> Signed-off-by: Jan Kiszka
> ---
>
> qemu-kvm.c |4
> 1 files c
Applied, thanks.
On Thu, Sep 17, 2009 at 03:38:38PM -0500, Dustin Kirkland wrote:
> update qemu-ifup for modern ip route output
>
> The output from the /sbin/ip utility has changed, adding two
> more columns, which breaks the qemu-ifup script, as it was
> depending on the last column being the in
On Sun, Sep 13, 2009 at 03:55:21PM +0300, Gleb Natapov wrote:
> On Sun, Sep 13, 2009 at 03:05:21PM +0300, Avi Kivity wrote:
> > On 09/13/2009 11:30 AM, Gleb Natapov wrote:
> > >Signed-off-by: Gleb Natapov
> > >---
> > > hw/apic.c |3 +++
> > > 1 files changed, 3 insertions(+), 0 deletions(-)
>
Alexander Graf wrote:
> Am 18.09.2009 um 15:33 schrieb Jan Kiszka :
>
>> Alexander Graf wrote:
>>> When injecting an NMI to the l1 guest while it was running the l2
>>> guest, we
>>> didn't #VMEXIT but just injected the NMI to the l2 guest.
>>>
>>> Let's be closer to real hardware and #VMEXIT if
Am 18.09.2009 um 15:33 schrieb Jan Kiszka :
Alexander Graf wrote:
When injecting an NMI to the l1 guest while it was running the l2
guest, we
didn't #VMEXIT but just injected the NMI to the l2 guest.
Let's be closer to real hardware and #VMEXIT if we're supposed to
do so.
Signed-off-by:
Frank Arnold wrote:
> The configure script is constructing the pkgversion correctly.
> Due to some merge the same variable is getting purged again some
> lines later.
>
> Removing this line makes things work again.
>
> Signed-off-by: Frank Arnold
> Acked-by: Andre Przywara
Agreed. I sent this
The configure script is constructing the pkgversion correctly.
Due to some merge the same variable is getting purged again some
lines later.
Removing this line makes things work again.
Signed-off-by: Frank Arnold
Acked-by: Andre Przywara
---
configure |1 -
1 files changed, 0 insertions(+)
Alexander Graf wrote:
> SVM has some cleanup code, that tries to reinject interrupts and exceptions
> when the guest didn't manage to deal with them yet. It basically transfers
> them to KVM internal state.
>
> Unfortunately, the internal state is reserved for the L1 guest state, so we
> shouldn't
Alexander Graf wrote:
> When injecting an NMI to the l1 guest while it was running the l2 guest, we
> didn't #VMEXIT but just injected the NMI to the l2 guest.
>
> Let's be closer to real hardware and #VMEXIT if we're supposed to do so.
>
> Signed-off-by: Alexander Graf
> ---
> arch/x86/kvm/svm
Oh Chen, great idea! I am going to make some tests here to see what
would be the appropriate timeout and update the cerberus wrapper (no
need to keep the old version in there).
On Fri, Sep 18, 2009 at 7:25 AM, Cao, Chen wrote:
> - Using a newer version compared to the existed cerberus test.
> - U
There's a warning to alarm the user when the guest has a valid exit_int_info,
but really shouldn't have.
We don't want that warning when running an L2 guest, because we're in control
of the state then anyways, so let's not warn when running nested.
Signed-off-by: Alexander Graf
---
arch/x86/kvm
SVM has some cleanup code, that tries to reinject interrupts and exceptions
when the guest didn't manage to deal with them yet. It basically transfers
them to KVM internal state.
Unfortunately, the internal state is reserved for the L1 guest state, so we
shouldn't try to go through that logic when
When injecting an NMI to the l1 guest while it was running the l2 guest, we
didn't #VMEXIT but just injected the NMI to the l2 guest.
Let's be closer to real hardware and #VMEXIT if we're supposed to do so.
Signed-off-by: Alexander Graf
---
arch/x86/kvm/svm.c | 38
Normally when event_inj is valid the host CPU would write the contents to
exit_int_info, so the hypervisor knows that the event wasn't injected.
We failed to do so so far, so let's model closer to the CPU.
Signed-off-by: Alexander Graf
---
arch/x86/kvm/svm.c | 16
1 files cha
Real hardware would first process the event_inj field and then notify the
host that an interrupt is waiting.
Let's do the same and just not EXIT_INTR if we have an event pending for the
L2 guest.
Signed-off-by: Alexander Graf
---
arch/x86/kvm/svm.c |4
1 files changed, 4 insertions(+),
Looking through the interrupt handling paths I stumbled across several
inconsitencies in the interrupt handling paths.
Using this patchset, running the most recent KVM version in nested KVM
works again.
Alexander Graf (5):
Implement #NMI exiting for nested SVM
Don't call svm_complete_interrup
Hi!
I noticed a curious little problem with my virtualized DSL router which
seems to indicate that qemu-kvm (kvm-88-1081-g561d3ed) will deliver
packets to the guest over the emulated network card (tested with rtl8139
and ne2k_pci) which wouldn't appear on real hardware because they are
shorter tha
Signed-off-by: Juan Quintela
---
Makefile.target |2 --
configure |2 +-
2 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index 58f8b9e..525a8c2 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -217,7 +217,6 @@ obj-i386-y += i825
Signed-off-by: Juan Quintela
---
Makefile |7 ---
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile
index 88b39bd..1e09953 100644
--- a/Makefile
+++ b/Makefile
@@ -386,10 +386,3 @@ tarbin:
# Include automatically generated dependency files
-include $(w
Signed-off-by: Juan Quintela
---
configure |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 8c69894..fc067a4 100755
--- a/configure
+++ b/configure
@@ -961,9 +961,9 @@ cat > $TMPC << EOF
#ifndef PCI_VENDOR_ID
#error NO LIBPCI
#endif
-int
Signed-off-by: Juan Quintela
---
configure |7 +--
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/configure b/configure
index 7806456..4512686 100755
--- a/configure
+++ b/configure
@@ -362,19 +362,14 @@ AIX)
usb="linux"
if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ;
Signed-off-by: Juan Quintela
---
configure | 19 +--
1 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 73ba095..df45cd4 100755
--- a/configure
+++ b/configure
@@ -228,7 +228,7 @@ uname_release=""
io_thread="no"
mixemu="no"
kvm_trace=
Signed-off-by: Juan Quintela
---
configure |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index 9598331..91246a1 100755
--- a/configure
+++ b/configure
@@ -1881,9 +1881,11 @@ echo "IO thread $io_thread"
echo "Linux AIO support $linu
Code compile with --disable-cpu-emulation, and that don't compile
tcg. This is the minimal set of changes to get it working
Signed-off-by: Juan Quintela
---
Makefile.target |6 --
configure |6 --
exec.c |2 ++
target-i386/fake-exec.c |
Signed-off-by: Juan Quintela
---
configure |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 91246a1..23a3dfb 100755
--- a/configure
+++ b/configure
@@ -1785,8 +1785,6 @@ if test "$werror" = "yes" ; then
QEMU_CFLAGS="-Werror $QEMU_CFLAGS"
Signed-off-by: Juan Quintela
---
configure | 20 ++--
1 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index df45cd4..9598331 100755
--- a/configure
+++ b/configure
@@ -229,7 +229,7 @@ io_thread="no"
mixemu="no"
kvm_trace="no"
kvm_cap_pit
Signed-off-by: Juan Quintela
---
configure |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index 23a3dfb..289459a 100755
--- a/configure
+++ b/configure
@@ -236,7 +236,6 @@ blobs="yes"
pkgversion=" ($(kvm_version))"
cpu_emulation="yes"
kvm_kmod="
Signed-off-by: Juan Quintela
---
qemu-kvm-x86.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/qemu-kvm-x86.c b/qemu-kvm-x86.c
index f80d82b..cdf4ebe 100644
--- a/qemu-kvm-x86.c
+++ b/qemu-kvm-x86.c
@@ -1632,11 +1632,13 @@ void kvm_arch_update_guest_debug(CPUState *env
Signed-off-by: Juan Quintela
---
configure | 140 ++---
1 files changed, 69 insertions(+), 71 deletions(-)
diff --git a/configure b/configure
index ef7d03d..73ba095 100755
--- a/configure
+++ b/configure
@@ -905,76 +905,6 @@ EOF
fi
###
Once there, simplify Makefile.target with new syntax
Signed-off-by: Juan Quintela
---
Makefile.target | 13 +++--
configure|4 ++--
create_config|3 ---
hw/ipf.c |4 ++--
hw/pc.c |6 +++---
hw/pci-hotplug.c | 14 +++---
hw/pci.c
Signed-off-by: Juan Quintela
---
configure |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index 930e450..8c69894 100755
--- a/configure
+++ b/configure
@@ -936,7 +936,7 @@ cat > $TMPC <
/dev/null ; then
+if compile_prog $kvm_cflags ""; th
Signed-off-by: Juan Quintela
---
configure | 32 +---
1 files changed, 9 insertions(+), 23 deletions(-)
diff --git a/configure b/configure
index 4512686..22d393b 100755
--- a/configure
+++ b/configure
@@ -2050,6 +2050,9 @@ fi
if test "$need_offsetof" = "yes" ; the
Signed-off-by: Juan Quintela
---
configure |5 -
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/configure b/configure
index 22d393b..c4ee415 100755
--- a/configure
+++ b/configure
@@ -2074,11 +2074,6 @@ bsd)
;;
esac
-# this is a temp hack needed for kvm
-if test "$kvm"
Signed-off-by: Juan Quintela
---
configure |3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index bbb0c9d..7806456 100755
--- a/configure
+++ b/configure
@@ -2262,9 +2262,6 @@ case "$target_arch2" in
target_phys_bits=64
;;
ia64)
-ech
(there was a missmerge with need_offset)
Signed-off-by: Juan Quintela
---
compatfd.c |2 +-
configure |4
qemu-kvm.c |2 +-
3 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/compatfd.c b/compatfd.c
index 8c78597..594e4af 100644
--- a/compatfd.c
+++ b/compatfd.c
@@
s/CONFIG_signalfd/CONFIG_SIGNALFD/
Signed-off-by: Juan Quintela
---
compatfd.c |2 +-
configure |4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/compatfd.c b/compatfd.c
index 36e37e5..8c78597 100644
--- a/compatfd.c
+++ b/compatfd.c
@@ -100,7 +100,7 @@ static int
Signed-off-by: Juan Quintela
---
Makefile |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 6a9ca7c..88b39bd 100644
--- a/Makefile
+++ b/Makefile
@@ -78,10 +78,6 @@ block-nested-$(CONFIG_CURL) += curl.o
block-obj-y += $(addprefix block/, $(b
And mips still don't have pci assignment support :)
Signed-off-by: Juan Quintela
---
Makefile.target |2 +-
hw/piix_pci.c |3 ---
2 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index 5fad812..58f8b9e 100644
--- a/Makefile.target
+++ b/M
CFLAGS and LDFLAGS are defined on config.mak
LDFLAGS_BASE is not used anywhere
DEPLIBS are not defined anywhere
Signed-off-by: Juan Quintela
---
Makefile.target |8
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index a08e432..5fad81
Signed-off-by: Juan Quintela
---
.gitignore |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index 13c967e..59a0244 100644
--- a/.gitignore
+++ b/.gitignore
@@ -44,4 +44,5 @@ pc-bios/bios-pq/status
pc-bios/vgabios-pq/status
pc-bios/optionrom/mult
Signed-off-by: Juan Quintela
---
configure |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 97292d9..e6252a2 100755
--- a/configure
+++ b/configure
@@ -1758,8 +1758,6 @@ if test -z "$werror" ; then
else
werror="no"
fi
-#
This series:
- werror is not disabled unconditoanally, you can disable it with
--disable-werror.
- clean configure and Makefile* of mis-merges
- sync such files to qemu upstream
- kvm options are detected and configured _after_ detecting kvm, not
the other way around
- add command line options
On Thu, Sep 17, 2009 at 11:40:46AM -0400, Michael Goldish wrote:
>
> - "Michael Goldish" wrote:
>
> > - "Yolkfull Chow" wrote:
> >
> > > On Tue, Aug 18, 2009 at 06:30:14PM -0400, Michael Goldish wrote:
> > > >
> > > > - "Lucas Meneghel Rodrigues" wrote:
> > > >
> > > > > On Tue,
- Using a newer version compared to the existed cerberus test.
- User can specifiy cerberus testcases by providing command line
options in control file.
- Added a patch to fix the makefile to make cerberus run on
x86_64 system.
NOTE: this test may need a longer autotest timeout than the default on
On Thu, Sep 17, 2009 at 09:57:05PM -0300, Lucas Meneghel Rodrigues wrote:
> Hi folks, after looking at today's git testing results, it seems like we
> have a problem with the command line options:
>
> -no-kvm-irqchip -no-kvm-pit
>
This patch series should fix it. Not yet committed:
http://patchwo
UCR (uncorrected recovery) MCE is supported in recent Intel CPUs,
where some hardware error such as some memory error can be reported
without PCC (processor context corrupted). To recover from such MCE,
the corresponding memory will be unmapped, and all processes accessing
the memory will be killed
68 matches
Mail list logo