qemu-trivial
[Top][All Lists]
Advanced

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

Re: [Qemu-trivial] [PATCH] virtio: rename the bar index field name in Vi


From: Michael Tokarev
Subject: Re: [Qemu-trivial] [PATCH] virtio: rename the bar index field name in VirtIOPCIProxy
Date: Sat, 8 Oct 2016 11:18:48 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.3.0

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;

...

Applied to -trivial, thanks!

/mjt



reply via email to

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