Displaying 2 results from an estimated 2 matches for "some_libvirt_domain".
2016 Jan 12
3
What are the advantages and disadvantages of running with or without libvirt?
I didn't see what are the main differences in
http://libguestfs.org/guestfs.3.html#backend
Specifically, I'm interested in what is faster (direct sounds faster to
me), and if there are any major restrictions (networking?)
Here's an example command we are running (sorry, Python'ish, but you'll get
it):
['virt-sysprep', '--connect', 'qemu:///system',
2016 Jan 12
0
Re: What are the advantages and disadvantages of running with or without libvirt?
...tion isn't anything to do with how
libguestfs runs its appliance, and it's not even significant in the
virt-sysprep command you've shown here.
The virt-sysprep --connect option affects how virt-sysprep (and other
tools) process the '-d' option.
If you write:
virt-sysprep -d some_libvirt_domain --mkdir /foo
then virt-sysprep asks libvirt for the XML of `some_libvirt_domain'
(basically equivalent to running `virsh dumpxml some_libvirt_domain')
and it then parses the libvirt XML to find the disks of
`some_libvirt_domain' so it knows where to create the /foo directory.
https://...