pcid: Rename PcidServerHandle to PciFunctionHandle
This commit is contained in:
+2
-2
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user