Hi,
I tried (most) of your use flags without any change.
Maybe it's because my CPU is very new and qemu-kvm-1.0-r2 has problem
with that. Whatever, I'm fine with the 9999 version.
Still needs to get a tutorial how to use vde with virt-install. Can't
find anything in the net :(
Kind regards,
Felix Blanke
On 2/7/12 1:42 PM, Marko Weber wrote:
I do bridged network here.
Then i told via virsh to use the bridge.
"virt-manager" is doing the rest.
i use these useflags:
app-emulation/libvirt: debug elibc_glibc json libvirtd lxc macvtap nfs
nls numa pcap policykit python qemu sasl udev virt-network
virt-manager: policykit
app-emulation/qemu-kvm: aio alsa jpeg ncurses opengl png
qemu_softmmu_targets_i386 qemu_softmmu_targets_x86_64
qemu_user_targets_i386 qemu_user_targets_x86_64 sdl spice ssl threads
vde vhost-net
Michal helped with the useflags on libvirt.
Maybe these works for you.
marko
Am 07.02.2012 13:28, schrieb Felix Blanke:
> Hi,
>
> you're right, gentoo here :)
>
> Well, qemu-kvm emerged without problems, therefore my masking should
> be correct.
> Maybe it's a combination of versions which doesn't work, I don't know.
>
> Right now the virt-install command works. I have some trouble setting
> up a vm using vde. I don't know what to tell --network to use vde. If
> someone has a hint (like an example cmdline for virt-install using
> vde) and would share it with me would be great.
>
> Kind regards,
> Felix Blanke
>
> On 2/7/12 1:20 PM, Marko Weber wrote:
>>
>> Hello,
>> sounds you are using gentoo-linux, right?
>> Here on 1.0-r2 No Problems.
>> You need to unmask some other depends to run 1.0-r2
>>
>> marko
>>
>>
>>
>> Am 07.02.2012 12:23, schrieb Felix Blanke:
>>> On 2/7/12 11:06 AM, Michal Privoznik wrote:
>>>> On 06.02.2012 19:58, Felix Blanke wrote:
>>>>> Hello,
>>>>>
>>>>> I have a problem with virt-install. I want to use it to create my vm
>>>>> and
>>>>> manage them. But whenever I execute the virt-install cmd I get the
>>>>> error
>>>>> msg mentioned in the subject.
>>>>>
>>>>> Here are some more informations:
>>>>>
>>>>> hp ~ # virt-install --virt-type kvm --arch x86_64 --debug
>>>>> Mon, 06 Feb 2012 19:57:29 DEBUG Launched with command line:
>>>>> /usr/bin/virt-install --virt-type kvm --arch x86_64 --debug
>>>>> Mon, 06 Feb 2012 19:57:29 DEBUG Requesting libvirt URI default
>>>>> Mon, 06 Feb 2012 19:57:29 DEBUG Received libvirt URI qemu:///system
>>>>> Mon, 06 Feb 2012 19:57:29 DEBUG Requesting virt method
'default', hv
>>>>> type 'kvm'.
>>>>> Mon, 06 Feb 2012 19:57:29 ERROR Host does not support any
>>>>> virtualization options for arch 'x86_64'
>>>>> Mon, 06 Feb 2012 19:57:29 DEBUG Traceback (most recent call last):
>>>>> File "/usr/bin/virt-install-2.7", line 272, in
get_virt_type
>>>>> machine=options.machine)
>>>>> File
>>>>>
>>>>>
>>>>>
"/usr/lib64/python2.7/site-packages/virtinst/CapabilitiesParser.py",
>>>>> line 732, in guest_lookup
>>>>> {'virttype' : osstr, 'arch' : archstr})
>>>>> ValueError: Host does not support any virtualization options for
arch
>>>>> 'x86_64'
>>>>>
>>>>>
>>>>> hp ~ # virsh --connect qemu:///system
>>>>> Welcome to virsh, the virtualization interactive terminal.
>>>>>
>>>>> Type: 'help' for help with commands
>>>>> 'quit' to quit
>>>>>
>>>>> virsh # capabilities
>>>>> <capabilities>
>>>>>
>>>>> <host>
>>>>> <uuid>604c8a12-cb5b-d911-985d-5404a67ef15d</uuid>
>>>>> <cpu>
>>>>> <arch>x86_64</arch>
>>>>> <model>Westmere</model>
>>>>> <vendor>Intel</vendor>
>>>>> <topology sockets='1' cores='4'
threads='2'/>
>>>>> <feature name='rdtscp'/>
>>>>> <feature name='x2apic'/>
>>>>> <feature name='xtpr'/>
>>>>> <feature name='tm2'/>
>>>>> <feature name='est'/>
>>>>> <feature name='vmx'/>
>>>>> <feature name='ds_cpl'/>
>>>>> <feature name='monitor'/>
>>>>> <feature name='pbe'/>
>>>>> <feature name='tm'/>
>>>>> <feature name='ht'/>
>>>>> <feature name='ss'/>
>>>>> <feature name='acpi'/>
>>>>> <feature name='ds'/>
>>>>> <feature name='vme'/>
>>>>> </cpu>
>>>>> <migration_features>
>>>>> <live/>
>>>>> <uri_transports>
>>>>> <uri_transport>tcp</uri_transport>
>>>>> </uri_transports>
>>>>> </migration_features>
>>>>> </host>
>>>>>
>>>>> </capabilities>
>>>>>
>>>>>
>>>>>
>>>>> I have no clue what is going on. I have kvm compiled into my kernel.
>>>>> Normal "kvm" commands are working. Intel VT is enabled in
the bios.
>>>>>
>>>>>
>>>>> Any thoughts on this one?
>>>>>
>>>>
>>>> Do you have qemu installed? Under what paths?
>>>> Libvirt tries to find qemu-kvm under PATH or /usr/libexec/;
>>>> then kvm and qemu-system-* under PATH;
>>>>
>>>> What about /dev/kvm - is it accessible?
>>>>
>>>> Please, provide libvirt logs as well.
>>>>
>>>> Michal
>>>
>>>
>>> Hello,
>>>
>>> first of all thank you very much for your reply.
>>>
>>> The hint with the libvirt log pointed me into the right direction.
>>> While executing the virt-install cmd there was an error in the
>>> libvirt.log:
>>>
>>> 12:03:11.938: 3137: error : qemuCapsParseHelpStr:1165 : internal
>>> error cannot parse /usr/bin/qemu-system-x86_64 version number in 'QEMU
>>> emulator version 1.0 (qemu-kvm-1.0), Copyright (c) 2003-2008 Fabrice
>>> Bellard'
>>>
>>>
>>> Google for that error pointed me to a bug report. This bug still
>>> seems to be in the qemu-kvm version I was using (1.0-r2). Upgrading to
>>> version 9999 seemed to solve my issue. I don't get the error anymore
>>> and will now try to setup a virtual machine.
>>>
>>>
>>> Kind regards,
>>> Felix Blanke
>>>
>>> _______________________________________________
>>> libvirt-users mailing list
>>> libvirt-users(a)redhat.com
>>>
https://www.redhat.com/mailman/listinfo/libvirt-users
>>
>>
>> _______________________________________________
>> libvirt-users mailing list
>> libvirt-users(a)redhat.com
>>
https://www.redhat.com/mailman/listinfo/libvirt-users
>
> _______________________________________________
> libvirt-users mailing list
> libvirt-users(a)redhat.com
>
https://www.redhat.com/mailman/listinfo/libvirt-users
_______________________________________________
libvirt-users mailing list
libvirt-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users