Re: [PATCH V2] xen: export device state to sysfs

From: Boris Ostrovsky
Date: Tue Aug 28 2018 - 18:25:26 EST


On 08/28/2018 01:14 PM, Joe Jin wrote:
> On 8/28/18 9:53 AM, Boris Ostrovsky wrote:
>> On 08/28/2018 10:56 AM, Joe Jin wrote:
>>> Export device state to sysfs to allow for easier get device state.
>>>
>>> Signed-off-by: Joe Jin <joe.jin@xxxxxxxxxx>
>>> Cc: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
>>> Cc: Juergen Gross <jgross@xxxxxxxx>
>>> Cc: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
>>> ---
>>> Documentation/ABI/stable/sysfs-bus-xen-backend | 9 +++++++++
>>> drivers/xen/xenbus/xenbus_probe.c | 9 +++++++++
>>> 2 files changed, 18 insertions(+)
>>>
>>> diff --git a/Documentation/ABI/stable/sysfs-bus-xen-backend b/Documentation/ABI/stable/sysfs-bus-xen-backend
>>> index 3d5951c8bf5f..e8b60bd766f7 100644
>>> --- a/Documentation/ABI/stable/sysfs-bus-xen-backend
>>
>> Won't this show up in the frontend as well?
> Yes it will, current there is no any ABI document for xen-frontend.
>

True.

Applied to for-linus-19b.

-boris