add VNCVM
This commit is contained in:
1 parent
1c0ee235dd
commit
794b801628
9 files changed
+286
-28
No files matched your search
@@ -78,6 +78,14 @@ export class QemuVM extends EventEmitter {
|
||||
await this.StartQemu(cmd);
|
||||
}
|
||||
|
||||
SnapshotsSupported() : boolean {
|
||||
return gVMShouldSnapshot;
|
||||
}
|
||||
|
||||
async Reboot() : Promise<void> {
|
||||
await this.MonitorCommand('system_reset');
|
||||
}
|
||||
|
||||
async Stop() {
|
||||
// This is called in certain lifecycle places where we can't safely assert state yet
|
||||
//this.AssertState(VMState.Started, 'cannot use QemuVM#Stop on a non-started VM');
|
||||
|
||||
Reference in new issue
Block a user