* [Qemu-devel] Any alternative to kqemu ?
@ 2012-10-14 10:52 Timothy Madden
2012-10-15 8:03 ` Paolo Bonzini
2012-10-15 8:37 ` Stefan Hajnoczi
0 siblings, 2 replies; 6+ messages in thread
From: Timothy Madden @ 2012-10-14 10:52 UTC (permalink / raw)
To: qemu-devel
Hello
Is kqemu deprecated ? Is there an alternative to it ? I mean other than
kvm, which my CPU (Pentium Celeron D, 2.53 GHz) does not support.
Can I compile qemu with "-O3 -march=pentium" if I want to get better
performance ? Has anyone tried it ?
`qemu-system-i386 -net nic ...` keeps saying upon invocation that vlan0
is not connected to host network. My `vconfig add eth1` command
completed successfully, and I can `ifconfig eth1.0`, although I see no
IP address on the new interface, only the mac address.
I have qemu 1.2.0 compiled on Slackware 14.0.
Thank you,
Timothy Madden
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Any alternative to kqemu ?
2012-10-14 10:52 [Qemu-devel] Any alternative to kqemu ? Timothy Madden
@ 2012-10-15 8:03 ` Paolo Bonzini
2012-10-17 13:39 ` Timothy Madden
2012-10-15 8:37 ` Stefan Hajnoczi
1 sibling, 1 reply; 6+ messages in thread
From: Paolo Bonzini @ 2012-10-15 8:03 UTC (permalink / raw)
To: Timothy Madden; +Cc: qemu-devel
Il 14/10/2012 12:52, Timothy Madden ha scritto:
> Hello
>
> Is kqemu deprecated ?
It is simply not supported anymore.
> Is there an alternative to it ?
No.
> `qemu-system-i386 -net nic ...` keeps saying upon invocation that vlan0
> is not connected to host network. My `vconfig add eth1` command
> completed successfully, and I can `ifconfig eth1.0`, although I see no
> IP address on the new interface, only the mac address.
QEMU VLANs have nothing to do with Linux VLANs. Yes, that is confusing. :(
If you install libvirt, you can use -net nic -net bridge,br=virbr0.
Otherwise, you could configure a bridge yourself and just use "-net nic
-net bridge".
Paolo
> I have qemu 1.2.0 compiled on Slackware 14.0.
>
> Thank you,
> Timothy Madden
>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Any alternative to kqemu ?
2012-10-14 10:52 [Qemu-devel] Any alternative to kqemu ? Timothy Madden
2012-10-15 8:03 ` Paolo Bonzini
@ 2012-10-15 8:37 ` Stefan Hajnoczi
1 sibling, 0 replies; 6+ messages in thread
From: Stefan Hajnoczi @ 2012-10-15 8:37 UTC (permalink / raw)
To: Timothy Madden; +Cc: qemu-devel
On Sun, Oct 14, 2012 at 01:52:54PM +0300, Timothy Madden wrote:
> `qemu-system-i386 -net nic ...` keeps saying upon invocation that
> vlan0 is not connected to host network. My `vconfig add eth1`
> command completed successfully, and I can `ifconfig eth1.0`,
> although I see no IP address on the new interface, only the mac
> address.
QEMU "VLANs" are not 802.1Q VLANs. The terminology is confusing but it
has nothing to do with vconfig.
This error is displayed because there are two parts to the network
configuration options:
1. Emulated guest device, for example rtl8139 or virtio-net.
2. Host netdev, for example tap or the userspace SLIRP stack.
The error means you have only defined the emulated guest device but no
host netdev. QEMU needs to know how you wish to connect the guest to
the outside world.
Here is a complete network configuration to try:
qemu -net nic,model=rtl8139 -net user
There is more detail here:
http://wiki.qemu.org/Documentation/Networking
Stefan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Any alternative to kqemu ?
2012-10-15 8:03 ` Paolo Bonzini
@ 2012-10-17 13:39 ` Timothy Madden
2012-10-17 13:46 ` 陳韋任 (Wei-Ren Chen)
2012-10-17 13:47 ` Paolo Bonzini
0 siblings, 2 replies; 6+ messages in thread
From: Timothy Madden @ 2012-10-17 13:39 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: qemu-devel
On Mon, Oct 15, 2012 at 11:03 AM, Paolo Bonzini <pbonzini@redhat.com> wrote:
> Il 14/10/2012 12:52, Timothy Madden ha scritto:
>> Hello
>>
>> Is kqemu deprecated ?
>
> It is simply not supported anymore.
>
>> Is there an alternative to it ?
>
> No.
That is tough ... ! So my hardware is officially obsolete.
I had to get away with those other emulators provided by commercial
companies. VMWare said my hardware does not support virtualization
(much like qemu), but VirtualBox worked surprisingly well and uses the
CPU natively (no emulation, faster than my qemu without kvm).
>> `qemu-system-i386 -net nic ...` keeps saying upon invocation that vlan0
>> is not connected to host network. My `vconfig add eth1` command
>> completed successfully, and I can `ifconfig eth1.0`, although I see no
>> IP address on the new interface, only the mac address.
>
> QEMU VLANs have nothing to do with Linux VLANs. Yes, that is confusing. :(
>
> If you install libvirt, you can use -net nic -net bridge,br=virbr0.
>
> Otherwise, you could configure a bridge yourself and just use "-net nic
> -net bridge".
It turns out I had to say:
ifconfig eth1.0 up
Which might be obvious for the people here, but is not that much
obvious when you first hear about vlans ...
Thank you for your responses,
Timothy Madden
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Any alternative to kqemu ?
2012-10-17 13:39 ` Timothy Madden
@ 2012-10-17 13:46 ` 陳韋任 (Wei-Ren Chen)
2012-10-17 13:47 ` Paolo Bonzini
1 sibling, 0 replies; 6+ messages in thread
From: 陳韋任 (Wei-Ren Chen) @ 2012-10-17 13:46 UTC (permalink / raw)
To: Timothy Madden; +Cc: Paolo Bonzini, qemu-devel
> >> Is there an alternative to it ?
> >
> > No.
>
> That is tough ... ! So my hardware is officially obsolete.
>
> I had to get away with those other emulators provided by commercial
> companies. VMWare said my hardware does not support virtualization
> (much like qemu), but VirtualBox worked surprisingly well and uses the
> CPU natively (no emulation, faster than my qemu without kvm).
IIRC, VirtualBox take approach similar to kqemu does, i.e.,
translate privilege instructions only and run non-privilege
instructions on host cpu directly.
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Any alternative to kqemu ?
2012-10-17 13:39 ` Timothy Madden
2012-10-17 13:46 ` 陳韋任 (Wei-Ren Chen)
@ 2012-10-17 13:47 ` Paolo Bonzini
1 sibling, 0 replies; 6+ messages in thread
From: Paolo Bonzini @ 2012-10-17 13:47 UTC (permalink / raw)
To: Timothy Madden; +Cc: qemu-devel
Il 17/10/2012 15:39, Timothy Madden ha scritto:
> On Mon, Oct 15, 2012 at 11:03 AM, Paolo Bonzini <pbonzini@redhat.com> wrote:
>> Il 14/10/2012 12:52, Timothy Madden ha scritto:
>>> Hello
>>>
>>> Is kqemu deprecated ?
>>
>> It is simply not supported anymore.
>>
>>> Is there an alternative to it ?
>>
>> No.
>
> That is tough ... ! So my hardware is officially obsolete.
That is not because of obsoletion of hardware. It's because kqemu was
holding off other enhancements to QEMU, and nobody stepped up to
maintain it.
> I had to get away with those other emulators provided by commercial
> companies. VMWare said my hardware does not support virtualization
> (much like qemu), but VirtualBox worked surprisingly well and uses the
> CPU natively (no emulation, faster than my qemu without kvm).
Yes, qemu without kvm can be quite slow because of the overhead of CPU
emulation. One problem is that newer distros use SSE a lot, and this is
quite slow.
Paolo
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-10-17 13:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-14 10:52 [Qemu-devel] Any alternative to kqemu ? Timothy Madden
2012-10-15 8:03 ` Paolo Bonzini
2012-10-17 13:39 ` Timothy Madden
2012-10-17 13:46 ` 陳韋任 (Wei-Ren Chen)
2012-10-17 13:47 ` Paolo Bonzini
2012-10-15 8:37 ` Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).