mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 11:51:11 +00:00
5a148ce846
Libvirtd has long had integration with avahi for advertising libvirtd using mDNS when TCP/TLS listening is enabled. For a long time the virt-manager application had support for auto-detecting libvirtds on the local network using mDNS, but this was removed last year commit fc8f8d5d7e3ba80a0771df19cf20e84a05ed2422 Author: Cole Robinson <crobinso@redhat.com> Date: Sat Oct 6 20:55:31 2018 -0400 connect: Drop avahi support Libvirtd can advertise itself over avahi. The feature is disabled by default though and in practice I hear of no one actually using it and frankly I don't think it's all that useful The 'Open Connection' wizard has a disproportionate amount of code devoted to this feature, but I don't think it's useful or worth maintaining, so let's drop it I've never heard of any other applications having support for using mDNS to detect libvirtd instances. Though it is theoretically possible something exists out there, it is clearly going to be a niche use case in the virt ecosystem as a whole. By removing avahi integration we can cut down the dependency chain for the basic libvirtd install and reduce our code maint burden. Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
131 lines
2.8 KiB
JSON
131 lines
2.8 KiB
JSON
{
|
|
"servers": [
|
|
{
|
|
"min_workers": 10,
|
|
"max_workers": 50,
|
|
"priority_workers": 5,
|
|
"max_clients": 100,
|
|
"keepaliveInterval": 120,
|
|
"keepaliveCount": 5,
|
|
"keepaliveRequired": true,
|
|
"services": [
|
|
{
|
|
"auth": 0,
|
|
"readonly": true,
|
|
"nrequests_client_max": 2,
|
|
"socks": [
|
|
{
|
|
"fd": 100,
|
|
"errfd": -1,
|
|
"pid": 0,
|
|
"isClient": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"auth": 2,
|
|
"readonly": false,
|
|
"nrequests_client_max": 5,
|
|
"socks": [
|
|
{
|
|
"fd": 101,
|
|
"errfd": -1,
|
|
"pid": 0,
|
|
"isClient": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"clients": [
|
|
{
|
|
"auth": 1,
|
|
"readonly": true,
|
|
"nrequests_max": 15,
|
|
"sock": {
|
|
"fd": 102,
|
|
"errfd": -1,
|
|
"pid": -1,
|
|
"isClient": true
|
|
},
|
|
"privateData": 1729
|
|
},
|
|
{
|
|
"auth": 2,
|
|
"readonly": true,
|
|
"nrequests_max": 66,
|
|
"sock": {
|
|
"fd": 103,
|
|
"errfd": -1,
|
|
"pid": -1,
|
|
"isClient": true
|
|
},
|
|
"privateData": 1729
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"min_workers": 2,
|
|
"max_workers": 50,
|
|
"priority_workers": 5,
|
|
"max_clients": 100,
|
|
"keepaliveInterval": 120,
|
|
"keepaliveCount": 5,
|
|
"keepaliveRequired": true,
|
|
"services": [
|
|
{
|
|
"auth": 0,
|
|
"readonly": true,
|
|
"nrequests_client_max": 2,
|
|
"socks": [
|
|
{
|
|
"fd": 100,
|
|
"errfd": -1,
|
|
"pid": 0,
|
|
"isClient": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"auth": 2,
|
|
"readonly": false,
|
|
"nrequests_client_max": 5,
|
|
"socks": [
|
|
{
|
|
"fd": 101,
|
|
"errfd": -1,
|
|
"pid": 0,
|
|
"isClient": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"clients": [
|
|
{
|
|
"auth": 1,
|
|
"readonly": true,
|
|
"nrequests_max": 15,
|
|
"sock": {
|
|
"fd": 102,
|
|
"errfd": -1,
|
|
"pid": -1,
|
|
"isClient": true
|
|
},
|
|
"privateData": 1729
|
|
},
|
|
{
|
|
"auth": 2,
|
|
"readonly": true,
|
|
"nrequests_max": 66,
|
|
"sock": {
|
|
"fd": 103,
|
|
"errfd": -1,
|
|
"pid": -1,
|
|
"isClient": true
|
|
},
|
|
"privateData": 1729
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|