EnglishFrenchSpanish

OnWorks favicon

libvirt-migrate-qemu-disks - Online in the Cloud

Run libvirt-migrate-qemu-disks in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command libvirt-migrate-qemu-disks that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


libvirt-migrate-qemu-disks - program for migrating pre-0.8.3 domain definitions

DESCRIPTION


Libvirt versions earlier that 0.8.3 would probe a qemu disk to determine its format and
did not require that the format be declared in the XML. Newer versions of libvirt will
default to the 'raw' format when the format is not specified in the XML. As a result, non-
raw disks without unspecified disk format will no longer be available in virtual machines.

libvirt-migrate-qemu-disks aids in transitioning virtual machine definitions to the new
required format. In essence, it will check all domains for affected virtual machines,
probe the affected disks and update the domain definition accordingly. For example, a
domain with:

<disk type='file' device='disk'>
<source file='/var/lib/libvirt/images/vm1.qcow2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' unit='0'/>
</disk>

will be updated to have:

<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/var/lib/libvirt/images/vm1.qcow2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' unit='0'/>
</disk>

USAGE


libvirt-migrate-qemu-disks [-c URI] [-d] -a

libvirt-migrate-qemu-disks [-c URI] [-d] -t TYPE <DOMAIN>

OPTIONS


-h, --help
show help message and exit

-a probe all domains and migrate if necessary

-c URI connection URI to use. If one is not specified, will use qemu:///system. Only
qemu:///system and qemu:///session is supported.

-t TYPE
migrate specified domains from raw to disk format TYPE

-d debug output

EXAMPLES


To probe and migrate all exisiting domains (root may be needed to probe the disk):

# libvirt-migrate-qemu-disks -a

To migrate the 'vm1' and 'vm2' domains:

# libvirt-migrate-qemu-disks -t qcow2 vm1 vm2

Use libvirt-migrate-qemu-disks online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

  • 1
    abicompat
    abicompat
    abicompat - check ABI compatibility
    abicompat checks that an application
    that links against a given shared
    library is still ABI compatible with a
    subsequent ve...
    Run abicompat
  • 2
    abidiff
    abidiff
    abidiff - compare ABIs of ELF files
    abidiff compares the Application Binary
    Interfaces (ABI) of two shared libraries
    in ELF format. It emits a meaningful
    repor...
    Run abidiff
  • 3
    crip
    crip
    crip - a terminal-based
    ripper/encoder/tagger tool ...
    Run crip
  • 4
    crit
    crit
    crit - CRiu Image Tool ...
    Run crit
  • 5
    galleroob
    galleroob
    galleroob - browse and download web
    image galleries ...
    Run galleroob
  • 6
    gallery-uploader
    gallery-uploader
    gallery-uploader - program to upload
    pictures and video to Gallery ...
    Run gallery-uploader
  • More »

Ad