Re: [Qemu-devel] [PATCH v6 wave 2 1/3] hw/isa/lpc_ich9: add SMI feature negotiation via fw_cfg

2017-01-17 Thread Igor Mammedov
On Mon, 16 Jan 2017 21:51:34 +0100 Laszlo Ersek wrote: > On 01/13/17 14:34, Igor Mammedov wrote: > > On Thu, 12 Jan 2017 19:24:44 +0100 > > Laszlo Ersek wrote: > > > > [...] > >> +static void smi_features_ok_callback(void *opaque) > >> +{ > >> +ICH9LPCState *lpc = opaque; > >> +uint64

Re: [Qemu-devel] [PATCH v6 wave 2 1/3] hw/isa/lpc_ich9: add SMI feature negotiation via fw_cfg

2017-01-16 Thread Laszlo Ersek
On 01/13/17 14:34, Igor Mammedov wrote: > On Thu, 12 Jan 2017 19:24:44 +0100 > Laszlo Ersek wrote: > > [...] >> +static void smi_features_ok_callback(void *opaque) >> +{ >> +ICH9LPCState *lpc = opaque; >> +uint64_t guest_features; >> + >> +if (lpc->smi_features_ok) { >> +/* ne

Re: [Qemu-devel] [PATCH v6 wave 2 1/3] hw/isa/lpc_ich9: add SMI feature negotiation via fw_cfg

2017-01-13 Thread Igor Mammedov
On Thu, 12 Jan 2017 19:24:44 +0100 Laszlo Ersek wrote: [...] > +static void smi_features_ok_callback(void *opaque) > +{ > +ICH9LPCState *lpc = opaque; > +uint64_t guest_features; > + > +if (lpc->smi_features_ok) { > +/* negotiation already complete, features locked */ > +

Re: [Qemu-devel] [PATCH v6 wave 2 1/3] hw/isa/lpc_ich9: add SMI feature negotiation via fw_cfg

2017-01-13 Thread Laszlo Ersek
On 01/13/17 11:15, Igor Mammedov wrote: > On Thu, 12 Jan 2017 19:24:44 +0100 > Laszlo Ersek wrote: > >> Introduce the following fw_cfg files: >> >> - "etc/smi/supported-features": a little endian uint64_t feature bitmap, >> presenting the features known by the host to the guest. Read-only for >

Re: [Qemu-devel] [PATCH v6 wave 2 1/3] hw/isa/lpc_ich9: add SMI feature negotiation via fw_cfg

2017-01-13 Thread Igor Mammedov
On Thu, 12 Jan 2017 19:24:44 +0100 Laszlo Ersek wrote: > Introduce the following fw_cfg files: > > - "etc/smi/supported-features": a little endian uint64_t feature bitmap, > presenting the features known by the host to the guest. Read-only for > the guest. > > The content of this file wil

[Qemu-devel] [PATCH v6 wave 2 1/3] hw/isa/lpc_ich9: add SMI feature negotiation via fw_cfg

2017-01-12 Thread Laszlo Ersek
Introduce the following fw_cfg files: - "etc/smi/supported-features": a little endian uint64_t feature bitmap, presenting the features known by the host to the guest. Read-only for the guest. The content of this file will be determined via bit-granularity ICH9-LPC device properties, to be