]> git.proxmox.com Git - qemu.git/commit - vl.c
Fix regression in option parsing
authorAnthony Liguori <aliguori@us.ibm.com>
Wed, 27 Jan 2010 16:46:00 +0000 (10:46 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 27 Jan 2010 16:50:14 +0000 (10:50 -0600)
commit28e68d68b0c88cb5eb0d9fa6c30914a3cdddebfc
treeefc1f8eb06bea61ad1c5615dbfc9e9d82f0e09e7
parentb4bf0a9a69961d8b7b3817f79dafae77fbd305bd
Fix regression in option parsing

Commit ec229bbe7 broke invocation without a specific -hda.  IOW, qemu foo.img.
The lack of an optind update caused an infinite loop.

Reported-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vl.c