From 3b7265018177ed909085d56edd61c8003e659dcc Mon Sep 17 00:00:00 2001 From: Martin Kletzander Date: Wed, 15 Aug 2012 10:16:36 +0200 Subject: tests: Add tests for dump-core option --- .../qemuxml2argv-machine-core-off.args | 5 +++++ .../qemuxml2argv-machine-core-off.xml | 26 ++++++++++++++++++++++ .../qemuxml2argv-machine-core-on.args | 5 +++++ .../qemuxml2argv-machine-core-on.xml | 26 ++++++++++++++++++++++ 4 files changed, 62 insertions(+) create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-machine-core-off.args create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-machine-core-off.xml create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-machine-core-on.args create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-machine-core-on.xml (limited to 'tests/qemuxml2argvdata') diff --git a/tests/qemuxml2argvdata/qemuxml2argv-machine-core-off.args b/tests/qemuxml2argvdata/qemuxml2argv-machine-core-off.args new file mode 100644 index 000000000..67b134f70 --- /dev/null +++ b/tests/qemuxml2argvdata/qemuxml2argv-machine-core-off.args @@ -0,0 +1,5 @@ +LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test /usr/bin/qemu \ +-S -machine pc,dump-guest-core=off -m 214 -smp 1 -nographic \ +-monitor unix:/tmp/test-monitor,server,nowait -no-acpi -boot c \ +-hda /dev/HostVG/QEMUGuest1 -net none -serial \ +none -parallel none -usb diff --git a/tests/qemuxml2argvdata/qemuxml2argv-machine-core-off.xml b/tests/qemuxml2argvdata/qemuxml2argv-machine-core-off.xml new file mode 100644 index 000000000..5ef3da088 --- /dev/null +++ b/tests/qemuxml2argvdata/qemuxml2argv-machine-core-off.xml @@ -0,0 +1,26 @@ + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219100 + 219100 + 1 + + hvm + + + + destroy + restart + destroy + + /usr/bin/qemu + + + +
+ + + + + + diff --git a/tests/qemuxml2argvdata/qemuxml2argv-machine-core-on.args b/tests/qemuxml2argvdata/qemuxml2argv-machine-core-on.args new file mode 100644 index 000000000..189f2fb49 --- /dev/null +++ b/tests/qemuxml2argvdata/qemuxml2argv-machine-core-on.args @@ -0,0 +1,5 @@ +LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test /usr/bin/qemu \ +-S -machine pc,dump-guest-core=on -m 214 -smp 1 -nographic \ +-monitor unix:/tmp/test-monitor,server,nowait -no-acpi -boot c \ +-hda /dev/HostVG/QEMUGuest1 -net none -serial \ +none -parallel none -usb diff --git a/tests/qemuxml2argvdata/qemuxml2argv-machine-core-on.xml b/tests/qemuxml2argvdata/qemuxml2argv-machine-core-on.xml new file mode 100644 index 000000000..b2cfe2380 --- /dev/null +++ b/tests/qemuxml2argvdata/qemuxml2argv-machine-core-on.xml @@ -0,0 +1,26 @@ + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219100 + 219100 + 1 + + hvm + + + + destroy + restart + destroy + + /usr/bin/qemu + + + +
+ + + + + + -- cgit v1.2.3-65-gdbad