[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] drivers/xen/hypervisor: Expose VM SIF flags to userspace


  • To: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
  • From: "Per Bilse (3P)" <Per.Bilse@xxxxxxxxxx>
  • Date: Tue, 29 Nov 2022 17:38:06 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uG/FEATAhOMNZcQ2jF0SvGGRkIGOUT6OcTPQ3NjN2Ck=; b=emFR/TzMPrZ0REFYQ8/Xeu8eWkCdueB9BM5PNrJo+Q118mYloQusZMshMNRTqdlta0yNevuL3So6KI8oF+2tdluWW3f6VUaq4lApDhl3Q/uDEFtwt0C3vowYZnDX5v2zh+oS97Rxn4AW8gltXh0eg/vbJraPhQ64MRd2WjdWJjqkDJEcxghfaJAxPIjlapRHh5Xu+Gl5NwtLrB7HlOlGJlVtKhyCHj1tZ9rlMlRI20hv04EOYhsvLnjeF8HfBmwwf41Ur4nBY5jscNYNUf6wmAMRCVBkfWc3nE3y+/u1FlD4ih1MQPhrBNXtlHTyrAQMrBgGJanwlOOkrMOChDzhzQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C9bk4lOKIoaxVbUP3Tg6l5dvbICf3c5mfzpRodLd7OQoZiyMsbBbnY5Llw0ttU9OZhHugTOnAxxz+N/cpGzRC8GsJGqBXPxiEEtGxUjSym2L/mokhbpHKyT3KP5YH4Z3oK0iMwjn+DW8umrbXi4LOMamK44mTsmF4UWVuO++lD3Huf+wsbNJiMzCVmh7j0g+5qVrHiHpKdPFvuKidbHcMSEaeadefr2brS4S0sBE5bxW48oMHHMdwu8oXrMKRJgLAngX0hMbIKCfamBXG6Px+ZBD2WNqWT6wzASn9LXJfM2sBJCLWx/JJp1aXXV8/exI7eOXH/HKfwt0f06GSKocXg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx>, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, "moderated list:XEN HYPERVISOR INTERFACE" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 29 Nov 2022 17:38:30 +0000
  • Ironport-data: A9a23:tF9Gk6I+4p5U9TzhFE+RTJQlxSXFcZb7ZxGr2PjKsXjdYENShjZUy TceWm/Sa/aIamT1fNsiYNy19xkA7JKHytZqTVFlqX01Q3x08seUXt7xwmUcnc+xBpaaEB84t ZV2hv3odp1coqr0/0/1WlTZhSAgk/rOHv+kUrWs1hlZHWdMUD0mhQ9oh9k3i4tphcnRKw6Ws Jb5rta31GWNglaYCUpJrfPdwP9TlK6q4mlB5wZvPasjUGL2zBH5MrpOfcldEFOgKmVkNrbSb /rOyri/4lTY838FYj9yuu+mGqGiaue60Tmm0hK6aYD76vRxjnVaPpIAHOgdcS9qZwChxLid/ jnvWauYEm/FNoWU8AgUvoIx/ytWZcWq85efSZSzXFD6I+QrvBIAzt03ZHzaM7H09c4tEzoX8 /g7AQopazWOlqWc0ujlcMRz05FLwMnDZOvzu1lG5BSAVLMMZ8CGRK/Ho9hFwD03m8ZCW+7EY NYUYiZuaxKGZABTPlAQC9Q1m+LAanvXKmUE7g7K4/d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Ccg8SgTwQrPMkcEIDduRCes15Yp3nI 6EXEJTtGY0dU6rAcqS3IdT+hSIRGmmRzzixsxX+pA849THNfLWGDzGTEprn9qrov0ZDMGeU/ GvOIhOC/umKWf1A45G0wD3RpEXI3gDV88evMo9Rju104v2A5yvsvaefOfYJbLrHzphUmTjAm EbVDy2P8lE5lDDYA6MvPEQYQKeRqXSx+MBLEGBxZls9GEkDPw8jiEFzVKk+8qMNTpO9qQrYU oWGsKVrp+G
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHZBBlWhmTXSR3gVkWwTyVOnEbYaw==
  • Thread-topic: [PATCH] drivers/xen/hypervisor: Expose VM SIF flags to userspace

On 29/11/2022 16:41, Andrew Cooper wrote:
> As for the actual flags exposed, it would be very beneficial not to copy
> the exist proc interface.  It would be better to expose a subdir that
> had files containing booleans, because that also gives userspace an easy
> way to figure out if the particular flag is known to Linux,
> independently of whether the flag is set for a specific VM.

OK, I'll do that instead; I thought it was the single "control_d" that 
shouldn't be perpetuated.

Best,

   -- Per


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.