Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

NVME直通问题

Featured Replies

215573828_2022-08-0111_38_51.thumb.png.a692800185c67b3a4c27de617b06d4c4.png

不管什么虚拟机,勾选直通NVME后都是报错,是什么问题?

1304957881_2022-08-0111_41_18.thumb.png.ae072f4d4d1eafb04b5e3cdb066b722a.png

1330948475_2022-08-0111_42_39.thumb.png.9860cdcf654949e5386b970fffd51f37.png

  • 2 months later...
  • Author

没人知道吗?

  • 2 weeks later...

如果使用两个但同一个主控的nvme固态 进行控制器直通会出现冲突的情况

这个时候就需要对你的nvme硬盘进行改名

先在VFIO中找到你nvme的设备的地址,如图我的序号为01:00.0:

image.thumb.png.8d10fa42a4341aba027dde692f1fc5bc.png

这个时候使用XML模式中编辑你的虚拟机在pci设备中找到01:00.0的地址:

image.png.a858781ec682e8b65a901e0c575e5583.png

在该地址<address>项添加<alias name='ua-sm2263'/>

然用qemu命令对该设备进行改名:

image.png.6f3b8479b2fd57cf75ad0a0d3692f265.png

  <qemu:commandline>
    <qemu:arg value='-set'/>
    <qemu:arg value='device.ua-sm2263.x-msix-relocation=bar2'/>
  </qemu:commandline>
  <qemu:capabilities>
    <qemu:del capability='device.json'/>
  </qemu:capabilities>

 

注意:<qemu:arg value='device.ua-sm2263.x-msix-relocation=bar2'/> 中ua-sm2263必须和你<alias>节点中设置的名称一样

  • 9 months later...
On 10/29/2022 at 1:41 AM, forlizy said:

如果使用两个但同一个主控的nvme固态 进行控制器直通会出现冲突的情况

这个时候就需要对你的nvme硬盘进行改名

先在VFIO中找到你nvme的设备的地址,如图我的序号为01:00.0:

image.thumb.png.8d10fa42a4341aba027dde692f1fc5bc.png

这个时候使用XML模式中编辑你的虚拟机在pci设备中找到01:00.0的地址:

image.png.a858781ec682e8b65a901e0c575e5583.png

在该地址<address>项添加<alias name='ua-sm2263'/>

然用qemu命令对该设备进行改名:

image.png.6f3b8479b2fd57cf75ad0a0d3692f265.png

  <qemu:commandline>
    <qemu:arg value='-set'/>
    <qemu:arg value='device.ua-sm2263.x-msix-relocation=bar2'/>
  </qemu:commandline>
  <qemu:capabilities>
    <qemu:del capability='device.json'/>
  </qemu:capabilities>

 

注意:<qemu:arg value='device.ua-sm2263.x-msix-relocation=bar2'/> 中ua-sm2263必须和你<alias>节点中设置的名称一样

你好,我这边也遇到了相同情况,系统是6.12.2,我将你的代码原封不动的套进去了,但是显示的是2263 不存在,请问这是什么问题,谢谢啦

WX20230803-112716@2x.thumb.png.3564a1007227dbe81b7419328c22e907.pngWX20230803-112654@2x.thumb.png.a40a27684c70d15e1c0caeffa7eb1c5e.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.