mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-13 16:05:15 +00:00
vmm: Don't continue to lookup debug I/O port
When using an PIO write to 0x80 which is a special case handle that and then return without going through the resolve. This removes an extra warning that is reported. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
90ae4676c8
commit
9e6a023f7f
@ -422,6 +422,7 @@ impl VmmOps for VmOps {
|
||||
fn pio_write(&self, addr: u64, data: &[u8]) -> hypervisor::vm::Result<()> {
|
||||
if addr == DEBUG_IOPORT as u64 && data.len() == 1 {
|
||||
self.log_debug_ioport(data[0]);
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
if let Err(e) = self.io_bus.write(addr, data) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user