[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 438c61: qapi/qom.json: Do not use CONFIG_VIRT

From: Thomas Huth
Subject: [Qemu-commits] [qemu/qemu] 438c61: qapi/qom.json: Do not use CONFIG_VIRTIO_CRYPTO in ...
Date: Wed, 14 Apr 2021 14:04:22 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 438c61e0866366db340a6aac96874a66b4e37dcb
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2021-04-14 (Wed, 14 Apr 2021)

  Changed paths:
    M qapi/qom.json

  Log Message:
  qapi/qom.json: Do not use CONFIG_VIRTIO_CRYPTO in common code

The ObjectType enum and ObjectOptions are included from qapi-types-qom.h
into common code. We should not use target-specific config switches like
CONFIG_VIRTIO_CRYPTO here, since this is not defined in common code and
thus the enum will look differently between common and target specific
code. For this case, it's hopefully enough to check for CONFIG_VHOST_CRYPTO
only (which is a host specific config switch, i.e. it's the same on all

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210412160710.639800-1-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]