Quoting Tero Marttila (te...@paivola.fi):
> A type=VIR_STORAGE_TYPE_VOLUME disk is not necessarily a
> virStoragePoolDefPtr.type=VIR_STORAGE_POOL_LOGICAL, and may or may not
> involve a /dev/... path; the logic for translating them into src paths
> seems to be somewhere like qemuTranslateDiskSourcePool() via
> virStorageVolGetPath(), and seems to also depend on the mode?

I did see that code and was worried that might be the case.

> AFAICT the significant difference is between the persistent config and
> the "live" running config for a domain; the later contains the actual
> translated <source dev='...' /> paths directly. Ideally virt-aa-helper
> would be based off of the translated config?

Doesn't seem to be, though there may be some way of doing that that I'm
not aware of.  Current virt-aa-helper just seems to only read the domain's
xml and works purely based on that.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1343245

Title:
  virt-aa-helper does not whitelist actual <source dev='...'> paths for
  domain <disk type='volume'>

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1343245/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to