]> git.proxmox.com Git - mirror_qemu.git/commit
ich9: fix getter type for sci_int property
authorFelipe Franciosi <felipe@nutanix.com>
Tue, 4 Feb 2020 13:15:59 +0000 (13:15 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 22:02:23 +0000 (23:02 +0100)
commit1f63daa0150599165e42d8779a037dd2bc302a4b
treea23d0f0fc176cfe3a99c11aede4323fefbfa943e
parent836e1b3813c522a9e46f70a10d427f70ff590d77
ich9: fix getter type for sci_int property

When QOM APIs were added to ich9 in 6f1426ab, the getter for sci_int was
written using uint32_t. However, the object property is uint8_t. This
fixes the getter for correctness.

Signed-off-by: Felipe Franciosi <felipe@nutanix.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/isa/lpc_ich9.c