-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathorg.qemu.VMState1.conf
32 lines (29 loc) · 1.11 KB
/
org.qemu.VMState1.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0"?>
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<!--
Copyright (c) 2021, Nutanix, Inc.
Author: [email protected]
Conntrack-Migrator v.1.0 is dual licensed under the BSD 3 Clause License or the
GNU General Public License version 2.
-->
<busconfig>
<!--
This configuration extends the system dbus configuration to allow
ownership of name org.qemu.VMState1.
Also, overrides the connection limit to 100k per bus which is same as
a session bus.
-->
<policy user='root'>
<allow own='org.qemu.VMState1'/>
</policy>
<policy context='default'>
<allow user="root" /> <!-- Allow conntrack_migrator to connect to dbus -->
<allow user="qemu" /> <!-- Allow qemu to connect to dbus -->
<allow send_destination='org.qemu.VMState1' />
<allow receive_sender='org.qemu.VMState1' />
<allow send_destination='org.freedesktop.DBus' />
</policy>
<limit name="max_completed_connections">100000</limit>
<limit name="max_connections_per_user">100000</limit>
</busconfig>