有谁知道虚拟机显卡的问题?

发布于 2022-07-15 21:41:39 字数 79 浏览 10 评论 9

大家都知道vmware虚拟机只能虚拟出来一个16mb显存的svga显卡,那么Virtuozzo和xen虚拟的显卡是什么规格?有没有虚拟机能直接利用真实的显卡?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(9

等数载,海棠开 2022-07-27 02:41:48

原帖由 pluto_odin 于 2006-9-6 13:22 发表
OK,接着看资料去了。想虚拟个windows,女朋友作3d工作用。看来不可能了。

If work on 3D kinda projects, one thing you'd understand that the 3D software have to utilize the power of your physical video system. It's impossible to suck the capability from a "virtual" video system. You've to prepare a dedicate PC/workstation for your 3D tasks.

幽梦紫曦~ 2022-07-27 02:04:49

OK,接着看资料去了。想虚拟个windows,女朋友作3d工作用。看来不可能了。

弄潮 2022-07-27 02:00:33

xen虚拟的是cirrus logic的显卡,事实上xen是可以使用真实的物理显卡的,不过需要解决很多问题。
详细地可以搜索pciproxy。

对你再特殊 2022-07-27 01:36:24

知道了,多谢了。可惜虚拟windows要等vt了。

夏日落 2022-07-26 16:48:24

在xen user's manual中有如下叙述:

5.3 Driver Domain Configuration (Domain 驱动配置)

5.3.1 PCI

Individual PCI devices can be assigned to a given domain to allow that domain direct access to the PCI hardware. To use this functionality, ensure that the PCI Backend is compiled in to a privileged domain (e.g. domain 0) and that the domains which will be assigned PCI devices have the PCI Frontend compiled in. In XenLinux, the PCI Backend is available under the Xen configuration section while the PCI Frontend is under the architecture-specific "Bus Options" section. You may compile both the backend and the frontend into the same kernel; they will not affect each other.

The PCI devices you wish to assign to unprivileged domains must be "hidden" from your backend domain (usually domain 0) so that it does not load a driver for them. Use the pciback.hide kernel parameter which is specified on the kernel command-line and is configurable through GRUB (see Section 2.5). Note that devices are not really hidden from the backend domain. The PCI Backend ensures that no other device driver loads for those devices. PCI devices are identified by hexadecimal slot/funciton numbers (on Linux, use lspci to determine slot/funciton numbers of your devices) and can be specified with or without the PCI domain:
(bus:slot.func) example (02:1d.3)

(domain:bus:slot.func) example (0000:02:1d.3)

An example kernel command-line which hides two PCI devices might be:
root=/dev/sda4 ro console=tty0 pciback.hide=(02:01.f)(0000:04:1d.0)

To configure a domU to receive a PCI device:

Command-line:
    Use the pci command-line flag. For multiple devices, use the option multiple times.
    xm create netcard-dd pci=01:00.0 pci=02:03.0

Flat Format configuration file:
    Specify all of your PCI devices in a python list named pci.
    pci=['01:00.0','02:03.0']

SXP Format configuration file:
    Use a single PCI device section for all of your devices (specify the numbers in hexadecimal with the preceding '0x'). Note that domain here refers to the PCI domain, not a virtual machine within Xen.

    (device (pci
     (dev (domain 0x0)(bus 0x3)(slot 0x1a)(func 0x1)
     (dev (domain 0x0)(bus 0x1)(slot 0x5)(func 0x0)
    )

There are a number of security concerns associated with PCI Driver Domains that you can read about in Section 9.2

也就是说dom0中的一个pci可以被domu使用.  而显卡也是一个pci设备.
没有用过这么高级的特性

辞慾 2022-07-26 15:12:03

不好意思没有找到,我去了,但是没有描述这个问题

空心空情空意 2022-07-26 11:23:10

既然没有用过,第一件优先级不是在这里问,你可以直接去他们的官方站点,每个站点都会有 Feature, Specification, Product sheet之类的,下下来看看就知道了,这样岂不是更加直接和准确?

岁月无声 2022-07-25 04:19:19

不知道啊,所以才问的啊,我只用过vmware,他肯定是不行的啊,Virtuozzo,qemu,xen我都没有用过。

清眉祭 2022-07-20 12:13:34

xen是不是可以直接利用主机的单独显卡?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文