(reset) |
No edit summary |
||
Line 19: | Line 19: | ||
[http://www.redhat.com/mailman/listinfo/fedora-virt fedora-virt list]. | [http://www.redhat.com/mailman/listinfo/fedora-virt fedora-virt list]. | ||
==== | ==== Adding a VM to Virtual Machine Manager ==== | ||
Dennis J. asked<ref>http://www.redhat.com/archives/fedora-virt/2009-June/msg00026.html</ref> | |||
"How do I add a custom-built vm to {{package|virt-manager}}?" | |||
This is a two step process with a few ways to accomplish them. | |||
# Create an XML representation<ref>http://www.libvirt.org/formatdomain.html</ref> of the guest, or domain, configuration. | |||
# Import this definition into {{package|libvirt}}. i.e. <code>virsh define guest.xml</code> | |||
The {{package|python-virtinst|virt-image}}<ref>http://people.redhat.com/dlutter/virt-image/virt-image-xml.html</ref> | |||
tool was suggested and worked for Dennis. | |||
There is also a perl script<ref>http://fedoraproject.org/wiki/FWN/Issue174#Virt-Manage_an_Existing_Guest</ref> that can be used to create an XML definition from the set of <code>qemu-kvm</code> command line arguments used to create the guest. There is a public API in <code>libvirt</code> for converting back and forth between the native hypervisor configurations and XML representations.<ref>http://fedoraproject.org/wiki/FWN/Issue176#Converting_Between_Domain_XML_and_Native_Configurations</ref> | |||
Finally, <code>virt-install</code> added an <code>--import</code> option which allows creating a guest from an existing disk image, bypassing any OS install phase.<ref>http://fedoraproject.org/wiki/FWN/Issue166#New_Release_virtinst_0.4.2</ref> | |||
<references /> | <references /> | ||
Revision as of 20:13, 13 June 2009
Virtualization
In this section, we cover discussion of Fedora virtualization technologies on the @et-mgmnt-tools-list, @fedora-xen-list, and @libvirt-list lists.
Contributing Writer: Dale Bewley
Enterprise Management Tools List
This section contains the discussion happening on the et-mgmt-tools list
Fedora Virtualization List
This section contains the discussion happening on the fedora-virt list.
Adding a VM to Virtual Machine Manager
Dennis J. asked[1]
"How do I add a custom-built vm to
?"
virt-manager
This is a two step process with a few ways to accomplish them.
- Create an XML representation[2] of the guest, or domain, configuration.
- Import this definition into
. i.e.libvirt
virsh define guest.xml
The
[3]
tool was suggested and worked for Dennis.
There is also a perl script[4] that can be used to create an XML definition from the set of virt-image
qemu-kvm
command line arguments used to create the guest. There is a public API in libvirt
for converting back and forth between the native hypervisor configurations and XML representations.[5]
Finally, virt-install
added an --import
option which allows creating a guest from an existing disk image, bypassing any OS install phase.[6]
- ↑ http://www.redhat.com/archives/fedora-virt/2009-June/msg00026.html
- ↑ http://www.libvirt.org/formatdomain.html
- ↑ http://people.redhat.com/dlutter/virt-image/virt-image-xml.html
- ↑ http://fedoraproject.org/wiki/FWN/Issue174#Virt-Manage_an_Existing_Guest
- ↑ http://fedoraproject.org/wiki/FWN/Issue176#Converting_Between_Domain_XML_and_Native_Configurations
- ↑ http://fedoraproject.org/wiki/FWN/Issue166#New_Release_virtinst_0.4.2
Fedora Xen List
This section contains the discussion happening on the fedora-xen list.
Libvirt List
This section contains the discussion happening on the libvir-list.