On 05/19/2015 03:06 PM, Mathew Moon wrote:> It seems that my version of libvirt does not support the flags that yours > does either. I have the latest version from the Ubuntu repos and am running > 14.04. What version are you running and do you know if these features > depend on libvirt, or qemu-img to be upgraded? > > ============================================================================================> root@farnsworth:/var/lib/libvirt/images# virsh -v > 1.2.2libvirt needs to be at least 1.2.6 for active commit> root@farnsworth:/var/lib/libvirt/images# qemu-system-x86_64 --version > QEMU emulator version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.11), Copyright (c)Likewise, qemu needs to be at least 2.2 -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Hi, Sorry about top-posting, didn't know it was a nuisance. As for developing, I wish I could but I have never spent any time coding in c, c++, etc. I am a systems guy, not a developer, so I only work with scripting languages. I would love to have the tech chops to contribute though. If I have a chance I will look through the relevant code and see if there is anything that I can do, but I suspect it will be a bit over my head. I will definitely check out doing snapshot-revert with internal snapshots and hot plugging. With hot plugging I assume you mean to create a storage volume, put it in as a virtual 'cd drive' and mount it that way. Is that correct?
On 05/19/2015 03:29 PM, Mathew Moon wrote:> Hi, > > Sorry about top-posting, didn't know it was a nuisance. As forIt's okay - we were all new once.> developing, > I wish I could but I have never spent any time coding in c, c++, etc. I > am a systems guy, not a developer, so I only work with scripting languages. > I would love to have the tech chops to contribute though. If I have a > chance I will look through the relevant code and see if there is anything > that I can do, but I suspect it will be a bit over my head.That's okay. Even offering to test patches when they are eventually written is useful.> I will definitely check out doing snapshot-revert with internal > snapshots and hot plugging. With hot plugging I assume you mean to create a > storage volume, put it in as a virtual 'cd drive' and mount it that way. Is > that correct?Not quite a virtual 'cd drive', but an actual IDE, SCSI, or USB drive, at least as far as the emulation presents it from the guest's point of view. The commands 'virsh attach-disk' and 'virsh detach-disk' are the hot-[un]plug wrappers, which basically behave the same as bare metal system adding or removing a disk from the hardware bus while the guest is running (not all hardware handles it gracefully, but there are definitely storage arrays out there that manage just fine). -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org