mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
virtio-devices: rename two variables
They are used. No need to start their names with an underscore. Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
@@ -1186,9 +1186,9 @@ impl PciDevice for VirtioPciDevice {
|
||||
.contains(&o) =>
|
||||
{
|
||||
#[cfg(feature = "sev_snp")]
|
||||
for (_event, _addr) in self.ioeventfds(_base) {
|
||||
if _addr == _base + offset {
|
||||
_event.write(1).unwrap();
|
||||
for (event, addr) in self.ioeventfds(_base) {
|
||||
if addr == _base + offset {
|
||||
event.write(1).unwrap();
|
||||
}
|
||||
}
|
||||
// Handled with ioeventfds.
|
||||
|
||||
Reference in New Issue
Block a user