Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 22 Oct 2014, 19:54
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Virtualization
QEMU Launcher + 32 bit QEMU pet and sfs
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 10 [142 Posts]   Goto page: 1, 2, 3, ..., 8, 9, 10 Next
Author Message
mikeb


Joined: 23 Nov 2006
Posts: 8345

PostPosted: Wed 30 Apr 2014, 16:40    Post subject:  QEMU Launcher + 32 bit QEMU pet and sfs
Subject description: Gui to run qemu
 

This provides a simple light front end to Qemu.
It includes the most commonly used parameters for use with or without kernel acceleration.
A work in progress so feedback is welcome.
You can find a guide to QEMU usage here
http://www.murga-linux.com/puppy/viewtopic.php?p=775447#775447

Updated to v0.6

Merged the launcher with a 32 bit build of QEMU 2.0.0 with the launcher and made a sfs and pet . Not sure what 32 bit pups have KVM included or whether it could be built independantly...slax 7 does but thats not much use here.

http://dl.dropbox.com/u/110545536/Puppy/QEMU-32bit-2.0.0_sfs4.sfs
http://dl.dropbox.com/u/110545536/Puppy/QEMU_32bit-2.0.0.pet

If your pup lacks libcurl-gnutls and your full repository also does then ln -s /usr/lib/libcurl.so.4 /usr/lib/libcurl-gnutls.so.4 might get you happy...after all its not like gnutls is actually as safe as once considered Very Happy

Mike
Qemu_Control_Center-0.6.pet
Description 
pet

 Download 
Filename  Qemu_Control_Center-0.6.pet 
Filesize  7.81 KB 
Downloaded  165 Time(s) 
qemugui.png
 Description   
 Filesize   43.67 KB
 Viewed   791 Time(s)

qemugui.png


Last edited by mikeb on Thu 28 Aug 2014, 15:37; edited 10 times in total
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4255
Location: Gatineau (Qc), Canada

PostPosted: Thu 01 May 2014, 00:36    Post subject:  

Hi, mikeb.

I'm an ignoramus when it comes to QEMU. A few questions, if I may:
* What's so good about it?
* How does it compare to DOSBox?
* Is there a manual or how-to somewhere?
* What's your context? I mean: why did you feel the need to "knock up" this script?

Thanks in advance.

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
gcmartin

Joined: 14 Oct 2005
Posts: 4357
Location: Earth

PostPosted: Thu 01 May 2014, 01:51    Post subject:  

Installed Launcher on LightHOuse64-602 (LH64). Menu>Utility>QEMU Launcher to desktop as shown below. I left if on desktop for several minutes and when I returned I got an authority request as shown below.

Clues why the Launcher sitting empty on the desktop would cause this message to occur with no activity from keyboard/mouse? Also, message refuses to die, an immediately regenerates when killed from HTOP. The killer of this was to stop the desktop (Ctrl-Alt-Bksp) and restart.

Reconnection to LAN and simple restarting the Launcher as the ONLY desktop activity, I am NOT able to recreate the problem. Any ideas pro/con would be helpful.

Thanks in advance for any guidance.
Edit: I have been able to have this problem resurface. It seems that there may be something happening when the browsers are open when this occurs. I am still trying to gather more information.
Error message pops minutes after Launcher sits open on desktop.png
 Description   Erroneous message pop-up. Unable to kill it!!!
 Filesize   8.53 KB
 Viewed   1264 Time(s)

Error message pops minutes after Launcher sits open on desktop.png

QEMU sits open on LH64 desktop.png
 Description   Launcher sitting with NO desktop changes or user touches
 Filesize   43.82 KB
 Viewed   1211 Time(s)

QEMU sits open on LH64 desktop.png


_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4357
Location: Earth

PostPosted: Thu 01 May 2014, 04:27    Post subject:  

QEMU is a subsystem for describing a PC virtually for running on your desktop. It describes PCs...NOT distros. With a virtual PC you can boot any distro you choose.

QEMU tells your system what that virtual PC is to look like by providing mandatory and optional items used in a PC. The mandatory description is the type CPU (32/64/AMD), amount of RAM, and the LAN card. The optional items are the DVD, the HDD, and etc. Once defined, QEMU Launcher will initiate the sequence you specify so that the virtual PC boots in a window (the virtual PC display) on your desktop

Here's a diagram useful as an example in understanding the kind of service QEMU sets up where it has not one but 2 virtual PCs active with their own PUP distros, along side your running PUPPY desktop.

Image: Compliments of Puppy member @Rufwoof
Here to help

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile

Last edited by gcmartin on Thu 01 May 2014, 19:14; edited 3 times in total
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8345

PostPosted: Thu 01 May 2014, 06:14    Post subject:  

that drive manager ...is it a barry thing or gnome?
Qemu uses /dev/shm so the gui alters the size of that to suit the size of virtual ram .. only thing that might cause a warning that I can think of but then again it may be unrelated. Also of course if you request 1GB virtual ram and there is only 512MB that could pose a problem....
Could also be the USE of /dev/shm conflicting with another app...

interesting questions....
Quote:
* What's so good about it?
* How does it compare to DOSBox?
* Is there a manual or how-to somewhere?
* What's your context? I mean: why did you feel the need to "knock up" this script?

QEMU is a virtual; machine emulator in the same way that virtual box is. QEMU is pretty simple in use though it might be a case of who came first. Might be faster but I am not sure on that.
Nothing to do with DOSbox... I prefer DOSemu by the way Very Happy
Manual...well I suppose the QEMU website might help...this is just an add on for QEMU users so I assume they would already be familiar or have a suitable reference.
I knocked up the script as I often do to make it easier to use rather than remembering/creating a long command line which is the usual way QEMU is used so making it hopefully more user friendly like Virtual Box is.
Context...gcmartin requested I made a thread of it as he thinks I should and to perhaps help develop it which seemed a good idea.

Hope that makes sense

mike
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4357
Location: Earth

PostPosted: Thu 01 May 2014, 13:02    Post subject:  

@Musher0 poses a good question. And the diagram I provided, although at the time seemed like a good picture, could probably be adjusted to give a little better reflection of what this Launcher makes representing a PC's hardware, virtually.
Edit: I added additional info to assist understanding what the Launcher does for any user....below, here. Its one manner of viewing its benefit.

Launcher makes "visual" what is contained in a QEMU command-line (cli) setup of any virtual PC. Another one of its benefit is to reduce cli typos that are often made when typing any long command. And, it makes easier for anyone to understand what they do to setup and boot another distro while the main distro is running.

Hope this is helpful

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4357
Location: Earth

PostPosted: Fri 02 May 2014, 01:31    Post subject: QEMU Launcher tested  

Thanks @MikeB for this utility

QEMU Launcher tested in the following LiveDVD booted-running systems:
  • FATDOG where I booted Slacko570 ISO in a guest (vPC)
  • LightHouse64 where I booted Slacko570 ISO in a vPC
  • Slacko64 where I booted Slacko570 ISO in a vPC
Environment
  • Real PC
      AMD X2
      4GB RAM
      Single LAN housing a 8 year old NAS containing the Slacko570 ISO

  • Virtual PCs
      8GB Swap partition on the local HDD
      Guest assigned 512MB when booted
      No vHDD assigned to guest for any testing. All guest operations run in its RAM
Great job in simplifying the ability to boot and test ISOs in seconds without the need for creating CD/DVDs. Also for this ability to run several distro side-by-side simultaneously as native speeds.

Here to help

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2367
Location: Heart of Texas

PostPosted: Fri 02 May 2014, 10:32    Post subject:  

what did you use to run qemu.. on fatdog64 630 would you have a link method?
Back to top
View user's profile Send private message 
neerajkolte


Joined: 10 Feb 2014
Posts: 297
Location: Pune, India.

PostPosted: Fri 02 May 2014, 11:50    Post subject:  

Hi mikeb,
Just downloaded and installed the pet but couldn't run qemu.
So replaced /usr/bin/qemu_nim script with the hacked one given by you on other thread by Pentium44. It works nicely.
Comparing both script I could see the original uses kqemu while hacked one uses kvm.
My question is can those two scripts be combined so that they can work with both systems, either which have kqemu module or which have kvm support built in kernel and uses qemu.

_________________
"One of my most productive days was throwing away 1000 lines of code."— Ken Thompson
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8345

PostPosted: Fri 02 May 2014, 12:19    Post subject:  

Quote:
My question is can those two scripts be combined so that they can work with both systems, either which have kqemu module or which have kvm support built in kernel and uses qemu.

well that is partially the idea ...just at the testing stage for now.
Not sure about the older qemu / kqemu if no one is using it though its not a major headache to include both.

The pet just adds a convenient menu entry so we will be testing just the script for now...once finalised a fresh pet will be made.

mike
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8345

PostPosted: Sat 03 May 2014, 05:43    Post subject:  

Why not simply use this
https://packages.debian.org/squeeze/qemu-launcher

after all size is not an issue here since 90% of the qemu package is redundant on puppy why not add a few hundred k for the official gui?

mike
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4357
Location: Earth

PostPosted: Mon 05 May 2014, 22:07    Post subject: Run different PUPs on yur desktop without ever shutting down  

The Puppy Linux QEMU Launcher is great utility providing a simple function to boot other PUPs while running your main PUP. It disappears from RAM after its use. It is a quite simple tool.

A guide showing its use, in action, can be found here.

The debian tool is a fuller offering, yet a good representation to ALSO get subsequent distro booting on the PC while running the main distro.

Maybe this implementation can be termed "Light for Puppy" while Debian is "Full" (assuming the name in this thread's title remains).

Thx @MikeB for what you have done to assist multiple distro operations on a PUP desktop using the Linux Kernel Virtualization Mechanism.

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8345

PostPosted: Tue 06 May 2014, 07:11    Post subject:  

Well a package built especially for the job might in this case make more sense plus I am a little out on a limb here not being able to test current qemu for whatever reason. I could still see what I can do as is...

Main thing with the debian/ubuntu set might be if puppies cut down perl is sufficient enough.... from a quick look I don't think the result would be too large.

mike
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8345

PostPosted: Thu 08 May 2014, 06:52    Post subject:  

Ok well life has allowed me to do a bit on this...

Here is an update to test out....

Changes include
    determination of qemu binary...its assumed that if 64 is present its a 64 bit system....some packages throw in the lot so gets a bit silly...
    Adjusted KVM detection and selection... if kvm is not present option is disabled and enabled with option if available.
    Silently boots from optical drive if no hard drive image is present.
    Added 2048 virtual memory for the big boys
    Added version number to avoid mixups.
    Slight gui rearrangement.
    Renamed to qemu_gui


There were other items to do but better to check this lot works I think first.

mike

edit...removed thee totally buggy efforts

Last edited by mikeb on Sat 10 May 2014, 13:22; edited 2 times in total
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4357
Location: Earth

PostPosted: Thu 08 May 2014, 07:02    Post subject:  

Hello @MikeB. Should the old Launcher be un-installed before adding this or can this install on top of the old?

Thanks in advance for advice.

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 10 [142 Posts]   Goto page: 1, 2, 3, ..., 8, 9, 10 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Virtualization
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0928s ][ Queries: 13 (0.0066s) ][ GZIP on ]