hw/acpi: fix GSI links UID
commit6a991e07bb8eeb7d7799a949c0528dffb84b2a98
authorMarcel Apfelbaum <marcel@redhat.com>
Sun, 13 Mar 2016 11:40:29 +0000 (13 13:40 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 15 Mar 2016 14:16:57 +0000 (15 16:16 +0200)
treeba60e1dbbbcf577c504bca89c93c0958d55dd653
parent5167560b030d69fc51f60eefe09747a38cff88db
hw/acpi: fix GSI links UID

According to the ACPI spec, each UID must be unique.
Use the irq number as UID for GSI links.

Suggested-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c