weizhouapache commented on issue #3879: kvm: Enable virtio drivers based on guest os display name URL: https://github.com/apache/cloudstack/pull/3879#issuecomment-584888430 > @weizhouapache can you explain it me a little bit better. if i understand it correctly if guestosmapping and host is null then we set guestOS.getDisplayName(). why display name? maybe i stand on the line 😕 @svenvogel here is an example: in guest_os, we have Debian 9 ``` mysql> select id,name,display_name from guest_os where id in (289,290); +-----+------+-----------------------------+ | id | name | display_name | +-----+------+-----------------------------+ | 289 | NULL | Debian GNU/Linux 9 (32-bit) | | 290 | NULL | Debian GNU/Linux 9 (64-bit) | +-----+------+-----------------------------+ 2 rows in set (0.01 sec) ``` however, in guest_os_hypervisor, there is no record for these guest oses on kvm ``` mysql> select * from guest_os_hypervisor where guest_os_id in (289,290) and hypervisor_type='KVM'; Empty set (0.00 sec) ``` when we start a vm with Debian 9, in StartCommand it shows ``` "arch":"x86_64","os":"Debian GNU/Linux 9 (64-bit)","platformEmulator":"Other" ``` so vm is started with ide disk and e1000 nic. with this change, "platformEmulator" will be set to same value as "os"
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
