public:managing_kvm_on_debian
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:managing_kvm_on_debian [2024/05/15 09:07] – [Forcing a VM to stop] thomas | public:managing_kvm_on_debian [2024/05/17 20:56] (current) – thomas | ||
|---|---|---|---|
| Line 57: | Line 57: | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
| + | :!: Note that this does not support libvirt snapshots. You will need to make snapshots via ZFS manually, which may not be ideal. | ||
| Then, create the pool based on the definition and make sure it autostarts: | Then, create the pool based on the definition and make sure it autostarts: | ||
| Line 249: | Line 251: | ||
| < | < | ||
| for dom in $(virsh list --name); do echo -n "$dom: "; virsh domdisplay $dom; done | for dom in $(virsh list --name); do echo -n "$dom: "; virsh domdisplay $dom; done | ||
| + | </ | ||
| + | |||
| + | ===== Managing media ===== | ||
| + | |||
| + | Listing attached media: | ||
| + | |||
| + | < | ||
| + | virsh domblklist < | ||
| + | </ | ||
| + | |||
| + | To replace a disk or cd-rom with another: | ||
| + | |||
| + | < | ||
| + | virsh change-media < | ||
| + | </ | ||
| + | |||
| + | Or to simply eject a disk: | ||
| + | |||
| + | < | ||
| + | virsh change-media vm1 hdc --eject | ||
| </ | </ | ||
| ===== Resources ===== | ===== Resources ===== | ||
public/managing_kvm_on_debian.1715764065.txt.gz · Last modified: by thomas
