一篇关于spice vdagent和利用virt-manager配置spice的文章

本文介绍了如何通过手动和使用virt-manager配置qemu-kvm以启用SPICE和QXL图形设备,以提升虚拟机的图形体验。手动配置涉及在命令行中添加qxl图形设备、启动SPICE服务器、安装客户端和启用spice vdagent通信。使用virt-manager则需要将视频卡更改为qxl模型并切换到Spice显示类型,并安装Spice代理。最终实现主机和客戸机之间的复制粘贴功能。
摘要由CSDN通过智能技术生成

Example using SPICE and QXL for improved Graphics experience in the guest

This example is based on qemu-kvm (0.15.0) as installed in Fedora 15. Will first show how to do this manually, and second how to do it using the virt-manager tool.

For extensive details on SPICE, visit http://spice-space.org

[ edit]

Manually, using qemu-kvm command line directly

The simplest part is adding the qxl graphics device to the guest. By adding <cdoe>-vga qxl</code>:

# /usr/bin/qemu-kvm -m 1024 -name f15 -drive file=/images/f15.img,if=virtio -vga qxl

You'll see a normal SDL window pop up, and if you poke inside the guest you'll find that X is using the qxl device to display:

$ lspci
...
00:02.0 VGA compatible controller: Red Hat, Inc. Device 0100 (rev 03)
$ grep QXL /var/log/Xorg.0.log
[ 15.878] (II
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值