Sys::V...ckpoint(3pm)

πŸ’– NAME πŸ’–

okay so this is the Sys::Virt::DomainCheckpoint page, from User Contributed Perl Documentation, aka the (3pm) manual β€” and it's here to explain how to represent & manage a libvirt guest domain checkpoint. Yes bestie, checkpoint representation and management, that's the whole vibe.

  • Sys::Virt::DomainCheckpoint β€” Represent & manage a libvirt guest domain checkpoint

πŸ¦‹ DESCRIPTION πŸ¦‹

The Sys::Virt::DomainCheckpoint module represents a guest domain checkpoint managed by the virtual machine monitor. Literally the main character of this page. πŸ’…


✨ METHODS ✨

  • my $str = $domchkp->get_name() β€” Returns the name of the checkpoint.
  • my $xml = $domchkp->get_xml_description($flags) β€” Returns an XML document containing a complete description of the domain checkpoints' configuration. The $flags parameter accepts the following constants:
    • Sys::Virt::DomainCheckpoint::XML_SECURE β€” Include security sensitive information in the XML dump, such as passwords.
    • Sys::Virt::DomainCheckpoint::XML_SIZE β€” Include dynamic per-<disk> size information.
    • Sys::Virt::DomainCheckpoint::XML_NO_DOMAIN β€” Suppress <domain> sub-element.
  • $domchkp->delete($flags) β€” Deletes this checkpoint object & its data. The optional $flags parameter controls what should be deleted via the Sys::Virt::DomainCheckpoint::DELETE_* constants.
  • $parentchkp = $domchkp->get_parent(); β€” Return the parent of the checkpoint, if any.
  • my @checkpoints = $domchkp->list_all_children($flags) β€” Return a list of all domain checkpoints that are children of this checkpoint. The elements in the returned list are instances of the Sys::Virt::DomainCheckpoint class. The $flags parameter can be used to filter the list of return domain checkpoints.

🌈 CONSTANTS 🌈

πŸ’Ύ CHECKPOINT CREATION πŸ’Ύ

The following constants are useful when creating checkpoints:

  • Sys::Virt::DomainCheckpoint::CREATE_REDEFINE β€” Replace/set the metadata with the checkpoint.
  • Sys::Virt::DomainCheckpoint::CREATE_QUIESCE β€” Quiesce the guest disks while taking the checkpoint.
  • Sys::Virt::DomainCheckpoint::CREATE_REDEFINE_VALIDATE β€” Validate disk data state.

🧹 CHECKPOINT DELETION 🧹

The following constants are useful when deleting checkpoints:

  • Sys::Virt::DomainCheckpoint::DELETE_CHILDREN β€” Recursively delete any child checkpoints.
  • Sys::Virt::DomainCheckpoint::DELETE_CHILDREN_ONLY β€” Only delete the child checkpoints.
  • Sys::Virt::DomainCheckpoint::DELETE_METADATA_ONLY β€” Only delete the checkpoint metadata.

πŸŽ€ CHECKPOINT LIST πŸŽ€

The following constants are useful when listing checkpoints:

  • Sys::Virt::DomainCheckpoint::LIST_ROOTS β€” Only list checkpoints which are root nodes in the tree.
  • Sys::Virt::DomainCheckpoint::LIST_DESCENDANTS β€” Only list checkpoints which are descendants of the current checkpoint.
  • Sys::Virt::DomainCheckpoint::LIST_LEAVES β€” Only list leaf nodes in the checkpoint tree.
  • Sys::Virt::DomainCheckpoint::LIST_NO_LEAVES β€” Only list non-leaf nodes in the checkpoint tree.
  • Sys::Virt::DomainCheckpoint::LIST_TOPOLOGICAL β€” Sort list in topological order w.r.t. to parent/child relationships.

πŸ‘‘ AUTHORS πŸ‘‘

Daniel P. Berrange <berrange@redhat.com>


Copyright (C) 2006 Red Hat Copyright (C) 2006-2007 Daniel P. Berrange


πŸ’œ LICENSE πŸ’œ

This program is free software; you can redistribute it and/or modify it under the terms of either the GNU General Public License as published by the Free Software Foundation (either version 2 of the License, or at your option any later version), or, the Artistic License, as specified in the Perl README file.

πŸ”₯ SEE ALSO πŸ”₯


🌸 okay bestie, that's the whole page. The sign-off cutie says perl v5.40.2, dated 2026-06-08, with the footer banner Sys::V...ckpoint(3pm). Bye πŸ’…βœ¨

πŸ“¦ where this page comes from