Bug 832194
Summary: | make <transient> tag in libvirt work for qemu disks | |||
---|---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Jonathan Blandford <jrb> | |
Component: | libvirt | Assignee: | Eric Blake <eblake> | |
Status: | CLOSED DUPLICATE | QA Contact: | ||
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | unspecified | CC: | amit.shah, crobinso, cwei, ddumas, deepakcs, dyuan, eblake, jprokes, mzhan, rbalakri, shyu, socketpair | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1040068 (view as bug list) | Environment: | ||
Last Closed: | 2016-03-21 22:59:53 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1040068 |
Description
Jonathan Blandford
2012-06-14 19:49:12 UTC
Actually, we already _do_ have a <transient> tag supported in the XML, since 0.9.5, it's just that it never got wired up to being supported in qemu. Revisiting this issue - still something we want, but it may first be useful to have the notion of a storage pool associated with a domain, where libvirt allocates from that storage pool instead of from /tmp when creating wrapper files (since /tmp may be small, especially on tmp-on-tmpfs systems) maybe do that: 1. <transient pool=xxxx> 2. Fail if pool type is not a directory 3. Fail if multiple disks defined with <transient> that points to different pools 4. pass TMP environment variable for qemu to a directory where that pool points to? Also, I can try to make patch to QEMU project in order to allow specify directory as: qemu-system-xxx ... -drive snapshot=on,snapshot_dir=... Also, <qemu:commandline> <qemu:arg value='-snapshot'/> </qemu:commandline> does not work now with error: internal error: process exited while connecting to monitor: qemu-system-x86_64: -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1: Device needs media, but drive is empty qemu-system-x86_64: -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1: Device initialization failed. qemu-system-x86_64: -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1: Device 'ide-hd' could not be initialized So, after my patch for QEMU, it seems, that <transient> will not work anyway. Forgot to add, if my patch will go to upstream in QEMU, constraints 3 and 4 should be removed marking as duplicate of an older bug for this feature *** This bug has been marked as a duplicate of bug 508662 *** |