On 03/06/2013 05:34 PM, Chris Evich wrote:
On 03/05/2013 11:17 AM, Lucas Meneghel Rodrigues wrote:
Maybe even have a dedicated VMCrashError exception that tests could
catch in case it's what they're looking for (i.e. error testing)?
There is one. see qemu_vm.py
class QemuSegFaultError(virt_vm.VMError):
def __init__(self, crash_message):
virt_vm.VMError.__init__(self, crash_message)
self.crash_message = crash_message
def __str__(self):
return ("Qemu crashed: %s" % self.crash_message)
Ohh, maybe I'm mistaken. What kind of "crash" are we talking about
detecting here? I understood from "VM userspace crashes" that this was
guest kernel-panics, OOPS's, and other such nasties. Is it something
else, or all-of-the-above?
VM userpace - emulator, userspace programs that allow a vm to exist -
for QEMU, that is, well, QEMU. For libvirt, it is libvirt and whatever
is the driver (may be also QEMU). Nothing to do with guest kernel panics
OOPS's and similar.
_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel