Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72662 - Extend qemu with additional feature
Summary: Extend qemu with additional feature
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords: Goal
Depends on:
Blocks:
 
Reported: 2004-11-27 11:37 UTC by Stefan Schweizer (RETIRED)
Modified: 2005-05-14 05:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
qemu.diff (qemu.diff,2.21 KB, patch)
2004-11-28 04:24 UTC, Stefan Schweizer (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Schweizer (RETIRED) gentoo-dev 2004-11-27 11:37:22 UTC
Hi,

the latest version of qemu in debian can show grub graphical menus, used very often, so the support is really a grat thing. I would like to do some development on a graphical grubscreen, but therefore I would need to test it in qemu.

Can you please incorporate the debian feature additions into the gentoo package?
Comment 1 Luca Barbato gentoo-dev 2004-11-27 16:31:48 UTC
Could you please point me the debian package and/or explain me exactly what you want?

I think/guess all you need is to enable sdl in order to get grub load

(+sdl,+softmmu)

if there is something else required please tell me

(I'll upload a 0.6.2-cvs in short time to address a problem found in the 0.6.1 release)
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-27 23:24:24 UTC
I tried with a cvs ebuild, but that did not work, seems like debian adds features, which are not in the cvs:

Sources:
http://ftp.debian.org/debian/pool/main/q/qemu/qemu_0.6.0.dfsg.2.orig.tar.gz
http://ftp.debian.org/debian/pool/main/q/qemu/qemu_0.6.0.dfsg.2-1.diff.gz

Binary(Did not work for me because of a glibc error)
http://ftp.de.debian.org/debian/pool/main/q/qemu/qemu_0.6.0.dfsg.2-1_i386.deb
Comment 3 Luca Barbato gentoo-dev 2004-11-28 02:57:14 UTC
feature I could see they added:

- Automagic way to make a debian image (probably I could provide something similar using a modified quickpkg, do we really want it?)

- Some other tools that are in a uuencoded tar in the patch, I have yet to unpack it

Actually my laptop is having some hw issues, could you help me try to figure out everything they changed?
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-28 02:59:11 UTC
I also saw like 5 patches ..
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-28 03:30:58 UTC
apart from the patches they add a if-up file and the pc-bios/*.bin fils are changed
Comment 6 Luca Barbato gentoo-dev 2004-11-28 03:46:48 UTC
if-up should be superceeded by the slirp builtin (enabled in the ebuild)

I hopefully fixed the patch (got "cvs replaced" an $Header reference in a generated file)
Comment 7 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-28 04:04:22 UTC
vgabios, bochsbios, these packages seem to be additionally used by debian for the .bin files
Comment 8 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-28 04:24:26 UTC
Created attachment 44856 [details, diff]
qemu.diff

This makes it work for me.
Comment 9 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-28 04:29:52 UTC
I am not sure about the networking stuff, I think thats lack of documentation, I never used networking because I never read the manpage ;)
kernel mod is built, but I get: 
warning: could not open /dev/net/tun: no virtual network emulation


ls /dev/net/tun -l
crw-rw----  1 root root 10, 200 28. Nov 13:27 /dev/net/tun
How can I make that user-accessible?
udev-046

I also wonder, why the escape keycombination is now ctrl+alt instead of ctrl+shift. ctrl+alt as escape makes it impossible to switch consoles in a linux guest. Do you know how to change that?



emerge info:

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r4 i686)
=================================================================
System uname: 2.6.9-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.50GHz
Gentoo Base System version 1.6.6
distcc 2.18.2 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i586 -fomit-frame-pointer -pipe -Os"
CHOST="i586-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/fax /usr/share/config /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i586 -fomit-frame-pointer -pipe -Os"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache cvs distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X acpi alsa arts avi bitmap-fonts cdparanoia cdr crypt cups dga distcache divx4linux dvd dvdread edl f77 fam fbcon foomaticdb fortran gdbm gif gnome gpm gtk gtk2 hal imlib javascript jpeg kde libg++ libwww live lzo mikmod mng mozilla mpeg mysql ncurses network nls nptl oggvorbis opengl pam pdflib perl png qt quicktime readline rtc ruby samba scanner sdl spell ssl svg svga tcltk tcpd tga tiff truetype usb wxwindows x86 xfs xine xinerama xml xml2 xmms xosd xv xvid zlib video_cards_radeon linguas_de linguas_en"
Comment 10 Stefan Schweizer (RETIRED) gentoo-dev 2005-05-14 05:58:35 UTC
This was solved in qemu-0.7

(Not my problems setting up network though, but thats probably just lazyness of looking for a good howto ;)