diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2020-11-03 03:26:05 -0500 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-12-10 12:15:19 -0500 |
| commit | 46ee119fb64570c6efdff3342fbec3e86267bda3 (patch) | |
| tree | 4c3e4950b8d7db44635e7af88eadb45f74c03932 /include/hw/boards.h | |
| parent | bf4d4056fb7ef7d629d003a338445db9801aa743 (diff) | |
| download | focaccia-qemu-46ee119fb64570c6efdff3342fbec3e86267bda3.tar.gz focaccia-qemu-46ee119fb64570c6efdff3342fbec3e86267bda3.zip | |
vl: remove serial_max_hds
serial_hd(i) is NULL if and only if i >= serial_max_hds(). Test serial_hd(i) instead of bounding the loop at serial_max_hds(), thus removing one more function that vl.c is expected to export. Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/boards.h')
0 files changed, 0 insertions, 0 deletions