]> git.proxmox.com Git - mirror_qemu.git/commit
sparc: Check dev->realized at sparc_set_nwindows()
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 11 Dec 2020 22:05:02 +0000 (17:05 -0500)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 15 Dec 2020 15:02:07 +0000 (10:02 -0500)
commit0ea0a42ef6796e1d2cc2734e6a697becdb0cd3ff
treef4548b487fe7086f39d675dbe4379a2219edf5b0
parent85f6f43283d669413045bbba93946f9e08e1c56d
sparc: Check dev->realized at sparc_set_nwindows()

sparc_set_nwindows() is one of the very few property setters that
don't check dev->realized, and there's no reason for it to be
special.  Check dev->realized like the other setters.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20201211220529.2290218-6-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/sparc/cpu.c