Re: hook script for changing disk definition before guest start

2022-10-31 Thread Gionatan Danti
Il 2022-10-24 10:57 Gionatan Danti ha scritto: Hi Michal, I agree that it would be _way_ better for libvirt/cockpit/virt-aa-helper/whatever to be fixed. I only resorted to this "manually change the disk path" because it proved problematic to fix the underlying issue in virt-aa-helper (at least b

Re: hook script for changing disk definition before guest start

2022-10-24 Thread Gionatan Danti
Il 2022-10-24 10:26 Michal Prívozník ha scritto: This is downright libvirt bug and needs to be fixed. ... I hope we can resolve this libvirt bug soon and you can use fixed version. Michal Hi Michal, I agree that it would be _way_ better for libvirt/cockpit/virt-aa-helper/whatever to be fixed.

Re: hook script for changing disk definition before guest start

2022-10-24 Thread Michal Prívozník
On 10/21/22 15:30, Gionatan Danti wrote: > Hi all, > due to this [1] I am trying to change a guest's disk definition from > "pool volume" to "file" via hook scripts. This is downright libvirt bug and needs to be fixed. For the libvirt developers on CC: when starting a domain, the QEMU driver sets

hook script for changing disk definition before guest start

2022-10-21 Thread Gionatan Danti
Hi all, due to this [1] I am trying to change a guest's disk definition from "pool volume" to "file" via hook scripts. This seems an easy task via virsh detach-disk and virsh attach-disk, but virsh can not be called inside libvirt hook scripts. The best approach would be to change the disk de