1VIRT-QEMU-RUN(1) Virtualization Support VIRT-QEMU-RUN(1)
2
3
4
6 virt-qemu-run - Run a standalone QEMU guest
7
9 virt-qemu-run [OPTION]... GUEST-XML-FILE
10
12 This tool provides a way to run a standalone QEMU guest such that it is
13 completely independent of libvirtd. It makes use of the embedded QEMU
14 driver support to run the VM placing files under an isolated directory
15 tree. When the guest is run with this tool it is invisible to libvirtd
16 and thus also invisible to other libvirt tools such as virsh.
17
18 The virt-qemu-run program will run the QEMU virtual machine, and then
19 block until the guest OS shuts down, at which point it will exit.
20
21 If the virt-qemu-run program is interrupted (eg Ctrl-C) it will immedi‐
22 ately terminate the virtual machine without giving the guest OS any op‐
23 portunity to gracefully shutdown.
24
25 NOTE: this tool is currently considered experimental. Its usage and be‐
26 haviour is still subject to change in future libvirt releases. For fur‐
27 ther information on its usage consult the QEMU driver documentation.
28
30 GUEST-XML-FILE
31
32 The full path to the XML file describing the guest virtual machine to
33 be booted.
34
35 -r DIR, --root=DIR
36
37 Specify the root directory to use for storing state associated with the
38 virtual machine. The caller is responsible for deleting this directory
39 when it is no longer required.
40
41 If this parameter is omitted, then a random temporary directory will be
42 created, and its contents be automatically deleted at VM shutdown.
43
44 -s SECRET-XML-FILE,SECRET-VALUE-FILE, --secret=SECRET-XML-FILE,SE‐
45 CRET-VALUE-FILE
46
47 Specify a secret to be loaded into the secret driver. SECRET-XML-FILE
48 is a path to the XML description of the secret, whose UUID should match
49 a secret referenced in the guest domain XML. SECRET-VALUE-FILE is a
50 path containing the raw value of the secret.
51
52 -v, --verbose
53
54 Display verbose information about startup.
55
56 -h, --help
57
58 Display the command line help.
59
61 Upon successful shutdown, an exit status of 0 will be set. Upon failure
62 a non-zero status will be set.
63
65 Daniel P. Berrangé
66
68 Please report all bugs you discover. This should be done via either:
69
70 1. the mailing list
71
72 https://libvirt.org/contact.html
73
74 2. the bug tracker
75
76 https://libvirt.org/bugs.html
77
78 Alternatively, you may report bugs to your software distributor / ven‐
79 dor.
80
82 Copyright (C) 2019 by Red Hat, Inc.
83
85 virt-run-qemu is distributed under the terms of the GNU LGPL v2+. This
86 is free software; see the source for copying conditions. There is NO
87 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR‐
88 POSE
89
91 virsh(1), https://libvirt.org/
92
93
94
95
96 VIRT-QEMU-RUN(1)