Thursday, February 27, 2014

virt-install command line introspection

A new feature shipped with virt-manager 1.0.0 is simple command line introspection for virt-install and virt-xml.

Basically, any of the compound options like --disk or --graphics that take sub arguments of the form opt1=val1,opt2=val2,... will print all their sub arguments if invoked like --disk=? or --graphics=help. Example:

 $ virt-install --disk=? --network=help  
 --disk options:  
  backing_store  
  boot_order  
  bus  
  cache  
  clearxml  
  device  
  driver_name  
  driver_type  
  error_policy  
  format  
  io  
  path  
  pool  
  read_bytes_sec  
  read_iops_sec  
  readonly  
  removable  
  serial  
  shareable  
  size  
  sparse  
  startup_policy  
  target  
  total_bytes_sec  
  total_iops_sec  
  vol  
  write_bytes_sec  
  write_iops_sec
  
 --network options:  
  boot_order  
  clearxml  
  driver_name  
  driver_queues  
  filterref  
  mac  
  model  
  source  
  source_mode  
  target  
  type  
  virtualport_instanceid  
  virtualport_managerid  
  virtualport_type  
  virtualport_typeid  
  virtualport_typeidversion  

We aim to document common bits in the virt-install man page, but for less commonly used options it's better to see the official libvirt XML documenation.

Friday, February 14, 2014

virt-manager 1.0.0 released!

I'm happy to announce the release of virt-manager 1.0.0!

Our version numbers were starting to get awkward, and this release was suitably featureful, so it felt like time to bump the major version. (And it's trendy these days, right?).

virt-manager is a desktop application for managing KVM, Xen, and LXC virtualization via libvirt.

The release can be downloaded from:

http://virt-manager.org/download/

The direct download links are:

http://virt-manager.org/download/sources/virt-manager/virt-manager-1.0.0.tar.gz

This release includes:

- virt-manager: Snapshot support
- New tool virt-xml: Edit libvirt XML in one shot from the command line:
http://www.redhat.com/archives/libvir-list/2014-January/msg01226.html
- Improved defaults: qcow2, USB2, host CPU model, guest agent channel, ...
- Introspect command line options like --disk=? or --network=help
- The virt-image tool will be removed before the next release, speak up
if you have a good reason not to remove it.
- virt-manager: Support arm vexpress VM creation
- virt-manager: Add guest memory usage graphs (Thorsten Behrens)
- virt-manager: UI for editing devices (C├ędric Bosdonnat)
- Spice USB redirection support (Guannan Ren)
- tpm  UI and command line support (Stefan Berger)
- rng UI and command line support (Giuseppe Scrivano)
- panic UI and command line support (Chen Hanxiao)
- blkiotune command line support (Chen Hanxiao)
- virt-manager: support for glusterfs storage pools (Giuseppe Scrivano)
- cli: New options --memory, --features, --clock, --metadata, --pm
- Greatly improve app responsiveness when connecting to remote hosts
- Lots of UI cleanup and improvements 


Over the next few weeks I'll be on writing a bit more in depth about some of the above changes.