]> git.proxmox.com Git - mirror_qemu.git/commit
hw/char/serial-{isa, pci}: Alias QDEV properties from generic serial object
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 7 Sep 2020 01:55:34 +0000 (03:55 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 30 Sep 2020 17:09:20 +0000 (19:09 +0200)
commitb7dd40d40bfa44536bee4aa4d643b26621097d27
tree949ba5698d076a176de60595efdf38b85fc229ee
parent1fa2c0eb6c7e5a5cf714c2a9dfea7633429af76d
hw/char/serial-{isa, pci}: Alias QDEV properties from generic serial object

Instead of overwritting the properties of the generic 'state'
object, alias them.
Note we can now propagate the "baudbase" property.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200907015535.827885-7-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/char/serial-isa.c
hw/char/serial-pci.c