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?

--
Chris Evich, RHCA, RHCE, RHCDS, RHCSS
Quality Assurance Engineer
e-mail: cevich + `@' + redhat.com o: 1-888-RED-HAT1 x44214

_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to