def __init__(self, arch, name, config_ignored, boot_image, disk_image): VMController.__init__(self, 'QEMU-' + arch) self.arch = arch self.booted = False self.name = name self.boot_image = boot_image self.disk_image = disk_image
def __init__(self, arch, name, config, boot_image, disk_image): VMController.__init__(self, 'xterm-' + arch) self.arch = arch self.booted = False self.name = name self.config = config if config is not None else 'msim.conf' self.boot_image = boot_image self.disk_image = disk_image self.x11_display = None
def terminate(self): if not self.booted: self.screendump_file = None self.screenshot_filename = None return if self.xterm is not None: self.xterm.kill() self.xterm.wait() self.xserver.kill() self.xserver.wait() VMController.terminate(self)
def terminate(self): if not self.booted: return self._send_command('quit') VMController.terminate(self)
def __init__(self, arch, name, boot_image): VMController.__init__(self, 'QEMU-' + arch) self.arch = arch self.booted = False self.name = name self.boot_image = boot_image