diff options
author | Amit Shah <amit.shah@redhat.com> | 2010-07-21 15:08:30 +0530 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-07-30 22:59:55 +0200 |
commit | 5ab4bb598d3f58542a06a6946f04b140be222892 (patch) | |
tree | ecff8852cbe9f404fee070ec064a2c03b1a33f6e /savevm.c | |
parent | cdc6f542007a6aee0b18a5d616d031c750691e7a (diff) |
virtio-serial: Check if more max_ports specified than we can handle
Currently virtio-serial supports a maximum of 31 ports. Specifying the
'max_ports' parameter to be > 31 on the cmd line causes badness.
Ensure we initialise virtio-serial only if max_ports is within the
supported range.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'savevm.c')
0 files changed, 0 insertions, 0 deletions