Commit Message

Not that CPU hotplug currently works, but if you make the mistake of
trying it on a VM started without specifying a -cpu value, you hit
a segfault from trying to strdup(NULL) in cpu_x86_find_by_name().
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
---
hw/pc.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)

Comments

On Tue, Jun 01, 2010 at 05:03:00PM -0600, Alex Williamson wrote:
> Not that CPU hotplug currently works, but if you make the mistake of> trying it on a VM started without specifying a -cpu value, you hit> a segfault from trying to strdup(NULL) in cpu_x86_find_by_name().> > Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Applied, thanks.