On Wed, Jan 08, 2020 at 09:33:09AM +0000, Andrew Grillet wrote:
> Yes - I like the alias idea.
>
> The example you give exactly matches most of my setups.
Cool.
> Would it be possible to pass the actual filename to boot from via OBP?
You mean specifying the absolute file path of the primary domain's
filesystem in the guest's OBP? No.
> (Perhaps if enabled/forced by a null or "*" as the filename).
> This would make it possible to add/replace a disk to a guest after the
> config is running, without interrupting the primary or other guests.
> (EG because guest is re-purposed).
You can use `vdisk /some/generic/path' and simply replace the file on
the primary, or use symlinks. Adding or removing disks to guests is not
possible, but you may replace existing disks as you wish.
I'm currently just using symlinks, that is
domain guest {
vdisk /var/ldom/guest.img
...
}
Where /var/ldom/guest.img is a symbolic link to whatever I want to boot.
Not nice but works; replace the target and restart the guest: done.