]> git.proxmox.com Git - qemu.git/commit
monitor: Don't check for mon_get_cpu() failure
authorMarkus Armbruster <armbru@redhat.com>
Wed, 20 Jan 2010 12:07:30 +0000 (13:07 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 26 Jan 2010 20:55:10 +0000 (14:55 -0600)
commit09b9418c6d085a0728372aa760ebd10128a020b1
treec1aa0a74eb6c3caadd86186ed1e11bd977e18773
parentff06ea219763559bec2aab26dde1cec8608405e9
monitor: Don't check for mon_get_cpu() failure

mon_get_cpu() can't return null pointer, because it passes its return
value to cpu_synchronize_state() first, which crashes if its argument
is null.

Remove the (pretty cheesy) handling of this non-existing error.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
monitor.c