hw/s390x: Mark the "sclpquiesce" device with user_creatable = false
commitb923ab3112ed5ab47c2ff35776f17ab54c60d651
authorThomas Huth <thuth@redhat.com>
Thu, 5 Oct 2017 08:45:05 +0000 (5 10:45 +0200)
committerCornelia Huck <cohuck@redhat.com>
Fri, 6 Oct 2017 08:53:02 +0000 (6 10:53 +0200)
tree7056116f3aff121b17d5d6eeadadde83aa8adf9a
parent8986db4922cf5b810b775c135d74a75290840660
hw/s390x: Mark the "sclpquiesce" device with user_creatable = false

The "sclpquiesce" device is just an internal device that should not be
created by the user directly. Though it currently does not seem to cause
any obvious trouble when the user instantiates an additional device, let's
better mark it with user_creatable = false to avoid unexpected behavior,
e.g. because the quiesce notifier gets registered multiple times.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1507193105-15627-1-git-send-email-thuth@redhat.com>
Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/sclpquiesce.c