VMs are not officially supported as their setup is custom to each VM. That said, it can work if you manage to set ownership of the USB port for the Jetson to the VM with no interference from the host o/s. During a flash the device mode (recovery mode) Jetson repeatedly connects and disconnects, and often a VM fails to reconnect after first connect.
but,before yesterday, erverything is ok,this problem popped up.and ths usb is aways directly connect to VM ubuntu.
Jeton will connects and disconnects when execute the below command?
In recovery mode the Jetson is a custom USB device. The driver package which understands that custom USB device runs only on a Linux PC architecture, and so Windows would be unable to run this without emulating Linux.
The specific flash command you gave is only for a partial flash of a partition. The command should work from a VM or a non-VM, but only if the VM is set up correctly and only if the command would work on a non-VM. In no case should the command crash the host PC (even if the command is invalid for a given setup), and so I suspect this is an error of the VM. There are no simple ways to debug a VM issue like this.