[CentOS-virt] Libvirt problem - centos 5.4 / xen 3.4.2 all x86_64

2009-12-15 Thread For@ll
Hi,

Anyone have  that problem  xen installation?

[r...@xen64-dev ~]# virsh autostart appl
error: Failed to mark domain appl as autostarted
error: internal error sexpr2string failed

r...@xen64-dev opt]# rpm -qa |grep libvirt
libvirt-client-0.7.0-6.el5
libvirt-python-0.7.0-6.el5
libvirt-0.7.0-6.el5

[r...@xen64-dev opt]# rpm -qa |grep xen
xen-libs-3.4.2-2.el5
kernel-xen-2.6.18-164.6.1.el5
xen-3.4.2-2.el5

f...@ll

P.S Maybe newer version libvirt 0.7.4 is working fine? It's exist any 
repo where I find libvirt-0.7.4 for centos 5.4 ?
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] Centos virsh - add a physical device

2009-09-28 Thread For@ll
Hi,

If I create a guest which uses (hvm) can I add access to physical device 
like cdrom?

Regards,

f...@ll
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Centos virsh - add a physical device

2009-09-28 Thread For@ll
Tait Clarridge pisze:
 On Mon, 2009-09-28 at 08:05 +0200, f...@ll wrote:
   
 Hi,

 If I create a guest which uses (hvm) can I add access to physical device 
 like cdrom?

 Regards,

 f...@ll
 

 Yes, you are able to add a CDROM device to your guest.

 You can add either a physical drive or an ISO image. Are you using
 virt-manager or just config files at the command line?

 Tait

 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt
   
Hi,

I using only a comman line, my centos server have only text console 
without a X server. I used a virsh.

f...@ll
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Centos virsh - add a physical device

2009-09-28 Thread For@ll
Tait Clarridge pisze:
 On Mon, 2009-09-28 at 22:17 +0200, f...@ll wrote:
   
 Tait Clarridge pisze:
 
 On Mon, 2009-09-28 at 08:05 +0200, f...@ll wrote:
   
   
 Hi,

 If I create a guest which uses (hvm) can I add access to physical device 
 like cdrom?

 Regards,

 f...@ll
 
 
 Yes, you are able to add a CDROM device to your guest.

 You can add either a physical drive or an ISO image. Are you using
 virt-manager or just config files at the command line?

 Tait

 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt
   
   
 Hi,

 I using only a comman line, my centos server have only text console 
 without a X server. I used a virsh.

 f...@ll
 

 Can you post the config file for the guest?

 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt
   
This is a guest config file with xml and native format:

cat win2khvm.xml  
domain type='xen' 
id='50'
  
namewin2k8-hvm/name 
  

  uuidc53ac13f-d32f-9934-8c0b-a8728fb52f19/uuid
  memory1048576/memory
  currentMemory1048576/currentMemory
  vcpu1/vcpu
  os
typehvm/type
loader/usr/lib/xen/boot/hvmloader/loader
boot dev='hd'/
  /os
  features
acpi/
apic/
pae/
  /features
  clock offset='utc'/
  on_poweroffdestroy/on_poweroff
  on_rebootrestart/on_reboot
  on_crashrestart/on_crash
  devices
emulator/usr/lib/xen/bin/qemu-dm/emulator
disk type='block' device='disk'
  driver name='phy'/
  source dev='/dev/vol1/win2k8'/
  target dev='hda' bus='ide'/
/disk
disk type='block' device='cdrom'
  driver name='phy'/
  source dev='/dev/cdrom'/
  target dev='hdc' bus='ide'/
  readonly/
/disk
interface type='bridge'
  mac address='00:16:36:2a:e4:15'/
  source bridge='eth0'/
  script path='/etc/xen/scripts/vif-bridge'/
  target dev='vif50.0'/
/interface
serial type='pty'
  source path='/dev/pts/2'/
  target port='0'/
/serial
console type='pty' tty='/dev/pts/2'
  source path='/dev/pts/2'/
  target port='0'/
/console
input type='mouse' bus='ps2'/
graphics type='vnc' port='5900' autoport='yes' keymap='en-us'/
  /devices
/domain


Native config:

cat win2k8.cfg
name = win2k8-hvm
uuid = c53ac13f-d32f-9934-8c0b-a8728fb52f19
maxmem = 1024
memory = 1024
vcpus = 1
builder = hvm
kernel = /usr/lib/xen/boot/hvmloader
boot = c
pae = 1
acpi = 1
apic = 1
localtime = 0
on_poweroff = destroy
on_reboot = restart
on_crash = restart
device_model = /usr/lib/xen/bin/qemu-dm
vfb = [ type=vnc,vncunused=1,keymap=en-us ]
disk = [ phy:/dev/vol1/win2k8,hda,w, phy:/dev/cdrom,hdc:cdrom,r ]
vif = [ 
mac=00:16:36:2a:e4:15,bridge=eth0,script=vif-bridge,vifname=vif50.0 ]
parallel = none
serial = pty

















___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt