Re: [Qemu-devel] [PATCH] virtio: rename the bar index field name in VirtIOPCIProxy

2016-10-08 Thread Michael Tokarev
29.09.2016 07:04, Chen Fan wrote: the bar index names are much similar to the bar memory regions, distinguish them to improve the code readability. -vpci_dev->modern_mem_bar = 2; -vpci_dev->msix_bar = 4; +vpci_dev->modern_mem_bar_idx = 2; +vpci_dev->msix_bar_idx = 4; ... Ap

[Qemu-devel] [PATCH] virtio: rename the bar index field name in VirtIOPCIProxy

2016-09-28 Thread Chen Fan
the bar index names are much similar to the bar memory regions, distinguish them to improve the code readability. Signed-off-by: Chen Fan --- hw/display/virtio-vga.c | 4 ++-- hw/virtio/virtio-pci.c | 20 ++-- hw/virtio/virtio-pci.h | 8 3 files changed, 16 insertion