<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello Christian,<br>
<br>
I have been running Nova 64 bit on a AMD Phenom machine and am using
qemu version 1.0.<br>
<br>
The problem symptoms varied from 'vbox file already existing' to not
starting virtualbox at all. I decided to switch to Nova 32 bit. Now
the symptoms are stable, I am getting 'vbox file already exising'
every time now.<br>
<br>
I went through the code of
genode-14.11/repos/ports/src/virtualbox/frontend/main.cc, which to
me seems to be the driver of VirtualBox proper.<br>
<br>
At around line 106 I found rc = machine->init(virtualbox,
vm_name, *machine_config);<br>
This call is unsuccessful and also generates the "Machine : Machine
settings file '/VirtualBox VMs/w7/w7.vbox' already exists" message.
I have located the the VirtualBox file where this message is
emanating from, it is MachineImpl.cpp, which can be found in
genode-14.11/contrib/virtualbox-fd1a0bb3692bfb4448f3b3f8978fc1c5d037e2c4/src/app/virtualbox/src/VBox/Main/src-server.<br>
<br>
This is the function that is called at around line 502:<br>
<br>
/**<br>
* Initializes a new instance from a machine config that is already
in memory<br>
* (import OVF case). Since we are importing, the UUID in the
machine<br>
* config is ignored and we always generate a fresh one.<br>
*<br>
* @param strName Name for the new machine; this overrides what is
specified in config and is used<br>
* for the settings file as well.<br>
* @param config Machine configuration loaded and parsed from
XML.<br>
*<br>
* @return Success indicator. if not S_OK, the machine object is
invalid<br>
*/<br>
<br>
HRESULT Machine::init(VirtualBox *aParent,<br>
const Utf8Str &strName,<br>
const settings::MachineConfigFile &config)<br>
<br>
In here, Machine::tryCreateMachineConfigFile() is called (at 534).
This call finds out that the vbox file already exists and terminates
VirtualBox.<br>
<br>
I have tried to call Machine::initFromSettings() instaed in main.cc,
but that causes a lot more error messages for which I am lacking
detailed knowledge about the innards of VirtualBox. <br>
<br>
Up to here, I don't think qemu or atapi_drv are to blame for this
problem, the call to Machine::init() looks to be the problem. <br>
<br>
So, how exactly did genode.org succeed in executing Windows 7 with
VirtualBox on Nova using genode-14.11 ?<br>
<br>
Regards, Adrian Schuur.<br>
<br>
<br>
<div class="moz-cite-prefix">Am 24.02.2015 um 19:21 schrieb
Christian Prochaska:<br>
</div>
<blockquote cite="mid:54ECC142.4000406@...1..." type="cite">
<pre wrap="">Hello Adrian,
I could not reproduce the same problem you reported, but found two other
problems when trying to run VirtualBox in Qemu:
First, 'atapi_drv' does not run well on newer Qemu versions (I used Qemu
2.2.0), so I changed your run script to use the 'ahci' driver instead
(see attachment).
Then I tried to run TinyCore Linux in the VM (with both the .vbox and
the .iso file in the root directory of the ext2 image) and when the
Linux kernel started to boot, VirtualBox reported 'invalid gueststate'
errors and the kernel boot process never finished.
So, even if you can find out why your VirtualBox complains about the
'w7.vbox' file, I would not have too high hopes of getting your VM
running in VirtualBox on Qemu (or with AMD SVM hardware virtualization
in general) without some prior work on the VirtualBox port. So far we
have used and tested VirtualBox mainly on Intel hardware. Would that be
an option for you?
Regards,
Christian
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. <a class="moz-txt-link-freetext" href="http://goparallel.sourceforge.net/">http://goparallel.sourceforge.net/</a></pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
genode-main mailing list
<a class="moz-txt-link-abbreviated" href="mailto:genode-main@lists.sourceforge.net">genode-main@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/genode-main">https://lists.sourceforge.net/lists/listinfo/genode-main</a>
</pre>
</blockquote>
<br>
</body>
</html>