Skip to content

Commit 550b8ce

Browse files
committed
Fix starting audio daemon
After QubesOS/qubes-core-admin#689 the type of the 'xid' property is preserved and it's int now. Fix pacat daemon parameters to convert it back to string.
1 parent 933256a commit 550b8ce

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

qubesadmin/tools/qvm_start_daemon.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,12 @@ async def start_audio_for_vm(self, vm):
665665
666666
:param vm: VM for which start AUDIO daemon
667667
"""
668-
pacat_cmd = [PACAT_DAEMON_PATH, '-l', self.pacat_domid(vm), vm.name]
668+
pacat_cmd = [
669+
PACAT_DAEMON_PATH,
670+
"-l",
671+
str(self.pacat_domid(vm)),
672+
vm.name,
673+
]
669674
vm.log.info('Starting AUDIO')
670675

671676
await asyncio.create_subprocess_exec(*pacat_cmd)

0 commit comments

Comments
 (0)