All of lore.kernel.org
 help / color / mirror / Atom feed
* Missing CPU capabilities VMX
@ 2008-11-24 13:15 Y. D.
  2008-11-24 13:18 ` Keir Fraser
  0 siblings, 1 reply; 4+ messages in thread
From: Y. D. @ 2008-11-24 13:15 UTC (permalink / raw)
  To: xen-devel

Hi,

My Xeon CPU spports lots of capabilities, when I cat /proc/cpuinfo, the flags list: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr dca lahf_lm.

After a make world building of Xen-3.3.0, when I cat /proc/cpuinfo, the flags list only: fpu de tsc msr pae cx8 apic mtrr cmov pat clflush acpi mmx fxsr sse sse2 ss ht nx constant_tsc pni est.

I am only able to make world the dom0 kernel, as I don't know how to configure the kernel. Last time I make oldconfig, but it eventually failed.
Can anyone help? I want to add at least the "vmx" CPU capability to dom0 kernel.

Thanks,
Shawn

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Missing CPU capabilities VMX
  2008-11-24 13:15 Y. D.
@ 2008-11-24 13:18 ` Keir Fraser
  0 siblings, 0 replies; 4+ messages in thread
From: Keir Fraser @ 2008-11-24 13:18 UTC (permalink / raw)
  To: Y. D., xen-devel

A lot of features are not usable by dom0 kernel and hence are hidden by Xen.

 -- keir

On 24/11/08 13:15, "Y. D." <duyuyang@gmail.com> wrote:

> Hi,
> 
> My Xeon CPU spports lots of capabilities, when I cat /proc/cpuinfo, the flags
> list: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
> clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor
> ds_cpl vmx est tm2 ssse3 cx16 xtpr dca lahf_lm.
> 
> After a make world building of Xen-3.3.0, when I cat /proc/cpuinfo, the flags
> list only: fpu de tsc msr pae cx8 apic mtrr cmov pat clflush acpi mmx fxsr sse
> sse2 ss ht nx constant_tsc pni est.
> 
> I am only able to make world the dom0 kernel, as I don't know how to configure
> the kernel. Last time I make oldconfig, but it eventually failed.
> Can anyone help? I want to add at least the "vmx" CPU capability to dom0
> kernel.
> 
> Thanks,
> Shawn
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: Missing CPU capabilities VMX
@ 2008-11-24 15:52 Y. D.
  2008-11-24 15:58 ` Keir Fraser
  0 siblings, 1 reply; 4+ messages in thread
From: Y. D. @ 2008-11-24 15:52 UTC (permalink / raw)
  To: Keir Fraser; +Cc: xen-devel

>A lot of features are not usable by dom0 kernel and hence are hidden by Xen.

I got it. dom0 is just a domain, so it should not see _some_ features. This is reasonable.
Actually, I am trying creating a hvm domain to install debian4 with an ISO file installer.
I thought maybe the reason is that dom0 is not configured with vmx feature. According to your explanation, I was wrong.
But what is the real problem?
The system is xen-3.3.0 + dom0 generic pv kernel 2.6.18.8 with gnome.
After I entered command: xm create dom.hvm.conf, the console outputs:

Using config file "./dom.hvm.conf".
Started domain dom3

Nothing else happened thereafter. I really don't know what is wrong and what I should do.

My hvm configuration is:

import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 512
name = "dom3"
vcpus=1
vif = [ 'type=ioemu' ]
disk = [ 'phy:sdb9,hda,w', 'file:/xen/dom3/debian-40r5-i386-netinst.iso,hdc:cdrom,r' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
sdl=1
opengl=1
vnc=1
vncpasswd=''
stdvga=0
serial='pty'

Thanks in advance,
Shawn

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Missing CPU capabilities VMX
  2008-11-24 15:52 Re: Missing CPU capabilities VMX Y. D.
@ 2008-11-24 15:58 ` Keir Fraser
  0 siblings, 0 replies; 4+ messages in thread
From: Keir Fraser @ 2008-11-24 15:58 UTC (permalink / raw)
  To: Y. D.; +Cc: xen-devel




On 24/11/08 15:52, "Y. D." <duyuyang@gmail.com> wrote:

> Using config file "./dom.hvm.conf".
> Started domain dom3
> 
> Nothing else happened thereafter. I really don't know what is wrong and what I
> should do.

You probably want to connect to the domain's VGA output using a VNC client.
Something like 'vncviewer localhost:5900'.

 -- Keir

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-11-24 15:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-24 15:52 Re: Missing CPU capabilities VMX Y. D.
2008-11-24 15:58 ` Keir Fraser
  -- strict thread matches above, loose matches on Subject: below --
2008-11-24 13:15 Y. D.
2008-11-24 13:18 ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.