[Qemu-devel] [PATCH 0/3] hw/arm: Mark the "fsl, imx" devices with user_creatable = false

Thomas Huth posted 3 patches 6 years, 4 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1509519537-6964-1-git-send-email-thuth@redhat.com
Test checkpatch passed
Test docker passed
Test ppc passed
Test s390x passed
hw/arm/fsl-imx25.c | 6 +++++-
hw/arm/fsl-imx31.c | 6 +++++-
hw/arm/fsl-imx6.c  | 3 ++-
3 files changed, 12 insertions(+), 3 deletions(-)
[Qemu-devel] [PATCH 0/3] hw/arm: Mark the "fsl, imx" devices with user_creatable = false
Posted by Thomas Huth 6 years, 4 months ago
These devices can not be used by the user directly and cause QEMU
to abort() if the user tried it anyway. So simply mark the devices
with user_creatable = false to avoid that the users can run into
this unpleasant situation.

Thomas Huth (3):
  hw/arm: Mark the "fsl,imx6" device with user_creatable = false
  hw/arm: Mark the "fsl,imx25" device with user_creatable = false
  hw/arm: Mark the "fsl,imx31" device with user_creatable = false

 hw/arm/fsl-imx25.c | 6 +++++-
 hw/arm/fsl-imx31.c | 6 +++++-
 hw/arm/fsl-imx6.c  | 3 ++-
 3 files changed, 12 insertions(+), 3 deletions(-)

-- 
1.8.3.1


Re: [Qemu-devel] [PATCH 0/3] hw/arm: Mark the "fsl, imx" devices with user_creatable = false
Posted by Peter Maydell 6 years, 4 months ago
On 1 November 2017 at 06:58, Thomas Huth <thuth@redhat.com> wrote:
> These devices can not be used by the user directly and cause QEMU
> to abort() if the user tried it anyway. So simply mark the devices
> with user_creatable = false to avoid that the users can run into
> this unpleasant situation.
>
> Thomas Huth (3):
>   hw/arm: Mark the "fsl,imx6" device with user_creatable = false
>   hw/arm: Mark the "fsl,imx25" device with user_creatable = false
>   hw/arm: Mark the "fsl,imx31" device with user_creatable = false
>
>  hw/arm/fsl-imx25.c | 6 +++++-
>  hw/arm/fsl-imx31.c | 6 +++++-
>  hw/arm/fsl-imx6.c  | 3 ++-
>  3 files changed, 12 insertions(+), 3 deletions(-)



Applied to target-arm.next, thanks.

-- PMM