]> git.proxmox.com Git - qemu.git/commit - hw/pc.c
Check for invalid initrd file
authorM. Mohan Kumar <mohan@in.ibm.com>
Mon, 12 Apr 2010 04:31:33 +0000 (10:01 +0530)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 18 Apr 2010 22:07:10 +0000 (00:07 +0200)
commitd6fa4b77fb8f27ac84cf23fb1e15016673d98a47
tree9194966201291d7ec13faaf124c8b9ee942700f3
parentf1dc58e07decfa21f6141d6c441008d4b8b83331
Check for invalid initrd file

When qemu is invoked with an invalid initrd file, it crashes. Following
patch prints a error message and exits if an invalid initrd is
specified. Includes changes suggested by JV.

Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/pc.c