Jump to content

Dropdown selection list for drives on VM create/edit form


Recommended Posts

For easy management of VMs, I would vote for a dropdown selection list on the VM create/edit form.

 

1.) This dropdown selection list would include all unused devices *).

 

2.) It would be possible to add and remove devices from the VM create/edit form. The dropdown selection list will reflect added/removed devices.

 

3.) After VM creation, the devices used for this VM will get the passed-thru indicator within Unassigned Devices.

 

4.) A standard XML block like the following will be added to this VM for every selected device:

 

<devices>
    <disk type='block' device='disk'>
        <driver name='qemu' type='raw' cache='none'/>
        <source dev='/dev/disk/by-id/********'/>
        <serial>********</serial>
        <target dev='vd*' bus='virtio'/>
        <backingStore/>
    </disk>
</devices>

 

 

*) This list would contain all non-array and non-boot devices that are not marked as passed-thru within Unassigned Devices and are not selected on the current VM create/edit form.

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...