Skip to content

Commit bdc3e5e

Browse files
committed
Only use qemu-guest-agent on macos
On linux/windows, we don't setup the needed vsock devices, so qemu-guest-agent fails to start. We can use `ConditionVirtualization=apple` to only start it when running on a mac.
1 parent e09430b commit bdc3e5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qemu-guest-agent.service

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[Unit]
22
Description=QEMU Guest Agent
33
IgnoreOnIsolate=True
4+
ConditionVirtualization=apple
45

56
[Service]
67
UMask=0077

0 commit comments

Comments
 (0)