aboutsummaryrefslogtreecommitdiff
path: root/savevm.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2010-07-21 15:08:30 +0530
committerAurelien Jarno <aurelien@aurel32.net>2010-07-30 22:59:55 +0200
commit5ab4bb598d3f58542a06a6946f04b140be222892 (patch)
treeecff8852cbe9f404fee070ec064a2c03b1a33f6e /savevm.c
parentcdc6f542007a6aee0b18a5d616d031c750691e7a (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