Re: [PATCH] qapi/qom.json: Do not use CONFIG_VIRTIO_CRYPTO in common code

2021-04-12 Thread Kevin Wolf
Am 12.04.2021 um 18:07 hat Thomas Huth geschrieben: > 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

[PATCH] qapi/qom.json: Do not use CONFIG_VIRTIO_CRYPTO in common code

2021-04-12 Thread Thomas Huth
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