|
|

08-20-2008, 02:52 PM
|
|
|
virsh/virt-install for dummies
Well that really need to be archived on the proper list, i.e.
et-mgmt-tools@redhat.com
Daniel
On Wed, Aug 20, 2008 at 02:08:28PM +0100, Richard W.M. Jones wrote:
> On Tue, Aug 19, 2008 at 11:25:21AM +0900, Jun Koi wrote:
> > Yes, that was a mistake. I changed -c to --connect, and get the error
> > "Unsupported virtualization type" now. How can I fix it?
>
> I've been bitten by this very same error message in virt-install.
> Took me absolutely ages to work out that I had to use the '--hvm'
> option. It's a usability bug in virt-install, plain and simple.
> Attached is a patch which clarifies the error message.
>
> Rich.
>
> --
> Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
> Read my OCaml programming blog: http://camltastic.blogspot.com/
> Fedora now supports 60 OCaml packages (the OPEN alternative to F#)
> http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
> diff -r de5bcee1e78f virtinst/ImageManager.py
> --- a/virtinst/ImageManager.py Mon Aug 18 16:33:57 2008 -0400
> +++ b/virtinst/ImageManager.py Wed Aug 20 14:08:00 2008 +0100
> @@ -46,7 +46,7 @@
>
> self._guest = self._capabilities.guestForOSType(self._boot_caps. type, self._boot_caps.arch)
> if self._guest is None:
> - raise PlatformMatchException(_("Unsupported virtualization type"))
> + raise PlatformMatchException(_("Unsupported virtualization type. If the host only supports full virtualization, try adding the --hvm option."))
>
> self._domain = self._guest.bestDomainType()
> self.type = self._domain.hypervisor_type
> --
> Libvir-list mailing list
> Libvir-list@redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
|
|

08-20-2008, 03:33 PM
|
|
|
virsh/virt-install for dummies
Richard W.M. Jones wrote:
> On Tue, Aug 19, 2008 at 11:25:21AM +0900, Jun Koi wrote:
>> Yes, that was a mistake. I changed -c to --connect, and get the error
>> "Unsupported virtualization type" now. How can I fix it?
>
> I've been bitten by this very same error message in virt-install.
> Took me absolutely ages to work out that I had to use the '--hvm'
> option. It's a usability bug in virt-install, plain and simple.
> Attached is a patch which clarifies the error message.
>
> Rich.
>
>
Hmm, the patch you presented is actually for virt-image,
not virt-install. The current upstream for virt-install
should already have this resolved though, attempting to
remedy the issue in two ways:
1) If no virt type is specified, we default to the first
capabilities entry matching the host's architecture.
For xen this is PV, but for qemu (even w/ xenner
present) this defaults to hvm with qemu hostarch
binary.
2) The error message is now
"Unsupported virtualization type %foo for arch %blah"
Which will hopefully point out any errors.
That said we do need an equivalent change for ImageManager/
virt-image so I'll see about centralizing the current code
for use by both apps.
Thanks,
Cole
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
|
|

08-20-2008, 03:47 PM
|
|
|
virsh/virt-install for dummies
On Wed, Aug 20, 2008 at 10:33:57AM -0400, Cole Robinson wrote:
> Hmm, the patch you presented is actually for virt-image,
> not virt-install.
Oh yes, bit stupid :-(
> 1) If no virt type is specified, we default to the first
> capabilities entry matching the host's architecture.
> For xen this is PV, but for qemu (even w/ xenner
> present) this defaults to hvm with qemu hostarch
> binary.
Yes, that sounds like the right thing to do.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
|
|
|
All times are GMT. The time now is 11:00 AM.
VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org
|