[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] 答复: stubdom



Sorry, I referenced this blog 
https://blog.xenproject.org/2012/12/12/linux-stub-domain/.

Now my guest configuration file:

name = "test_stubdom"
builder = "hvm"
vcpus = 2
memory = 1024
disk = ["tap:qcow2:test_stubdom.img,hda,w"]
vif = ["type=ioemu, bridge=xenbr0, mac=00:16:3e:eb:ca:80"]
boot = "c"
pae = 1
acpi = 1
apic = 1
localtime = 1
vga="stdvga"
vgaram=64
vnc = 1
vnclisten = "0.0.0.0"
vncdisplay = 128
vncunused = 0
vncpasswd = "test"
device_model_version = "qemu-xen-traditional"
device_model_stubdomain_override = 1

However, after creating guest, I use vnc to view the guest, the screen is black.

# xl list
Name                                ID   Mem VCPUs      State   Time(s)
Domain-0                                     0 50162    24     r-----  687163.0
test_stubdom-dm                       2    32     1     -b----       0.0
test_xp_stubdom                       6028  1015     1     ------       0.0

The guest os is windows xp.

Do you have any idea?

Thanks!

-----邮件原件-----
发件人: dunlapg@xxxxxxxxx [mailto:dunlapg@xxxxxxxxx] 代表 George Dunlap
发送时间: 2016年5月18日 17:45
收件人: 席康杰
抄送: Xen-users@xxxxxxxxxxxxx
主题: Re: [Xen-users] stubdom

On Tue, May 17, 2016 at 1:37 PM, 席康杰 <xikangjie@xxxxxx> wrote:
> Hi,
>
>     I read slide Performance Tuning Xen, find stubdom can boost HVM 
> performance,
>
> so I try it, the wiki Device_Model_Stub_Domains says use the 
> ‘device_model_stubdomain_override’
>
> option in guest configuration file:
>
>     device_model_stubdomain_override = 1
>
>
>
> This is my cfg file:
>
>
>
> name = "test_stubdom"
>
> builder = "hvm"
>
> vcpus = 2
>
> memory = 1024
>
> disk = ["tap:qcow2:test_stubdom.img,hda,w"]
>
> vif = ["type=ioemu, bridge=xenbr0, mac=00:16:3e:eb:ca:80"]
>
> boot = "c"
>
> pae = 1
>
> acpi = 1
>
> apic = 1
>
> localtime = 1
>
> vga="stdvga"
>
> vgaram=64
>
> vnc = 1
>
> vnclisten = "0.0.0.0"
>
> vncdisplay = 128
>
> vncunused = 0
>
> vncpasswd = "test"
>
> device_model_linux_stubdomain_override = 1
>
>
>
> The vm can start, but it has no difference with 
> “device_model_linux_stubdomain_override = 0”.
>
> The dom0 also has backend qemu-system-i386 process for domain test_stubdom.
>
>
>
> Did I use stubdom wrong? or how to use stubdom? anyone has an idea?

Why did you add "linux" in the middle of that option?
device_model_linux_stubdomain_override is not a parameter that xl knows, so it 
just ignores it.

 -George
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.