File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ pub struct BlockState {
57
57
) ]
58
58
cache_type : CacheTypeState ,
59
59
root_device : bool ,
60
- pub disk_path : String ,
60
+ disk_path : String ,
61
61
virtio_state : VirtioDeviceState ,
62
62
rate_limiter_state : RateLimiterState ,
63
63
}
Original file line number Diff line number Diff line change @@ -239,11 +239,12 @@ impl<'a> Persist<'a> for MMIODeviceManager {
239
239
240
240
// Send Transport event to reset connections if device
241
241
// is activated.
242
- if vsock. is_activated ( ) {
242
+ // TODO: temporarily disabled to avoid FC agent becoming unavailable when restoring snapshots
243
+ /*if vsock.is_activated() {
243
244
vsock.send_transport_reset_event().unwrap_or_else(|e| {
244
245
error!("Failed to send reset transport event: {:?}", e);
245
246
});
246
- }
247
+ }*/
247
248
248
249
states. vsock_device = Some ( ConnectedVsockState {
249
250
device_id : devid. clone ( ) ,
You can’t perform that action at this time.
0 commit comments