Skip to contentSkip to conversation

unable to use "-net user" argument after building from master branch

DISCUSSION Neal Elliott 2 participants 3 messages Jan 30, 2023 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

hello,
            I'm unable to use the "-net user" argument with the compiled "qemu-system-x86_64" binary. I get an error: "qemu-system-x86_64: -net user: network backend 'user' is not compiled into this binary"

I don't know what I'm missing when I used the configure script with the following arguments:

 ../configure --enable-linux-user --enable-user --enable-curses --enable-vhost-net --enable-vhost-user --enable-png

what am I doing wrong? what other arguments do I need to add to allow the "-net user" option to work?

#2 lore raw
Quoted 10 lines · Neal Elliott

hello,
I'm unable to use the "-net user" argument with the compiled "qemu-system-x86_64" binary. I get an error: "qemu-system-x86_64: -net user: network backend 'user' is not compiled into this binary"

I don't know what I'm missing when I used the configure script with the following arguments:

../configure --enable-linux-user --enable-user --enable-curses --enable-vhost-net --enable-vhost-user --enable-png

what am I doing wrong? what other arguments do I need to add to allow the "-net user" option to work?

Please install libslirp dev package for your host distribution.

Regards,
Bin

#3 lore raw

thank you, that worked perfect!

On Monday, January 30, 2023 at 05:08:00 AM EST, Bin Meng <[email protected]> wrote:

Quoted 11 lines · Neal Elliott

hello,
            I'm unable to use the "-net user" argument with the compiled "qemu-system-x86_64" binary. I get an error: "qemu-system-x86_64: -net user: network backend 'user' is not compiled into this binary"

I don't know what I'm missing when I used the configure script with the following arguments:

  ../configure --enable-linux-user --enable-user --enable-curses --enable-vhost-net --enable-vhost-user --enable-png

what am I doing wrong? what other arguments do I need to add to allow the "-net user" option to work?

Please install libslirp dev package for your host distribution.

Regards,
Bin