mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
Merge remote branch 'luiz/queue/qmp' into qmpq
* luiz/queue/qmp: migration: qmp_migrate(): keep working after syntax error qerror: Remove assert_no_error() qemu-option: Remove qemu_opts_create_nofail target-i386: Remove assert_no_error usage hw: Remove assert_no_error usages qdev: Delete dead code error: Add error_abort monitor: add object-add (QMP) and object_add (HMP) command monitor: add object-del (QMP) and object_del (HMP) command qom: catch errors in object_property_add_child qom: fix leak for objects created with -object rng: initialize file descriptor to -1 qemu-monitor: HMP cpu-add wrapper vl: add missing transition debug->finish_migrate Message-Id: 1389045795-18706-1-git-send-email-lcapitulino@redhat.com Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
This commit is contained in:
commit
133fe77437
45 changed files with 405 additions and 155 deletions
|
@ -1637,7 +1637,6 @@ static int cpu_x86_find_by_name(X86CPU *cpu, x86_def_t *x86_cpu_def,
|
|||
const char *name)
|
||||
{
|
||||
x86_def_t *def;
|
||||
Error *err = NULL;
|
||||
int i;
|
||||
|
||||
if (name == NULL) {
|
||||
|
@ -1645,8 +1644,7 @@ static int cpu_x86_find_by_name(X86CPU *cpu, x86_def_t *x86_cpu_def,
|
|||
}
|
||||
if (kvm_enabled() && strcmp(name, "host") == 0) {
|
||||
kvm_cpu_fill_host(x86_cpu_def);
|
||||
object_property_set_bool(OBJECT(cpu), true, "pmu", &err);
|
||||
assert_no_error(err);
|
||||
object_property_set_bool(OBJECT(cpu), true, "pmu", &error_abort);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue