type analysis (only as doc, current theory is on uvt change missing to
add the path)
The first disk is the base qcow disk which refers to the base file.
The loop iterates through backing stores.
Debugging types in old code on the loop:
Print all relevant Data in the loop
printf "type: %ld path %s (srcpool %p)\n", tmp->type, tmp->path, tmp->srcpool
data is ready at:
b ../../../src/conf/domain_conf.c:24870
Iter Call would be:
b ../../../src/conf/domain_conf.c:24875
Breakpoint 5, virDomainDiskDefForeachPath (disk=0x1000495d0a0,
ignoreOpenFailure=<optimized out>, iter=0x59531dc0 <add_file_path>,
opaque=0x3fffeed9cb40) at ../../../src/conf/domain_conf.c:24870
24870 ../../../src/conf/domain_conf.c: No such file or directory.
(gdb) printf "type: %ld path %s (srcpool %p)\n", tmp->type, tmp->path,
tmp->srcpool
type: 1 path /var/lib/uvtool/libvirt/images/kvmguest-artful-normal.qcow
(srcpool (nil))
(gdb) c
Continuing.
Breakpoint 5, virDomainDiskDefForeachPath (disk=0x1000495d0a0,
ignoreOpenFailure=<optimized out>, iter=0x59531dc0 <add_file_path>,
opaque=0x3fffeed9cb40) at ../../../src/conf/domain_conf.c:24870
24870 in ../../../src/conf/domain_conf.c
(gdb) printf "type: %ld path %s (srcpool %p)\n", tmp->type, tmp->path,
tmp->srcpool
type: 1 path
/var/lib/uvtool/libvirt/images/x-uvt-b64-Y29tLnVidW50dS5jbG91ZC5kYWlseTpzZXJ2ZXI6MTcuMTA6cHBjNjRlbCAyMDE3MDcxMw==
(srcpool (nil))
(gdb) c
Continuing.
=> Both are type 1, since there was no srcpool no replacement with
def->srcpool->actualtype is done
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1704782
Title:
qcow base image apparmor rule missing in artful
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1704782/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs