EnglishFrenchSpanish

Ad


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

  • 1
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

Ad