You need to convert The configuration file for a xl’s managed VM to libvirt xml file , you can use domxml-from-native and domxml-to-native to convert to libvirt
 xml configuration :  
  
Virsh domxml-from-native  xen-xm /etc/xen/guest.cfg
 
  
The output xml file will be placed in /etc/libvirt/qemu/ 
  
This is what you need to convert your xl config file to xml and manage your vm via virsh or virt-manager GUI .
 
  
Abdallah Jabbour
 
IT Manager
 
MSC -MEDITERRANEAN SHIPPING AGENCY ( SYRIA )
 
for the real world
 
Sheikhdaher, Flaifel Brothers Avenue,Bldge No.602 P.O. Box 1133 
T:+963 41 466 122/Ext 225  W:
www.msc.com
 
As agent for MSC Mediterranean Shipping Company S.A., Geneva 
  
  
 
  
From: Jason Long [mailto:hack3rcon@xxxxxxxxx]
 
Sent: 13 حزيران, 2016 10:42 ص 
To: Abdallah Jabbour <it-j@xxxxxxxxx>; Xen-users <xen-users@xxxxxxxxxxxxx> 
Subject: Re: [Xen-users] Can I control Xen VM via virsh command? 
 
 
  
On Monday, June 13, 2016 11:56 AM, Abdallah Jabbour <it-j@xxxxxxxxx> wrote: 
 
  
How did you start it ? “ xl create configfile” ? or created a VM using virt-manager GUI or virsh-install ?
 
 
MSC -MEDITERRANEAN SHIPPING AGENCY ( SYRIA )
 
 
Sheikhdaher, Flaifel Brothers Avenue,Bldge No.602 P.O. Box 1133 
 
As agent for MSC Mediterranean Shipping Company S.A., Geneva 
 
 
I started my Xen VM and how can I work with it via "libvirsh" ? 
 
 
On Sunday, June 12, 2016 9:40 PM, Abdallah Jabbour <it-j@xxxxxxxxx> wrote: 
 
 
virsh is the shell for managing Guest VM , once you install libvirt , you can start , shutdown  , destroy , edit , to create VM another
 command is virt-install , you can man both , while there is buitin help for virsh . 
 
example :  
virsh edit domain-name ( edit the VM config file ) 
virsh start domain-name  
virsh shutdown domain-name  
virsh destroy domain-name ( un-plug power cord from the Vm ) 
virsh autstart domain-name ( mark the domain for auto start with the host ) . 
 
you can do a lot of stuff from virsh you can migrate to another hypervisor  
....  
 
enjoy  
 
MSC -MEDITERRANEAN SHIPPING AGENCY ( SYRIA )
 
 
 
Sheikhdaher, Flaifel Brothers Avenue,Bldge No.602 P.O. Box 1133 
 
 
 
 
 
 
 
 
From: Jason Long [hack3rcon@xxxxxxxxx] 
Sent: Saturday, June 11, 2016 3:18 PM 
To: Abdallah Jabbour; Xen-users 
Subject: Re: [Xen-users] Can I control Xen VM via virsh command? 
 
 
Installed but how to use it? 
 
 
On Saturday, June 11, 2016 4:11 PM, Abdallah Jabbour <it-j@xxxxxxxxx> wrote: 
 
 
MSC -MEDITERRANEAN SHIPPING AGENCY ( SYRIA )
 
 
 
Sheikhdaher, Flaifel Brothers Avenue,Bldge No.602 P.O. Box 1133 
 
 
As agent for MSC Mediterranean Shipping Company S.A., Geneva 
 
 
 
On Saturday, June 11, 2016 12:27 PM, Abdallah Jabbour <it-j@xxxxxxxxx> wrote: 
 
 
 
Yes you can , it will support only full virtualization ( no PV will be supported ) . and if you previously manage HVM guest via xl ,
 you will need to convert your xl configuration files for the Guest VM to xml libvirt format .
 
 
 
 
MSC -MEDITERRANEAN SHIPPING AGENCY ( SYRIA )
 
 
 
 
Sheikhdaher, Flaifel Brothers Avenue,Bldge No.602 P.O. Box 1133 
 
 
 
As agent for MSC Mediterranean Shipping Company S.A., Geneva 
 
 
 
 
Can I start and stop Xen VM via "virsh" command? 
 
 
 
 
 
 
 
This message and any associated files (together the “Contents”) are intended solely for the addressee(s). The Contents are confidential and may contain
 private information or information that is subject to copyright or is a trade secret or which is privileged. Views or opinions expressed herein do not necessarily represent views or opinions of MSC Mediterranean Shipping Company, its agents or their affiliated
 companies and may only be the view or opinion of the author. If you are not the intended recipient of this email, you must not use, print, copy, store, forward, or disclose it or act in reliance of the Contents. Please destroy all copies of the message and
 any associated files and notify the sender immediately that you have received it in error. Thank you for your cooperation.
 
 
 
 
 
 
 
 
 
 
 
 
This message and any associated files (together the “Contents”) are intended solely for the addressee(s). The Contents are confidential and may contain
 private information or information that is subject to copyright or is a trade secret or which is privileged. Views or opinions expressed herein do not necessarily represent views or opinions of MSC Mediterranean Shipping Company, its agents or their affiliated
 companies and may only be the view or opinion of the author. If you are not the intended recipient of this email, you must not use, print, copy, store, forward, or disclose it or act in reliance of the Contents. Please destroy all copies of the message and
 any associated files and notify the sender immediately that you have received it in error. Thank you for your cooperation.
 
 
 
 
 
 
 
 
 
 
 
 
 
This message and any associated files (together the “Contents”) are intended solely for the addressee(s). The Contents are confidential and may contain
 private information or information that is subject to copyright or is a trade secret or which is privileged. Views or opinions expressed herein do not necessarily represent views or opinions of MSC Mediterranean Shipping Company, its agents or their affiliated
 companies and may only be the view or opinion of the author. If you are not the intended recipient of this email, you must not use, print, copy, store, forward, or disclose it or act in reliance of the Contents. Please destroy all copies of the message and
 any associated files and notify the sender immediately that you have received it in error. Thank you for your cooperation.
 
 
 
 
 
 
 
 
 
 
 
This message and any associated files (together the “Contents”) are intended solely for the addressee(s). The Contents are confidential and may contain
 private information or information that is subject to copyright or is a trade secret or which is privileged. Views or opinions expressed herein do not necessarily represent views or opinions of MSC Mediterranean Shipping Company, its agents or their affiliated
 companies and may only be the view or opinion of the author. If you are not the intended recipient of this email, you must not use, print, copy, store, forward, or disclose it or act in reliance of the Contents. Please destroy all copies of the message and
 any associated files and notify the sender immediately that you have received it in error. Thank you for your cooperation.
 
 
 
  
  
 
 
 
 
 
 
This message and any associated files (together the “Contents”) are intended solely for the addressee(s). The Contents are confidential and may contain private information or information that is subject to copyright or is a trade secret or which is privileged.
 Views or opinions expressed herein do not necessarily represent views or opinions of MSC Mediterranean Shipping Company, its agents or their affiliated companies and may only be the view or opinion of the author. If you are not the intended recipient of this
 email, you must not use, print, copy, store, forward, or disclose it or act in reliance of the Contents. Please destroy all copies of the message and any associated files and notify the sender immediately that you have received it in error. Thank you for your
 cooperation.
 |