]> git.proxmox.com Git - mirror_qemu.git/commit
sparc: Use DEFINE_PROP for nwindows property
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 11 Dec 2020 22:05:14 +0000 (17:05 -0500)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 18 Dec 2020 20:20:17 +0000 (15:20 -0500)
commit43b6ab4c673418e3dd4391a137132ca8ed7f9a99
tree5cb684b51c9b6b27e43f38c58284d937d0a62806
parent45efa07f0f0cc8b3a6514c9743d29d73693aa8b1
sparc: Use DEFINE_PROP for nwindows property

Use the DEFINE_PROP macro (which will set extra fields in the
struct) instead of initializing a Property struct manually.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20201211220529.2290218-18-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/sparc/cpu.c