[qemu/kvm] 想知win7 guest要mount physical disk用咩interface好
本帖最後由 1597532468000 於 2020-10-30 00:21 編輯
因為我試過就咁用virtio做interface
-drive file=/dev/disk/by-id/ata-Samsung SSD 840 PRO Series XXXXXXXXX,cache=none,aio=native,format=raw,if=virtio \
有時會load唔到入desktop,safe mode會見到佢卡住係classpnp.sys唔識load 似係driver問題
https://www.hkepc.com/forum/redi ... 6&goto=lastpost
情況就係咁
咁我用咩interface好
(唔想用virsh, 因為win7 guest點整都做唔到display passthrough, 會出code 12)
如果我想試lun passthrough 應該點set好
ubuntu:~$ qemu-system-x86_64 -device scsi-block,?
scsi-block options:
bootindex=<int32>
max_io_size=<uint64>
drive=<str> - Node name or ID of a block device to use as a backend
channel=<uint32>
share-rw=<bool>
scsi_version=<int32>
lun=<uint32>
max_unmap_size=<uint64>
scsi-id=<uint32>
rerror=<BlockdevOnError> - Error handling policy, report/ignore/enospc/stop/auto
rotation_rate=<uint16>
werror=<BlockdevOnError> - Error handling policy, report/ignore/enospc/stop/auto |
|
|