diff options
author | Thomas Huth <thuth@redhat.com> | 2019-02-05 13:58:45 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2019-02-06 15:55:56 +0100 |
commit | dab864dc7644448fd1f037a627c4ea2adb731901 (patch) | |
tree | 50e7781cebbcb86a7f1fe0c5d8f0bad072f2acf0 /block/snapshot.c | |
parent | 4a1335e8df72481023d67c0294c06eb425c08e40 (diff) |
hw/cpu/cluster: Mark the cpu-cluster device with user_creatable = false
The device can not be instantiated by the user and QEMU currently
aborts when you try to use it:
$ x86_64-softmmu/qemu-system-x86_64 -device cpu-cluster
qemu-system-x86_64: hw/cpu/cluster.c:73: cpu_cluster_realize:
Assertion `cbdata.cpu_count > 0' failed.
Aborted (core dumped)
Since this is an internal device only, mark it with user_creatable = false.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Luc Michel <luc.michel@greensocs.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <1549371525-29899-1-git-send-email-thuth@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'block/snapshot.c')
0 files changed, 0 insertions, 0 deletions