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:
parent
d99f294281
commit
d2e798944a
1 changed files with 3 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue