Re: [vbox-dev] find available storage at location before creating a medium

2013-01-14 Thread Maxime Dor
returns int and the IMedium::createBaseStorage demands long? Thanks, Gal. On 01/13/2013 09:39 PM, Maxime Dor wrote: See inline answers On 13/01/2013 16:52, gal wrote: Hello, I use the JAVA API. In order to create a harddisk I use vbox.createHardDisk and then IMedium::createBaseStorage

Re: [vbox-dev] Intended Purpose

2013-01-24 Thread Maxime Dor
Hi Klaus, On 24/01/2013 17:34, Klaus Espenlaub wrote: It's a quite common setup, and like all similar setups it is bending the definition of host only somewhat. It relies on the advanced networking capabilities of the host OS, in this case Linux. That's right, I am happy to hear it is not

Re: [vbox-dev] Virtualbox Error -- error code:0x80004005

2013-02-16 Thread Maxime Dor
Hello, I believe the best place for this kind of error would be on the End-Users forums : https://forums.virtualbox.org Make sure you read this first before you post : https://forums.virtualbox.org/viewtopic.php?f=24t=48476 This mailing list is aimed for discussion related to the source code,

[vbox-dev] Race condition?

2013-02-22 Thread Maxime Dor
Hello, Given the following Java code snipet : @Override public void powerOff() throws MachineException { Logger.track(); IMachine machine = ConnectionManager.findMachine(getUuid()); ISession session = ConnectionManager.getSession(); try {

Re: [vbox-dev] Race condition?

2013-02-25 Thread Maxime Dor
Hello Klaus, Thank you very much for the insight, that makes it perfectly clear. I'll make sure this is handled properly then. Thank you very much for your time. Best regards, Max On 25/02/2013 17:38, Klaus Espenlaub wrote: You're not missing anything, and it's not a bug either. It's an

[vbox-dev] In need of facts

2013-03-22 Thread Maxime Dor
Hello, Now and then, I keep having the same chat about the different virtualization products available around, and I keep arguing about what Virtualbox actually is with some of my colleagues. All of this just makes me doubt in the end and therefore, I was hoping on the input of one of the devs to

Re: [vbox-dev] In need of facts

2013-03-22 Thread Maxime Dor
Thank you Alex, I think it just clicked in my head what the core difference is. Reading again on the Internet, I got confused by the fact that ESX used a readhat kernel, but ESX doesn't actually run on it, but run under it after some magic. But you're right, the most important is that it feels

Re: [vbox-dev] Network adapters speed - possible bug, need insight

2013-04-26 Thread Maxime Dor
by disabling TCP Segmentation Offloading in the guest OS as suggested in the bug report at https://www.virtualbox.org/ticket/9380. Ivo Op 26-4-2013 1:01, Maxime Dor schreef: Hello people, For a while now, I have been facing some odd network speed issues with Virtualbox but wasn't able to pint

[vbox-dev] API questions

2013-08-07 Thread Maxime Dor
Hi Devs, After playing around with the Java WS API for a while now, I would appreciate some clarification and confirmation on some assumptions I am making for a while now. Here we go : When getting several ISession object accross the code, I ended up realizing that these objects actually point

Re: [vbox-dev] API questions

2013-08-07 Thread Maxime Dor
explaination. I'll dare to turn on the verbose log and see how it works. Max PS : so I don't die stupid, what does MOR stand for? Google doesn't give me interesting results... On 7 August 2013 18:05, Klaus Espenlaub klaus.espenl...@oracle.com wrote: Hi Maxime, On 07.08.2013 17:07, Maxime

Re: [vbox-dev] API questions

2013-08-08 Thread Maxime Dor
We learn something everyday, the beauty of coding ! Thank you again. On 8 August 2013 12:08, Klaus Espenlaub klaus.espenl...@oracle.com wrote: Hi Max, On 07.08.2013 23:10, Maxime Dor wrote: Hi Klaus, Thank you very much for the detailed explaination of the inner-working

[vbox-dev] VBox 4.3 Beta - SDK Download

2013-09-12 Thread Maxime Dor
Hello, Would it possible to get a SDK zip like with 4.2.x build so I can already test my code against 4.3 and already prepare what needs to be changed? Thank you. Best regards, Max ___ vbox-dev mailing list vbox-dev@virtualbox.org

Re: [vbox-dev] VBox 4.3 Beta - SDK Download

2013-09-20 Thread Maxime Dor
Espenlaub klaus.espenl...@oracle.comwrote: Hi Max, On 16.09.2013 23:49, Maxime Dor wrote: Hi Klaus, Just wanted to let you know that so far, everything is very easy and that except for the actual API changes, which are very limited from my PoV, all the code is pretty much plug play

Re: [vbox-dev] VBox 4.3 Beta - SDK Download

2013-09-26 Thread Maxime Dor
! Best regards, Max On 21 September 2013 22:27, Maxime Dor maxime@altherian.org wrote: Oops, a bit too trigger happy hehe... I got it, thank you! -Original Message- From: Frank Mehnert [mailto:frank.mehn...@oracle.com] Sent: 21 September 2013 07:58 To: vbox-dev@virtualbox.org

Re: [vbox-dev] VBox 4.3 Beta - SDK Download

2013-10-02 Thread Maxime Dor
, and the required lock type. Maybe I am being very picky here, but since this is all about feedback, I thought I would mention it. All for now, more to come I am sure. Best regards, Max On 26 September 2013 21:29, Maxime Dor maxime@altherian.org wrote: Hi Klaus, So far so good, I can't find anything

Re: [vbox-dev] VBox 4.3 Beta - SDK Download

2013-10-20 Thread Maxime Dor
October 2013 20:54, Maxime Dor maxime@altherian.org wrote: Hi Devs, A bit more feedback, following on my previous already long e-mail : The method IConsole-restoreSnapshot() requires a ISnapshot object, when all the others require only the name or the UUID of a given snapshot. Any

[vbox-dev] Patch for kmk sdk build

2013-12-25 Thread Maxime Dor
Hi Devs, In my quest to successfully the SDK using the convenient kmk sdk command, I came accross some issues and some inconsistencies : - If you ask for the SDK, you get a part of the SDK without any control over it. - If you want the webservices parts, you need to enable it into

Re: [vbox-dev] Change setting with java Main API

2014-05-29 Thread Maxime Dor
Use LockType.Shared instead - some other process must already be using the VM (is it running?) On 29 May 2014 10:12, Federica Renzi renzi.f...@gmail.com wrote: Hi everyone, I'm trying to change some VM setting during the execution of virtualbox. I read in SDK documentation that it's possible

Re: [vbox-dev] Change setting with java Main API

2014-05-30 Thread Maxime Dor
using java Main Api. I really would like to change some setting while it is running but I don't understand if it's possible. 2014-05-29 22:07 GMT+02:00 Maxime Dor maxime@altherian.org: Use LockType.Shared instead - some other process must already be using the VM (is it running?) On 29

Re: [vbox-dev] Creating host-only network interfaces with VBOX API

2014-06-05 Thread Maxime Dor
Hi, https://www.virtualbox.org/sdkref/interface_i_host.html#a96ee805c081da0c69ac90cab82f3e4e6 This would be your start point. On 5 June 2014 07:37, Karoline Haus karolineh...@yahoo.de wrote: Hi, can someone explain how I can create a host-only network interface, configure it with static IP

Re: [vbox-dev] Creating host-only network interfaces with VBOX API

2014-06-05 Thread Maxime Dor
-only interface name? Or is that the same? Thanks for your help. Maxime Dor maxime@altherian.org schrieb am 9:04 Donnerstag, 5.Juni 2014: Hi, https://www.virtualbox.org/sdkref/interface_i_host.html#a96ee805c081da0c69ac90cab82f3e4e6 This would be your start point. On 5 June 2014

Re: [vbox-dev] createBaseStorage() fails with VERR_INVALID_PARAMETER

2014-06-06 Thread Maxime Dor
Provide the part of your code that fails please, else it's a bit hard to give you pointers. On 5 June 2014 16:25, Karoline Haus karolineh...@yahoo.de wrote: Hi I'm trying to create a virtual hard drive using the Python API. I can successully create the IMedium object using

Re: [vbox-dev] createBaseStorage() fails with VERR_INVALID_PARAMETER

2014-06-06 Thread Maxime Dor
(). Thanks! Maxime Dor maxime@altherian.org schrieb am 8:58 Freitag, 6.Juni 2014: Provide the part of your code that fails please, else it's a bit hard to give you pointers. On 5 June 2014 16:25, Karoline Haus karolineh...@yahoo.de wrote: Hi I'm trying to create a virtual hard

Re: [vbox-dev] createBaseStorage() fails with VERR_INVALID_PARAMETER

2014-06-08 Thread Maxime Dor
as there is no long type in Python. Maxime Dor maxime@altherian.org schrieb am 15:07 Freitag, 6.Juni 2014: Never wrote python, but it looks good. Can you simply confirm that self.vboxMgr.constants.MediumVariant_Standard is given in an array? (it looks like but not sure). Else

Re: [vbox-dev] createBaseStorage() fails with VERR_INVALID_PARAMETER

2014-06-10 Thread Maxime Dor
What values do you get if you enumerate ISystemProperties::mediumFormats https://www.virtualbox.org/sdkref/interface_i_system_properties.html#a3fddf22466361f98b6dc9fc4458d1049 ? From: Karoline Haus [mailto:karolineh...@yahoo.de] Sent: 10 June 2014 13:17 To: Maxime Dor Cc: vbox-dev

Re: [vbox-dev] Virtual Machine Provider

2014-06-25 Thread Maxime Dor
If the question is : “Can I remotely control Virtualbox?”, then the answer is yes you can, using the WebServices if you want to keep it strictly Virtualbox SDK. Else, projects like Hyperbox http://hyperbox.altherian.org/ (I am the creator) and phpVirtualBox

[vbox-dev] 4.3.22 Java COM Fixes

2015-02-13 Thread Maxime Dor
Hi, I see the following entry in the 4.3.22 changelog : SDK: Java COM bindings fixes but no further info or link to a ticket number. Could you give a sum up of what has been fixed? Thank you! Max ___ vbox-dev mailing list vbox-dev@virtualbox.org

[vbox-dev] CVE-2015-3456 aka VENOM

2015-05-15 Thread Maxime Dor
Hi, Could an experienced dev validate that this diff between VBox 4.3.26 4.3.28 is indeed a fix CVE-2015-3456 ? http://pastebin.com/hb5Fbwku QEMU patch for reference:

[vbox-dev] Maintenance Page - link error

2015-06-05 Thread Maxime Dor
Hi, Justed wanted to let you know that during a maintenance period of the website, the link to the download server page doesn't work if the forum hostname is used (forums.virtualbox.org). I have attached the source code, you can see that the href attribute miss a quote at the start for the

[vbox-dev] IMachine::cloneTo() and Groups

2015-08-13 Thread Maxime Dor
Hello, Following up on https://forums.virtualbox.org/viewtopic.php?f=34t=69563 Is a VM created by IMachine::cloneTo() https://www.virtualbox.org/sdkref/interface_i_machine.html#a8109a3cdf154e552fcf47b6198d464f0 supposed to inherit the groups of the original VM? Given the forum topic, it is

Re: [vbox-dev] Possibly non-documented incompatibility 4.x - 5.0

2015-07-27 Thread Maxime Dor
judge of that. Thank you for the clarifications, I see now I need to adapt my code to be better at least. Max On 27-07-15 10:50, Klaus Espenlaub wrote: Max, On 25.07.2015 01:03, Maxime Dor wrote: Hi, It looks like in 5.0 the ISession::console attribute is no longer created under a Shared

[vbox-dev] Possibly non-documented incompatibility 4.x - 5.0

2015-07-24 Thread Maxime Dor
Hi, It looks like in 5.0 the ISession::console attribute is no longer created under a Shared or Write lock, but only on a VM lock. In previous versions of VirtualBox, the console was always available regardless of the lock type. This change is not documented in the SDK where you would expect

Re: [vbox-dev] VirtualBox blocks 127/8 (loopback) subnets for intnet

2015-12-01 Thread Maxime Dor
Hi George, If you mean IPs like 127.x.x.x, they are dedicated to localhost communications by the TCP/IP standard and described as such in RFC 990 : The class A network number 127 is assigned the "loopback" function, that is, a datagram sent by a

Re: [vbox-dev] Machine state RESETING Event

2015-11-23 Thread Maxime Dor
Hi Klaus, On 16/11/15 13:09, Klaus Espenlaub wrote: > Hi Max, > > On 13.11.2015 21:24, Maxime Dor wrote: >> Hi, >> >> Following up on this topic >> (https://forums.virtualbox.org/viewtopic.php?f=9=69975) and this >> specific statement that no OnMachineS

Re: [vbox-dev] vboxjmscom

2016-04-07 Thread Maxime Dor
Hi Alexandre, building on top of Klaus answer: If you want to manage VirtualBox on Windows, you currently need to use the Web Services binding. For the purpose of my Hyperbox project, I've put together a piece of code you can easily work with to manage the Web Services server, start it for

Re: [vbox-dev] VirutalBox XPCOM interface as root

2016-04-23 Thread Maxime Dor
Do you actually run as a complete root session, or with sudo? On 23/04/16 16:05, Rūdolfs Bundulis wrote: I removed the virtual machines to exclude that as a source of error. Now running my program that tries to launch a VM called Xubuntu fails as expected when non-root (the API tells there is

Re: [vbox-dev] Static route or default gateway for NAT

2016-10-04 Thread Maxime Dor
g a bridge will not work as that would require configuring "public" routers to deliver packets to the internal router. NAT is the best solution. Regards Malcolm On 03/10/2016 13:58, Maxime Dor wrote: Hi Malcom, That is on purpose - being behind a NAT network means you want to hid

Re: [vbox-dev] Static route or default gateway for NAT

2016-10-04 Thread Maxime Dor
09:34, Maxime Dor wrote: Malcolm, Just to be clear, is this your topology? Public || VBox NAT Network process |-| Router VM |-| Hidden network If so, I'm not aware of options to include static routes into the NAT engine of VirtualBox, but I also don't see why you

Re: [vbox-dev] Static route or default gateway for NAT

2016-10-03 Thread Maxime Dor
Hi Malcom, That is on purpose - being behind a NAT network means you want to hide any subnet connect to that network from the outside world. Any outgoing connection will look like it came from the NAT Router "public" IP. If you want to allow specific connections to be allowed in, you need to

Re: [vbox-dev] Location of VirtualBox configuration file

2016-10-28 Thread Maxime Dor
in the directory. Instead the old file is renamed and a new "empty" file is created in its place. This makes no sense if USERPROFILE is used every time. Regards Malcolm On 28/10/2016 15:34, Maxime Dor wrote: I think the web documentation needs clarification on this matter, it is missleadi

Re: [vbox-dev] Location of VirtualBox configuration file

2016-10-28 Thread Maxime Dor
ware? > >Ideas why the global configuration is not being picked up? Could it be >using HOMEDRIVE HOMEPATH in one place and USERPROFILE elsewhere? > >Regards > >Malcolm > >On 28/10/2016 15:13, Maxime Dor wrote: >I believe the variable that is used by software to determine the

Re: [vbox-dev] Location of VirtualBox configuration file

2016-10-14 Thread Maxime Dor
Hi Malcolm, You can change the location using the ||VBOX_USER_HOME|| env variable. More info here: https://www.virtualbox.org/manual/ch10.html#idm9569 Max On 14/10/16 18:52, Malcolm Clarke wrote: Dear All Although VirtualBox holds a parameter for the location of the configuration files of