devices: always pass persistent parameter to device-list-attached event
This commit is contained in:
parent
17324b7ac7
commit
a407e34931
@ -254,7 +254,8 @@ class DeviceCollection(object):
|
||||
|
||||
def attached(self):
|
||||
'''List devices which are (or may be) attached to this vm '''
|
||||
attached = self._vm.fire_event('device-list-attached:' + self._bus)
|
||||
attached = self._vm.fire_event('device-list-attached:' + self._bus,
|
||||
persistent=None)
|
||||
if attached:
|
||||
return [dev for dev, _ in attached]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user