scsi controller issue in 'customize before install'

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

 



Hi list,
 
I have a question about scsi controller while I create vm.
 
For a existed vm, When user changed a virtual disk's bus type to scsi In VM details page,
Then click 'apply' button, If this vm's configuration doesn't have any scsi controller, Libvirt
will automatically add one and trigger a lifecycle event. Virt-manager rely on the event to
refresh vm's hardware list, Then user can see the scsi controller which is automatically
added by libvirt.

But when user installs a vm through virt-manager GUI, In VM details page(customize before
install), User changes a virtual disk's bus type to scsi, Then click 'apply' button, There is no
scsi controller in hardware list because libvirt won't help user to add a default scsi controller
until user clicks 'Begin Installation' button. user may get user confused.
In this case, If user wants to use virtio-scsi instead of the default one, User needs to manually
add a scsi controller then change the scsi controller model.
 
I refered to the logic of 'adding disk', want to write a patch to modify the logic of 'changing
disk bus' to: Add a virtio-scsi scsi controller if needed while user change disk bus to scsi
instead of relying on libvirt lifecycle event, Then user can see the scsi controller in hardware
list before install.
 
I'm not sure if the idea makes sense, or perhaps this is not an issue. So may I have your idea?
 
Thanks,
Lin
_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux