[PATCH] virtio-nsm: include qemu/osdep.h

Paolo Bonzini posted 1 patch 2 weeks, 4 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260119120402.284985-1-pbonzini@redhat.com
Maintainers: Alexander Graf <graf@amazon.com>, Dorjoy Chowdhury <dorjoychy111@gmail.com>
hw/virtio/cbor-helpers.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] virtio-nsm: include qemu/osdep.h
Posted by Paolo Bonzini 2 weeks, 4 days ago
The file hw/virtio/cbor-helpers.c does not include our standard qemu/osdep.h
header, add it.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 hw/virtio/cbor-helpers.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/virtio/cbor-helpers.c b/hw/virtio/cbor-helpers.c
index 49f55df3994..010454d5383 100644
--- a/hw/virtio/cbor-helpers.c
+++ b/hw/virtio/cbor-helpers.c
@@ -8,6 +8,7 @@
  * top-level directory.
  */
 
+#include "qemu/osdep.h"
 #include "hw/virtio/cbor-helpers.h"
 
 bool qemu_cbor_map_add(cbor_item_t *map, cbor_item_t *key, cbor_item_t *value)
-- 
2.52.0
Re: [PATCH] virtio-nsm: include qemu/osdep.h
Posted by Philippe Mathieu-Daudé 2 weeks, 3 days ago
On 19/1/26 13:04, Paolo Bonzini wrote:
> The file hw/virtio/cbor-helpers.c does not include our standard qemu/osdep.h
> header, add it.
> 
> Reported-by: Peter Maydell <peter.maydell@linaro.org>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>   hw/virtio/cbor-helpers.c | 1 +
>   1 file changed, 1 insertion(+)

Queued, thanks.
Re: [PATCH] virtio-nsm: include qemu/osdep.h
Posted by Dorjoy Chowdhury 2 weeks, 3 days ago
On Mon, Jan 19, 2026 at 6:04 PM Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> The file hw/virtio/cbor-helpers.c does not include our standard qemu/osdep.h
> header, add it.
>
> Reported-by: Peter Maydell <peter.maydell@linaro.org>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  hw/virtio/cbor-helpers.c | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Dorjoy Chowdhury <dorjoychy111@gmail.com>
Re: [PATCH] virtio-nsm: include qemu/osdep.h
Posted by Philippe Mathieu-Daudé 2 weeks, 4 days ago
On 19/1/26 13:04, Paolo Bonzini wrote:
> The file hw/virtio/cbor-helpers.c does not include our standard qemu/osdep.h
> header, add it.
> 
> Reported-by: Peter Maydell <peter.maydell@linaro.org>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>   hw/virtio/cbor-helpers.c | 1 +
>   1 file changed, 1 insertion(+)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>