Skip to content

Commit 7c3a8d1

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 c4097a0 commit 7c3a8d1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

qubesadmin/tools/qvm_start_daemon.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,12 @@ async def start_audio_for_vm(self, vm):
779779
780780
:param vm: VM for which start AUDIO daemon
781781
"""
782-
pacat_cmd = [PACAT_DAEMON_PATH, "-l", self.pacat_domid(vm), vm.name]
782+
pacat_cmd = [
783+
PACAT_DAEMON_PATH,
784+
"-l",
785+
str(self.pacat_domid(vm)),
786+
vm.name,
787+
]
783788
vm.log.info("Starting AUDIO")
784789

785790
await asyncio.create_subprocess_exec(*pacat_cmd)

0 commit comments

Comments
 (0)