mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
virtio: rename the bar index field name in VirtIOPCIProxy
the bar index names are much similar to the bar memory regions, distinguish them to improve the code readability. Signed-off-by: Chen Fan <fan.chen@easystack.cn> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
0839f11cda
commit
7a25126d8a
3 changed files with 16 additions and 16 deletions
|
@ -143,10 +143,10 @@ struct VirtIOPCIProxy {
|
|||
MemoryRegion io_bar;
|
||||
MemoryRegion modern_cfg;
|
||||
AddressSpace modern_as;
|
||||
uint32_t legacy_io_bar;
|
||||
uint32_t msix_bar;
|
||||
uint32_t modern_io_bar;
|
||||
uint32_t modern_mem_bar;
|
||||
uint32_t legacy_io_bar_idx;
|
||||
uint32_t msix_bar_idx;
|
||||
uint32_t modern_io_bar_idx;
|
||||
uint32_t modern_mem_bar_idx;
|
||||
int config_cap;
|
||||
uint32_t flags;
|
||||
bool disable_modern;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue