[PATCH v2] qemu_validate: Only allow none address for watchdog ib700

Michal Privoznik mprivozn at redhat.com
Wed Sep 2 16:51:25 UTC 2020


On 9/1/20 4:15 PM, Han Han wrote:
> Since QEMU 1.5.3, the ib700 watchdog device has no options for address,
> and not address in device tree:
> 
> $ /usr/libexec/qemu-kvm -version
> QEMU emulator version 1.5.3 (qemu-kvm-1.5.3-175.el7), Copyright (c) 2003-2008 Fabrice Bellard
> $ /usr/libexec/qemu-kvm -device ib700,\?
> $ virsh qemu-monitor-command seabios --hmp info qtree|grep ib700 -A 2
>          dev: ib700, id "watchdog0"
>          dev: isa-serial, id "serial0"
>            index = 0
> 
> So only allow it to use none address.
> 
> Fixes: 8a54cc1d08a333283c9cfc3fd7788be2642ca71a
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1509908
> 
> Signed-off-by: Han Han <hhan at redhat.com>
> ---
>   src/qemu/qemu_validate.c | 5 ++---
>   1 file changed, 2 insertions(+), 3 deletions(-)

Reviewed-by: Daniel Henrique Barboza <danielhb413 at gmail.com>

and pushed.

Michal




More information about the libvir-list mailing list