Re: [PATCH] test: add svm tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 On 08/02/2010 05:56 PM, Avi Kivity wrote:
Test behaviour both with svm enabled and with svm disabled.

Signed-off-by: Avi Kivity<avi@xxxxxxxxxx>
---
  kvm/test/x86/unittests.cfg |   10 ++++++++++
  1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/kvm/test/x86/unittests.cfg b/kvm/test/x86/unittests.cfg
index f39c5bd..7796e41 100644
--- a/kvm/test/x86/unittests.cfg
+++ b/kvm/test/x86/unittests.cfg
@@ -53,3 +53,13 @@ file = xsave.flat

  [rmap_chain]
  file = rmap_chain.flat
+
+[svm]
+file = svm.flat
+smp = 2
+extra_params = -enable-nesting -cpu qemu64,+svm
+
+[svm-disabled]
+file = svm.flat
+smp = 2
+extra_params = -cpu qemu64,-svm

This doesn't appear to work. The test is run, but smp and extra_params are ignored:

08/02 19:51:05 DEBUG|    kvm_vm:0637| Running qemu command:
/root/autotest/client/tests/kvm/qemu -name 'vm1' -monitor unix:'/tmp/monitor-humanmonitor1-20100802-194922-fika',server,nowait -serial unix:'/tmp/serial-20100802-194922-fika',server,nowait -m 512 -kernel '/root/autotest/client/tests/kvm/unittests/svm.flat' -vnc :0 -chardev file,id=testlog,path=/tmp/testlog-20100802-194922-fika -device testdev,chardev=testlog -S


--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux