Re: [Qemu-devel] [PATCH v4 1/8] vmgenid: replace x-write-pointer-available hack

2017-07-14 Thread Michael S. Tsirkin
On Fri, Jul 14, 2017 at 08:20:04PM +0200, Marc-André Lureau wrote: > This compat property sole function is to prevent the device from being > instantiated. Instead of requiring an extra compat property, check if > fw_cfg has DMA enabled. > > fw_cfg is a built-in device that is initialized very ear

[Qemu-devel] [PATCH v4 1/8] vmgenid: replace x-write-pointer-available hack

2017-07-14 Thread Marc-André Lureau
This compat property sole function is to prevent the device from being instantiated. Instead of requiring an extra compat property, check if fw_cfg has DMA enabled. fw_cfg is a built-in device that is initialized very early by the machine init code. We have at least one other device that also ass