You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As described in [0], libvirt_domain_attach_device() in v0.8.1 calls virDomainAttachDevice when flags == 0, which doesn't work when the target domain isn't active, whereas calling virDomainAttachDeviceFlags works even on inactive domains . This was changed in [1] and seems to be an unfortunate design flaw [2], where virDomainAttachDeviceFlags(0) != virDomainAttachDevice. Similarly for virDomainDetachDeviceFlags and virDomainDettachDevice.
As described in [0],
libvirt_domain_attach_device()
in v0.8.1 callsvirDomainAttachDevice
when flags == 0, which doesn't work when the target domain isn't active, whereas callingvirDomainAttachDeviceFlags
works even on inactive domains . This was changed in [1] and seems to be an unfortunate design flaw [2], wherevirDomainAttachDeviceFlags(0)
!=virDomainAttachDevice
. Similarly forvirDomainDetachDeviceFlags
andvirDomainDettachDevice
.[0] vagrant-libvirt/vagrant-libvirt#1800
[1] 798c0ca
[2] vagrant-libvirt/vagrant-libvirt#1800 (comment)
The text was updated successfully, but these errors were encountered: