Skip to content

Commit fdd555a

Browse files
authored
Make sure to notify pci devices on attach. (#61)
1 parent 30bb138 commit fdd555a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

propolis/src/hw/pci/device.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ impl<D: Device + Send + Sync + 'static> Endpoint for D {
4949
fn attach(&self, attachment: bus::Attachment) {
5050
let ds = self.device_state();
5151
ds.attach(attachment);
52+
self.attach();
5253
}
5354
fn cfg_rw(&self, mut rwo: RWOp, ctx: &DispCtx) {
5455
let ds = self.device_state();

0 commit comments

Comments
 (0)