Re: [RFC] dbus-vmstate: Connect to the dbus only during the migration phase

2020-12-02 Thread Daniel P . Berrangé
On Wed, Dec 02, 2020 at 10:33:01PM +0530, priyankar jain wrote: > On 02/12/20 9:46 pm, Daniel P. Berrangé wrote: > > On Wed, Dec 02, 2020 at 09:25:27PM +0530, priyankar jain wrote: > > > On 20/11/20 12:17 am, Daniel P. Berrangé wrote: > > > > On Thu, Nov 19, 2020 at 06:28:55PM +, Priyankar Jain

Re: [RFC] dbus-vmstate: Connect to the dbus only during the migration phase

2020-12-02 Thread priyankar jain
On 02/12/20 9:46 pm, Daniel P. Berrangé wrote: On Wed, Dec 02, 2020 at 09:25:27PM +0530, priyankar jain wrote: On 20/11/20 12:17 am, Daniel P. Berrangé wrote: On Thu, Nov 19, 2020 at 06:28:55PM +, Priyankar Jain wrote: Today, dbus-vmstate maintains a constant connection to the dbus. This i

Re: [RFC] dbus-vmstate: Connect to the dbus only during the migration phase

2020-12-02 Thread Daniel P . Berrangé
On Wed, Dec 02, 2020 at 09:25:27PM +0530, priyankar jain wrote: > On 20/11/20 12:17 am, Daniel P. Berrangé wrote: > > On Thu, Nov 19, 2020 at 06:28:55PM +, Priyankar Jain wrote: > > > Today, dbus-vmstate maintains a constant connection to the dbus. This is > > > problematic for a number of reas

Re: [RFC] dbus-vmstate: Connect to the dbus only during the migration phase

2020-12-02 Thread priyankar jain
On 20/11/20 12:17 am, Daniel P. Berrangé wrote: On Thu, Nov 19, 2020 at 06:28:55PM +, Priyankar Jain wrote: Today, dbus-vmstate maintains a constant connection to the dbus. This is problematic for a number of reasons: 1. If dbus-vmstate is attached during power-on, then the device holds

Re: [RFC] dbus-vmstate: Connect to the dbus only during the migration phase

2020-11-19 Thread Daniel P . Berrangé
On Thu, Nov 19, 2020 at 06:28:55PM +, Priyankar Jain wrote: > Today, dbus-vmstate maintains a constant connection to the dbus. This is > problematic for a number of reasons: > 1. If dbus-vmstate is attached during power-on, then the device holds >the unused connection for a long period of t

[RFC] dbus-vmstate: Connect to the dbus only during the migration phase

2020-11-19 Thread Priyankar Jain
Today, dbus-vmstate maintains a constant connection to the dbus. This is problematic for a number of reasons: 1. If dbus-vmstate is attached during power-on, then the device holds the unused connection for a long period of time until migration is triggered, thus unnecessarily occupying dbus.