Re: [PATCH v8] drivers/misc: sysgenid: add system generation id driver

2021-03-23 Thread Catangiu, Adrian Costin
Hi Greg, After your previous reply on this thread we started considering to provide this interface and framework/functionality through a userspace service instead of a kernel interface. The latest iteration on this evolving patch-set doesn’t have strong reasons for living in the kernel anymore

Re: [PATCH v7 0/2] System Generation ID driver and VMGENID backend

2021-03-04 Thread Catangiu, Adrian Costin
Hi Michael, On 24/02/2021, 11:06, "Michael S. Tsirkin" wrote: CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. On Wed, Feb 24, 2021 at 10:47:30AM +0200, Adrian

Re: [PATCH v5 1/2] drivers/misc: sysgenid: add system generation id driver

2021-02-09 Thread Catangiu, Adrian Costin
On 09/02/2021, 16:53, "Michael S. Tsirkin" wrote: On Mon, Feb 01, 2021 at 07:24:53PM +0200, Adrian Catangiu wrote: > - Background and problem > > The System Generation ID feature is required in virtualized or > containerized environments by applications that work with local

Re: [PATCH v5 1/2] drivers/misc: sysgenid: add system generation id driver

2021-02-09 Thread Catangiu, Adrian Costin
On 02/02/2021, 14:05, "Greg KH" wrote: On Mon, Feb 01, 2021 at 07:24:53PM +0200, Adrian Catangiu wrote: > +EXPORT_SYMBOL(sysgenid_bump_generation); EXPORT_SYMBOL_GPL()? I have to ask... Good catch! Will update. Amazon Development Center (Romania) S.R.L. registered office: 27A

Re: [PATCH v5 1/2] drivers/misc: sysgenid: add system generation id driver

2021-02-09 Thread Catangiu, Adrian Costin
On 02/02/2021, 14:09, "Greg KH" wrote: On Mon, Feb 01, 2021 at 07:24:53PM +0200, Adrian Catangiu wrote: > +static long sysgenid_ioctl(struct file *file, > +unsigned int cmd, unsigned long arg) Very odd indentation style,

Re: [PATCH v3] drivers/virt: vmgenid: add vm generation id driver

2021-01-10 Thread Catangiu, Adrian Costin
+ Eric W. Biederman Eric's email was filtered by my server for some reason so I can't directly reply to it, this is the closest thread relative I could answer on. On 01/12/2020 12:00, Eric W. Biederman wrote: > > > On 27.11.20 19:26, Catangiu, Adrian Costin wrote: >> - Backgrou

Re: [PATCH v2] drivers/virt: vmgenid: add vm generation id driver

2020-11-27 Thread Catangiu, Adrian Costin
the hope that amazon will accept my mail this time instead > of replying "550 Too many invalid recipients" again] > > On Fri, Nov 20, 2020 at 11:29 PM Jann Horn wrote: >> On Mon, Nov 16, 2020 at 4:35 PM Catangiu, Adrian Costin >> wrote: >>> This p

[PATCH v3] drivers/virt: vmgenid: add vm generation id driver

2020-11-27 Thread Catangiu, Adrian Costin
- Background The VM Generation ID is a feature defined by Microsoft (paper: http://go.microsoft.com/fwlink/?LinkId=260709) and supported by multiple hypervisor vendors. The feature is required in virtualized environments by apps that work with local copies/caches of world-unique data such as

Re: [PATCH v2] drivers/virt: vmgenid: add vm generation id driver

2020-11-27 Thread Catangiu, Adrian Costin
On 18/11/2020 12:30, Alexander Graf wrote: > > > On 16.11.20 16:34, Catangiu, Adrian Costin wrote: >> - Future improvements >> >> Ideally we would want the driver to register itself based on devices' >> _CID and not _HID, but unfortunately I couldn't find

[PATCH v2] drivers/virt: vmgenid: add vm generation id driver

2020-11-16 Thread Catangiu, Adrian Costin
- Background The VM Generation ID is a feature defined by Microsoft (paper: http://go.microsoft.com/fwlink/?LinkId=260709) and supported by multiple hypervisor vendors. The feature is required in virtualized environments by apps that work with local copies/caches of world-unique data such as

Re: [PATCH] drivers/virt: vmgenid: add vm generation id driver

2020-10-20 Thread Catangiu, Adrian Costin
Hi all, On 17/10/2020, 21:09, "Graf (AWS), Alexander" wrote: On 17.10.20 15:24, Jason A. Donenfeld wrote: > > After discussing this offline with Jann a bit, I have a few general > comments on the design of this. > > First, the UUID communicated by the hypervisor

Re: [PATCH] drivers/virt: vmgenid: add vm generation id driver

2020-10-17 Thread Catangiu, Adrian Costin
After discussing this offline with Jann a bit, I have a few general comments on the design of this. First, the UUID communicated by the hypervisor should be consumed by the kernel -- added as another input to the rng -- and then userspace should be notified that it should

Re: [PATCH] drivers/virt: vmgenid: add vm generation id driver

2020-10-16 Thread Catangiu, Adrian Costin
Sorry, I forgot to add a few people interested in this and the KVM ML to CC. Added them. On 16/10/2020, 17:33, "Catangiu, Adrian Costin" wrote: - Background The VM Generation ID is a feature defined by Microsoft (paper: http://go.microsoft.com/fwlink/?Lin

[PATCH] drivers/virt: vmgenid: add vm generation id driver

2020-10-16 Thread Catangiu, Adrian Costin
- Background The VM Generation ID is a feature defined by Microsoft (paper: http://go.microsoft.com/fwlink/?LinkId=260709) and supported by multiple hypervisor vendors. The feature is required in virtualized environments by apps that work with local copies/caches of world-unique data such as