Jump to content











Photo
- - - - -

How to apply updates in QEMU


  • Please log in to reply
8 replies to this topic

#1 ambralivio

ambralivio

    Frequent Member

  • Advanced user
  • 166 posts
  •  
    Italy

Posted 04 September 2016 - 11:01 PM

I'm on the first steps of the learning curve for using Qemu within Windows and I started to use the last version of Qemu Manager (7.0).

 

At the same time, considering the old age of the qemu executables inside Qemu Manager, I'd like to apply some update and so I've downloaded the last binaries from Stefan Weil's page.

 

The point now is that I don't know how to apply these changes in Qemu Manager (changing its folder structure/content,and how?, what qemu.exe to use?, and so on).

 

ambralivio



#2 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 13649 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 05 September 2016 - 08:36 AM

Well, I believe you cannot. :(

 

The Qemu accompanying Qemu Manager is a "special version" (with the source modified and compiled in an unknown way), AFAIK/AFAICR a "normal" Qemu won't work under/inside Qemu Manager".

 

What you can do is to try using the Qemu Manager to generate the commands and then call an updated self-standing Qemu.exe with those commands (though I believe that a few need anyway to be checked/translated).

 

The Author of Qemu Manager (Dave Reynolds ) for a period of time did provide (on an "unlisted" "update site") new, updated Qemu Versions, (and so these were not cached by Wayback MAchine) then a few years ago, he moved from davereyn.co.uk to http://www.sorted-sy...mu_manager.htmland then simply disappeared from the "scene". 

 

The only source code available is the Qemu Manager 6.0 version (not the 7.0):

https://web.archive....com/qmdown.html

https://web.archive..../qem/source.zip

but anyway doesn't AFAICT contain any info on how to modify/compile Qemu to work with Qemu Manager.

 

:duff:

Wonko



#3 ambralivio

ambralivio

    Frequent Member

  • Advanced user
  • 166 posts
  •  
    Italy

Posted 07 September 2016 - 08:50 PM

What you can do is to try using the Qemu Manager to generate the commands and then call an updated self-standing Qemu.exe with those commands (though I believe that a few need anyway to be checked/translated).

 

OK Wonko.

I made several trials following your advices above and also by having a look to the multitude of options available in one of the lastly updated qemu version (Qemu for Windows from Stefan Weil) and by trying to apply translations between the two qemu executables.

 

Unfortunately, as also you foresaw, none of the trials gave positive (nor partially positive) results, receiving many error notifications (mainly about incompatibility or unknown options/sub-options).

 

Considering all the above difficulties and the limitations of qemu as virtualizer (this last was one of my main aim), I think to give up the trials, looking elsewhere (for example, VirtualBox -based on qemu, though) for my final target.

 

Nevertheless, thanks again Wonko for your precious explanations/help. 

 

ambralivio



#4 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 13649 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 08 September 2016 - 07:58 AM

What would be interesting - on the other hand - would be to know which problems (if any) have you found with the "old" qemu.exe coming with Qemu Manager.

Latest I have is I believe the 0.13 version (specific for Qemu Manager).

 

If you want a copy of that one, just say so.

 

:duff:

Wonko



#5 ambralivio

ambralivio

    Frequent Member

  • Advanced user
  • 166 posts
  •  
    Italy

Posted 08 September 2016 - 08:51 PM

Wonko,

 

Well. I'll tell you the full story (and I beg your pardon for its length).   
 
My final target was to check & test the QEMU/VirtualBox-VMUB (Virtual Machine USB Boot, the DavidB's tool).
It's worth saying here that the direct trials with the VirtualBox-VMUB combo went fine, just at first shot. 
 
Instead, for the QEMU-VMUB case, before going directly with the combo trials, as an intermediate step I preferred to check (separately and independently) the QEMU Manager functionalities, since I'd never used that tool.
 
Unfortunately (but only later I realized this was my innocent fault), the bootable UFD I used for the first trials was based on a WinPE for Windows 10 (64 bit) and so in no way I was able to boot that UFD.
It was at this point that, having the feeling that the installed Qemu Manager was using a very old qemu.exe version (therefore, not compatible with the "advanced" WinPE), I decided to look for some updated executables and so I installed the last version of Qemu for Windows tool (from Stefan Weil Page).
But, after several tests (with negative results) it was clear that I should have asked for some help to the Reboot experts, opening this thread.
 
Then, once I read your post, before proceding with your advices, I realized the idea about the "too much advanced WinPE" and therefore I built another bootable UFD (but based on a more "standard" WinPE 3.1). This time, QEMU Manager was able to boot the new UFD, even if very, very slowly...
 
Finally, hoping to improve/extend the capabilities of QEMU (in order to boot more advanced WinPEs), I followed your advices making the last tests and trying to extend/translate the commands from Qemu Manager to Qemu for Windows, but this is a well known story...(described in Post #3). 
 
Therefore, to make the long story short, I'd say that the main problem I had with the old qemu.exe (coming with Qemu Manager) seems to stay on its "limited" compatibility with "newer" WinPEs/OS.
 
Regarding the version of qemu, I was not able to determine it for the Qemu manager I have tested. What I can say is that the Qemu Manager version is the last official one (7.0) and the properties of qemu.exe are :
 
Dimensions : 2.010.112 bytes
Date 28/3/2010
SHA-1: 5D07EABA89B2FD19E6EC7F86ED4DA21B5BCDF7E9
 
Therefore, if you think yours is newer, please send it to me, possibly together with some companion notes/documentation.  
 
ambralivio


#6 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 13649 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 09 September 2016 - 08:10 AM

Yep it depends on the actual version, but if you open the command prompt, navigate to where the qemu.exe is:

qemu.exe  -version

It should create a stdout.txt with contents:
QEMU PC emulator version 0.11.1, Copyright © 2003-2008 Fabrice Bellard

If you open Qemu Manager and go to Tools->Qemu Version Management, you should find an entry to the same effect.

 

You should get the file linked below, then expand it making a directory (under the directory qemumanager.exe is, \qmqemu0-13-0), of course you can change the name or move the directory where you prefer, then go to the Qemu Version Management, add an entry and configure it.

http://www.filedropp...om/qmqemu0-13-0

 

Of course Qemu is very slow with "heavy" OS's or PE's.

 

:duff:

Wonko

 

 

 



#7 ambralivio

ambralivio

    Frequent Member

  • Advanced user
  • 166 posts
  •  
    Italy

Posted 09 September 2016 - 08:59 AM

OK.

 

I've checked and mine is Version 0.11.1, dated March 2010, whilst the version you linked to is 0.13.0, dated November 2010, clearly not official (or even not documented).

 

I have some doubt that in so few months there were so many improvements between the two versions.

 

Do you have a ChangeLog file for the new version or, at least, do you remember what important changes were applied ?

 

ambralivio



#8 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 13649 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 09 September 2016 - 09:46 AM

No, no idea of what changed.

 

I am not sure to understand the "non-official" note.

 

A version 0.13 was released alright:

http://wiki.qemu.org/OlderNews

 

 

All QEMU builds for Windows are non-official as the Author only releases the source code, some people do port them and compile them on Windows, nicely making them available to people like you and me that don't want or cannot compile themselves:

http://wiki.qemu.org/Links

The official-unofficial :w00t: 0.13 is available here:

http://takeda-toshiya.my.coocan.jp/

http://takeda-toshiy...3.0-windows.zip

 

The issue with Qemu Manager is that the Author made "custom builds" (most probably they are only a handful of little changes in the source) but never AFAIK documented the diffs/patches and/or the options used.

 

My guess is that a competent programmer can (with the source code of version 0.13 and the compiled binary from the above file), and with the known patches needed to compile in Windows find out what the differences/patches are needed to compile a newer version compatible with Qemu Manager.

 

Unofrtunately it seems like noone is interested in this (or in making a new program similar to Qemu Manager capable of running a "normal" Windows port of Qemu) :(

 

 

:duff:

Wonko



#9 ambralivio

ambralivio

    Frequent Member

  • Advanced user
  • 166 posts
  •  
    Italy

Posted 09 September 2016 - 11:33 AM

OK, Good.

 

For official-non official I meant in the sense of Qemu manager port...

 

At the end, and following your guess can we agree saying that Qemu is a goof emulator till today but not as good as virtualizer ?

 

ambralivio 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users