qemu-devel
[Top][All Lists]
Advanced

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

Re: [PULL 32/68] hw/virtio: Add support for VDPA network simulation devi


From: Paolo Bonzini
Subject: Re: [PULL 32/68] hw/virtio: Add support for VDPA network simulation devices
Date: Wed, 20 Mar 2024 09:58:40 +0100
User-agent: Mozilla Thunderbird

On 3/12/24 23:27, Michael S. Tsirkin wrote:
diff --git a/include/standard-headers/linux/virtio_pci.h 
b/include/standard-headers/linux/virtio_pci.h
index 3e2bc2c97e..86733278ba 100644
--- a/include/standard-headers/linux/virtio_pci.h
+++ b/include/standard-headers/linux/virtio_pci.h
@@ -221,6 +221,13 @@ struct virtio_pci_cfg_cap {
  #define VIRTIO_PCI_COMMON_ADM_Q_IDX   60
  #define VIRTIO_PCI_COMMON_ADM_Q_NUM   62
+#define LM_LOGGING_CTRL 0
+#define LM_BASE_ADDR_LOW                4
+#define LM_BASE_ADDR_HIGH               8
+#define LM_END_ADDR_LOW                 12
+#define LM_END_ADDR_HIGH                16
+#define LM_VRING_STATE_OFFSET           0x20

I cannot find these constants in upstream Linux (what will be 6.9). Is there a tree that defines these constants, or should they be moved to include/hw/virtio/vdpa-dev.h (or something like that)?

Thanks,

Paolo




reply via email to

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