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
    xCAT
    xCAT
    Extreme Cluster Administration Toolkit.
    xCAT is a scalable cluster management
    and provisioning tool that provides
    hardware control, discovery, and OS
    diskful/di...
    Download xCAT
  • 2
    Psi
    Psi
    Psi is cross-platform powerful XMPP
    client designed for experienced users.
    There are builds available for MS
    Windows, GNU/Linux and macOS.. Audience:
    End Users...
    Download Psi
  • 3
    Blobby Volley 2
    Blobby Volley 2
    Official continuation of the famous
    Blobby Volley 1.x arcade game..
    Audience: End Users/Desktop. User
    interface: OpenGL, SDL. Programming
    Language: C++, Lua. C...
    Download Blobby Volley 2
  • 4
    SuiteCRM
    SuiteCRM
    SuiteCRM is the award-winning Customer
    Relationship Management (CRM)
    application brought to you by authors
    and maintainers, SalesAgility. It is the
    world�s mos...
    Download SuiteCRM
  • 5
    Poweradmin
    Poweradmin
    Poweradmin is a web-based DNS
    administration tool for PowerDNS server.
    The interface has full support for most
    of the features of PowerDNS. It has full
    support...
    Download Poweradmin
  • 6
    Gin Web Framework
    Gin Web Framework
    Gin is an incredibly fast web framework
    written in Golang that can perform up to
    40 times faster, thanks to its
    martini-like API and custom version of
    httprout...
    Download Gin Web Framework
  • More »

Linux commands

Ad