Re: [RFC PATCH 0/2] Introduce a way to adjust CLOCK_BOOTTIME from userspace for VM guests

2021-02-10 Thread Arnd Bergmann
On Wed, Feb 10, 2021 at 11:39 AM Hikaru Nishida wrote: > From: Hikaru Nishida > > We'd like to add a sysfs interface that enable us to advance > CLOCK_BOOTTIME from userspace. The use case of this change is that > adjusting guest's CLOCK_BOOTTIME as host suspends to ensure that the > guest can

Re: [RFC PATCH 0/2] Introduce a way to adjust CLOCK_BOOTTIME from userspace for VM guests

2021-02-10 Thread Alexander Graf
On 10.02.21 11:39, Hikaru Nishida wrote: From: Hikaru Nishida Hi folks, We'd like to add a sysfs interface that enable us to advance CLOCK_BOOTTIME from userspace. The use case of this change is that adjusting guest's CLOCK_BOOTTIME as host suspends to ensure that the guest can notice

Re: [RFC PATCH 0/2] Introduce a way to adjust CLOCK_BOOTTIME from userspace for VM guests

2021-02-10 Thread Greg Kroah-Hartman
On Wed, Feb 10, 2021 at 07:39:06PM +0900, Hikaru Nishida wrote: > From: Hikaru Nishida > > > Hi folks, > > We'd like to add a sysfs interface that enable us to advance > CLOCK_BOOTTIME from userspace. Why sysfs? What device is the clock that you are attaching to here? Why not use the

[RFC PATCH 0/2] Introduce a way to adjust CLOCK_BOOTTIME from userspace for VM guests

2021-02-10 Thread Hikaru Nishida
From: Hikaru Nishida Hi folks, We'd like to add a sysfs interface that enable us to advance CLOCK_BOOTTIME from userspace. The use case of this change is that adjusting guest's CLOCK_BOOTTIME as host suspends to ensure that the guest can notice the device has been suspended. We have an