virtualisation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
virtualisation [2024/07/02 00:09] – [Qemu - checkpoints] adminvirtualisation [2024/09/23 20:05] (current) – [Qemu - checkpoints] admin
Line 34: Line 34:
 virtndbackup error - https://github.com/abbbi/virtnbdbackup/discussions/119 \\ virtndbackup error - https://github.com/abbbi/virtnbdbackup/discussions/119 \\
 working with bitmaps qmp https://kashyapc.fedorapeople.org/QEMU-Docs/_build/html/docs/interop/bitmaps.html#id1 \\ working with bitmaps qmp https://kashyapc.fedorapeople.org/QEMU-Docs/_build/html/docs/interop/bitmaps.html#id1 \\
 +<code BASH>
 +# bitmap
 +qemu-img bitmap  --remove  ./local_copy_1_154.hdd.qcow2 virtnbdbackup.1
 +
 +#snapshot
 +qemu-img snapshot -l $DISK_IMAGE.qcow2 # List Snapshots
 +#Snapshots also appear in the output of the qemu-img info command.
 +
 +qemu-img snapshot -c $SNAPSHOT_NAME $DISK_IMAGE #Create Snapshot
 +qemu-img snapshot -a $SNAPSHOT_NAME $DISK_IMAGE #Restore (Apply) Snapshot
 +
 +qemu-img snapshot -d  $SNAPSHOT_NAME  $DISK_IMAGE #Delete Snapshot
 +
 +</code>
 ++++ Checkpoints increment backup| ++++ Checkpoints increment backup|
 <code BASH> <code BASH>
Line 84: Line 98:
 </details> </details>
 ```` ````
 +</code>
 +++++
 +
 +++++ Whole libvirt hierarchy of path|
 +<code BASH>
 +# https://www.reddit.com/r/linuxquestions/comments/16kx0oi/how_do_i_change_libvirtqemuvirtmanager_s_xml/
 +# path of libvirt 
 +
 +/etc/libvirt/ Holds QEMU/Libvirt configurations files are.
 +/etc/libvirt/hooks/ Holds your own scripts that would starts when a specific VM does.
 +/etc/libvirt/nwfilter/ Looks like Libvirt has its own networking/firewall rules.
 +/etc/libvirt/qemu/ Holds VMs' XMLs are stored.
 +/etc/libvirt/qemu/networks/ Holds QEMU/Libvirt virtual networks' XMLs are.
 +/etc/libvirt/qemu/networks/autostart/ A QEMU/Libvirt virtual network XML symlinked there will make said virtual network starts when QEMU/Libvirt does.
 +/etc/libvirt/secrets/ ???
 +/etc/libvirt/storage/ Holds QEMU/Libvirt datastores/pool configurations files are.
 +/etc/libvirt/storage/autostart/ A QEMU/Libvirt datastore/pool configuration file symlinked there will make said datastore/pool starts when QEMU/Libvirt does.
 +
 +/var/lib/libvirt/boot/ ???
 +/var/lib/libvirt/dnsmasq/ Holds further QEMU/Libvirt virtual networks' configuration files.
 +/var/lib/libvirt/images/ Default QEMU/Libvirt virtual disks' datastore/pool.
 +/var/lib/libvirt/qemu/ ???
 +/var/lib/libvirt/qemu/channel/ ???
 +/var/lib/libvirt/qemu/target/ ???
 +/var/lib/libvirt/qemu/checkpoint/ ???
 +/var/lib/libvirt/qemu/dump/ ???
 +/var/lib/libvirt/qemu/nvram/ Holds VMs' UEFI settings. Same goes for TPM and Secure Boot databases?
 +/var/lib/libvirt/qemu/ram/ ???
 +/var/lib/libvirt/qemu/ram/libvirt/ ???
 +/var/lib/libvirt/qemu/libvirt/qemu/ ???
 +/var/lib/libvirt/qemu/save/ Looks like it holds VMs' saved states.
 +/var/lib/libvirt/qemu/snapshot/ Looks like it's where VMs' snapshot are saved.
 +/var/lib/libvirt/sanlock/ ???
 </code> </code>
 ++++ ++++
  • virtualisation.1719878969.txt.gz
  • Last modified: 2024/07/02 00:09
  • by admin