[COMMIT master] document boot option to -drive parameter

2010-05-04 Thread Avi Kivity
From: Bruce Rogers brog...@novell.com The boot option is missing from the documentation for the -drive parameter. If there is a better way to descibe it, I'm all ears. Signed-off-by: Bruce Rogers brog...@novell.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com diff --git a/qemu-options.hx

[COMMIT master] Test cmps between two IO locations.

2010-05-04 Thread Avi Kivity
From: Gleb Natapov g...@redhat.com Signed-off-by: Gleb Natapov g...@redhat.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com diff --git a/kvm/user/test/x86/emulator.c b/kvm/user/test/x86/emulator.c index c6adbb5..db84c13 100644 --- a/kvm/user/test/x86/emulator.c +++

[COMMIT master] test: access: don't expect fetch fault indication if !efer.nx

2010-05-04 Thread Avi Kivity
From: Avi Kivity a...@redhat.com Bit 4 of the page-fault error code can only be set if efer.nx=1. Signed-off-by: Avi Kivity a...@redhat.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com diff --git a/kvm/user/test/x86/access.c b/kvm/user/test/x86/access.c index 5addd15..3338fbc 100644 ---

[COMMIT master] test: access: consolidate test failure reporting into a function

2010-05-04 Thread Avi Kivity
From: Avi Kivity a...@redhat.com Signed-off-by: Avi Kivity a...@redhat.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com diff --git a/kvm/user/test/x86/access.c b/kvm/user/test/x86/access.c index dbc1213..0906691 100644 --- a/kvm/user/test/x86/access.c +++ b/kvm/user/test/x86/access.c @@

[COMMIT master] test: access: allow the processor not to set pde.a if a fault occurs

2010-05-04 Thread Avi Kivity
From: Avi Kivity a...@redhat.com Some processors only set accessed bits if the translation is valid; allow this behaviour. This squelchs errors running with EPT. Signed-off-by: Avi Kivity a...@redhat.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com diff --git a/kvm/user/test/x86/access.c

[COMMIT master] Add test for ljmp.

2010-05-04 Thread Avi Kivity
From: Gleb Natapov g...@redhat.com Test that ljmp with operand in IO memory works. Signed-off-by: Gleb Natapov g...@redhat.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com diff --git a/kvm/user/test/x86/emulator.c b/kvm/user/test/x86/emulator.c index db84c13..4967d1f 100644 ---

[COMMIT master] qemu-kvm: fix crash on reboot with vhost-net

2010-05-04 Thread Avi Kivity
From: Michael S. Tsirkin m...@redhat.com When vhost-net is disabled on reboot, we set msix mask notifier to NULL to disable further mask/unmask notifications. Code currently tries to pass this NULL to notifier, leading to a crash. The right thing to do is to add explicit APIs to enable/disable

[COMMIT master] qemu-kvm tests cleanup

2010-05-04 Thread Avi Kivity
From: Naphtali Sprei nsp...@redhat.com Mainly removed unused/unnecessary files and references to them Signed-off-by: Naphtali Sprei nsp...@redhat.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com diff --git a/kvm/user/README b/kvm/user/README new file mode 100644 index 000..6a83831 ---

[COMMIT master] qemu-kvm tests: add printing for passing tests

2010-05-04 Thread Avi Kivity
From: Naphtali Sprei nsp...@redhat.com Signed-off-by: Naphtali Sprei nsp...@redhat.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com diff --git a/kvm/user/test/x86/realmode.c b/kvm/user/test/x86/realmode.c index bfc2942..bc4ed97 100644 --- a/kvm/user/test/x86/realmode.c +++

[COMMIT master] Merge branch 'upstream-merge'

2010-05-04 Thread Avi Kivity
From: Marcelo Tosatti mtosa...@redhat.com * upstream-merge: (65 commits) block: read-only: open cdrom as read-only when using monitor's change command fix whitespace bogon in some versions of make Changes to usb-linux to conform to coding style Add KVM CFLAGS to vhost build QMP:

[COMMIT master] Merge branch 'upstream-merge'

2010-05-04 Thread Avi Kivity
From: Marcelo Tosatti mtosa...@redhat.com * upstream-merge: (243 commits) virtio-serial: Implement flow control for individual ports virtio-serial: Discard data that guest sends us when ports aren't connected virtio-serial: Apps should consume all data that guest sends out / Fix virtio api

[COMMIT master] qemu-kvm: emulator tests: fix msr test

2010-05-04 Thread Avi Kivity
From: Naphtali Sprei nsp...@redhat.com use correct 64 bit mode inline assembly constraints use a canonical form address when writing to the MSR_KERNEL_GS_BASE MSR Signed-off-by: Naphtali Sprei nsp...@redhat.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com diff --git

[COMMIT master] kvm test: Fix i386 crossbuild

2010-05-04 Thread Avi Kivity
From: Jan Kiszka jan.kis...@siemens.com This fixes make ARCH=i386 of the KVM micro tests on x86-64 hosts. Signed-off-by: Jan Kiszka jan.kis...@siemens.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com diff --git a/kvm/user/config-x86-common.mak b/kvm/user/config-x86-common.mak index