[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH RFC] libxl: make firmware_override able to cope with relative path



Andrew Cooper writes ("Re: [PATCH RFC] libxl: make firmware_override able to 
cope with relative path"):
> The important bit which XTF and regular users want is relative to the
> .cfg file, rather than $CWD.

Consider:

  cd /root/foo
  xl create dir/vm1/vm1.cfg

  cd /root/bar
  xl block-attach vm1 vdev=xvdc target=file.img

Where do you think `file.img' should be searched for:

  - /root/foo/dir/vm1/vm1.cfg
  - /root/bar/dir/vm1/vm1.cfg
  - /root/bar/file.img

?  (4 marks)

In your answer, consider how your proposal would be implemented, given
that there may be xl, a qemu device model, and blkback, to consider.
Sketch how any necessary additional state would be stored in libxl.
(4 marks)

Discuss what should happen when the domain is subsequently migrated.
(4 marks)

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.