hw/acpi/vmgenid: prevent more than one vmgenid device
commitf92063028a0ea9e15d8f962644bce76c0e8aa7d1
authorLaszlo Ersek <lersek@redhat.com>
Mon, 20 Mar 2017 17:05:57 +0000 (20 18:05 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 22 Mar 2017 16:29:27 +0000 (22 18:29 +0200)
treeaa6351da0d31306379373403493ee34065c05391
parentf2a1ae45d8ec5ad494e66a9234499a2e0fbf4b40
hw/acpi/vmgenid: prevent more than one vmgenid device

A system with multiple VMGENID devices is undefined in the VMGENID spec by
omission.

Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Ben Warren <ben@skyportsystems.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
hw/acpi/vmgenid.c
include/hw/acpi/vmgenid.h