Gregory Nowak wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello all.
I've just upgraded to vbox 3.1.2 on a winxp host. I'm trying to
unregister a virtual machine. In preparation for this, I've released
all media attached to the vm, and have unshared all shared
folders. When I do
vboxmanage unregistervm debian
I'm told that the machine debian cannot be unregistered, because it
has 2 media attachments. The only things attached to the machine are
controllers. Primary ide master has nothing attached to it. Primary
slave doesn't exist. Secondary master has nothing attached to it (it's
listed as empty dvd). Secondary master doesn't exist. The floppy
controller has nothing attached to it (it's listed as empty floppy0).
You just explained where the two attachments are: the empty DVD drive
and the empty floppy drive.
The proper solution is to remove those drives (with VBoxManage
storageattach VMNAME --storagectl NAME --port x --device y --medium
none) before unregistering the VM.
Is there something that I'm missing, or is this a bug for which I
should open a ticket? I had a look at debian.xml too, and it doesn't
list any attached media there either as far as I can tell. I know I
could just edit machines.xml, but that's not the point here.
The presence of an "attachment" doesn't imply that there's a medium
attached. An attachment corresponds to a drive.
This check is more strict that with 3.0, as back then only hard disks
counted as attachments. Maybe one day we'll relax the check, but right
now that's the expected behavior.
If someone from Sun would like to have a look at debian.xml and/or
debian.xml, and machines.xml, please let me know, and I'll send which
ever xml files you'd like to look at to you. Thanks in advance.
Greg
Klaus
_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users