Re: [Qemu-devel] [PATCH v2] ppc: add host-serial and host-model machine attributes

2019-02-14 Thread David Gibson
On Fri, Feb 15, 2019 at 12:57:35AM +0530, P J P wrote: > +-- On Wed, 13 Feb 2019, David Gibson wrote --+ > | > + > | > +object_class_property_add_str(oc, "host-serial", > | > +machine_get_host_serial, machine_set_host_serial, > | > +_abort); > | > +

Re: [Qemu-devel] [PATCH v2] ppc: add host-serial and host-model machine attributes

2019-02-14 Thread P J P
+-- On Wed, 13 Feb 2019, David Gibson wrote --+ | > + | > +object_class_property_add_str(oc, "host-serial", | > +machine_get_host_serial, machine_set_host_serial, | > +_abort); | > +object_class_property_set_description(oc, "host-serial", | > +"Set host's system-id

Re: [Qemu-devel] [PATCH v2] ppc: add host-serial and host-model machine attributes

2019-02-12 Thread David Gibson
On Tue, Feb 12, 2019 at 05:09:29PM +0530, P J P wrote: > From: Prasad J Pandit > > On ppc hosts, hypervisor shares following system attributes > > - /proc/device-tree/system-id > - /proc/device-tree/model > > with a guest. This could lead to information leakage and misuse.[*] > Add machine

[Qemu-devel] [PATCH v2] ppc: add host-serial and host-model machine attributes

2019-02-12 Thread P J P
From: Prasad J Pandit On ppc hosts, hypervisor shares following system attributes - /proc/device-tree/system-id - /proc/device-tree/model with a guest. This could lead to information leakage and misuse.[*] Add machine attributes to control such system information exposure to a guest. [*]