hw/char/serial: Make 'wakeup' property boolean
commit1fa2c0eb6c7e5a5cf714c2a9dfea7633429af76d
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 7 Sep 2020 01:55:33 +0000 (7 03:55 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 30 Sep 2020 17:09:20 +0000 (30 19:09 +0200)
tree0ef2ff6c6199144455b5489b7c052393e7d13c14
parentf2336b5fbdfcf0aef9a66e4b170648e10faf7a8e
hw/char/serial: Make 'wakeup' property boolean

Make the "wakeup" property introduced in commit 9826fd597df
("suspend: make serial ports wakeup the guest") a boolean.

As we want to reuse the generic serial properties in the
ISA model (next commit), expose this property.

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