Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 04-08-2016, 04:39 PM   #1
LQ Newbie
Registered: Dec 2014
Posts: 5

Rep: Reputation: Disabled
libvirt: post virt-clone, unchanged values in resulting XML file from original XML file

Hey guys,

I just cloned a simple VM with this command:

virt-clone --original linax2-new --name linax1-new --file /scratch/vm/linax1.img
This created a new linax1.img and linax1.xml file. However inspecting the linax1.xml file reveals this "channel" under devices:

    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-linax2-new/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
It makes direct reference to the original domain it was cloned from (linax2-new). Is this okay? Can it be changed? *Should* it be changed?
Old 04-14-2016, 08:20 AM   #2
Registered: Sep 2012
Distribution: RHEL5/6, CentOS5/6
Posts: 218

Rep: Reputation: 38
This refers to the Guest Agent installed on your source VM.
libvirt Wiki states:
Libvirt does not guarantee any support of direct use of the guest agent.
This means that virt-clone doesn't handle this option. You need to adjust these settings manually.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any Way to Read a SINGLE XML VALUE from a big XML File in Linux? Or...? gmark Programming 3 01-17-2016 10:51 AM
[SOLVED] android - how to access strings in a custom xml file in res/values? eantoranz Programming 5 11-13-2012 10:11 AM
Extarct tags with multiline values from XML file using sed/Awk gbms Linux - Newbie 3 03-27-2012 10:18 AM
Set tap device in libvirt xml for virt-manager? davelowndes Linux - Virtualization and Cloud 2 11-04-2010 03:20 AM
Sorting specific values from an XML file canimsin Programming 5 09-21-2010 10:48 PM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 12:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration