Merge remote-tracking branch 'qubesos/pr/53' into core3-devel

* qubesos/pr/53:
  Fix qvm-block lists internal volumes on non default pools
This commit is contained in:
Marek Marczykowski-Górecki 2016-09-04 21:11:27 +02:00
commit dc3dd1f5e9
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -114,6 +114,8 @@ def list_volumes(args):
for domain in domains: # gather the domain names
try:
for volume in domain.attached_volumes:
if not args.internal and volume.internal:
continue
try:
volume_data = vd_dict[volume.pool][volume.vid]
volume_data.domains += [(domain.name, volume.name)]