It's not specific to zvols after all as I just setup a new hypervisor where I hand out host's partitions to the guests like this:
<disk type='file' device='disk'> <driver name='qemu' type='raw' cache='none'/> <source file='/dev/sda4'/> <target dev='vda' bus='virtio'/> </disk>
This is enough to get virt-aa-helper to try reading /etc/nsswitch.conf, /etc/host.conf and /etc/gai.conf.
It's not specific to zvols after all as I just setup a new hypervisor where I hand out host's partitions to the guests like this:
<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source file='/dev/sda4'/>
<target dev='vda' bus='virtio'/>
</disk>
This is enough to get virt-aa-helper to try reading /etc/nsswitch.conf, /etc/host.conf and /etc/gai.conf.