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

Re: [Xen-users] Start Domain



On Fri, Feb 28, 2020 at 5:49 PM Dirk Streubel <dirk.streubel@xxxxxxxxx> wrote:
>
> Hello List,
>
> maybe a question that would asked 1000 Times, but i can't find an answer to 
> my question with the
> help of Google ;)
>
> I am using Fedora Rawhide and Xen Version 4.13 and i would like to start a vm 
> in the terminal.
>
> I go to /etc/libvirt/libxl  and make this:
>
>
> [root@schulung libxl]# pwd
> /etc/libvirt/libxl
> [root@schulung libxl]# xl create -n centos8.0.xml
> Parsing config from centos8.0.xml
> centos8.0.xml:1: config parsing error near `<!--': lexical error
> centos8.0.xml:2: config parsing error near `WARNING:': lexical error
> centos8.0.xml:3: config parsing error near `OVERWRITTEN': lexical error
> centos8.0.xml:3: config parsing error near `:': lexical error
> centos8.0.xml:5: config parsing error near `API.': lexical error
> centos8.0.xml:6: config parsing error near `-->': lexical error
> centos8.0.xml:8: config parsing error near `<domain': lexical error
> centos8.0.xml:8: config parsing error near `>': lexical error
> centos8.0.xml:10: config parsing error near 
> `<uuid>4f37dc8f-ceed-45cd-a061-6d5ca0f62b33</uuid>':
> lexical error
> centos8.0.xml:11: config parsing error near `<memory': lexical error
> centos8.0.xml:12: config parsing error near `<currentMemory': lexical error
> centos8.0.xml:13: config parsing error near `<vcpu': lexical error
> centos8.0.xml:14: config parsing error near `<os>': lexical error
> centos8.0.xml:15: config parsing error near `<type': lexical error
> warning: Config file looks like it contains Python code.
> warning:  Arbitrary Python is no longer supported.
> warning:  See http://wiki.xen.org/wiki/PythonInXlConfig
> Failed to parse config: Invalid argument
> [root@schulung libxl]#
>
>
> So, with virt-manager this no Problem to start a VM, Xl shutdown works for me.
>
> So, were is my fault? Use i the wrong command to start a vm?
You should use libvirt tools instead of 'xl', like:
  virsh start centos8.0


>
>
> Regards
>
> Dirk
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxxx
> https://lists.xenproject.org/mailman/listinfo/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

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