pcid: Rename PcidServerHandle to PciFunctionHandle

This commit is contained in:
bjorn3
2024-06-15 15:05:42 +02:00
parent 3299a070f2
commit fdb9ea816b
20 changed files with 51 additions and 51 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ use std::os::unix::io::AsRawFd;
use std::fs::File;
use std::io::{Result, Read, Write};
use pcid_interface::{PciBar, PcidServerHandle};
use pcid_interface::{PciBar, PciFunctionHandle};
use syscall::flag::EventFlags;
use syscall::io::{Io, Mmio, Pio};
@@ -181,7 +181,7 @@ impl VboxGuestInfo {
fn main() {
let mut pcid_handle =
PcidServerHandle::connect_default().expect("vboxd: failed to setup channel to pcid");
PciFunctionHandle::connect_default().expect("vboxd: failed to setup channel to pcid");
let pci_config = pcid_handle
.fetch_config()
.expect("vboxd: failed to fetch config");