Hi, > > dev->pending_deleted_event = true; > > + dev->pending_deleted_expires_ms = > > + qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + 5000; /* 5 secs */ > > do we block migration if unplug was requested?
Not sure. > (if not we might loose this state on destionatio, do we care about it?) pending_deleted_event isn't transfered either, so it shouldn't be a problem. Worst case is that mgmt has to re-try sending device_del on the migration target host. take care, Gerd