Public bug reported:

We would want full arch-caps handling in Eoans libvirt.
The work started for bug 1828495 brought us proper host and some guest work 
(qemu is fine, but libvirt is lacking).

capability detection works fine and for that I'll upload.

--- old.c.xml 2019-08-22 13:00:10.381464090 +0000
+++ new.c.xml 2019-08-22 13:02:16.907483989 +0000
@@ -37,6 +37,10 @@
       <feature name='mbm_total'/>
       <feature name='mbm_local'/>
       <feature name='invtsc'/>
+ <feature name='rdctl-no'/>
+ <feature name='ibrs-all'/>
+ <feature name='skip-l1dfl-vmentry'/>
+ <feature name='mds-no'/>
       <pages unit='KiB' size='4'/>
       <pages unit='KiB' size='2048'/>
       <pages unit='KiB' size='1048576'/>

But guest caps are detected as not-supported so far.
One would think that kernel and/or qemu are unable to do so, but forcing them 
in:
  <qemu:commandline>
    <qemu:arg value='-cpu'/>
    <qemu:arg 
value='Cascadelake-Server,ss=on,vmx=on,hypervisor=on,tsc_adjust=on,umip=on,pku=on,md-clear=on,stibp=on,arch-capabilities=on,xsaves=on,invtsc=on,rdctl-no=on,ibrs-all=on,skip-l1dfl-vmentry=on,mds-no=on'/>
  </qemu:commandline>

That made the guest start with these features.
Which implies qemu can pass/use them.

Therefore we uploaded ubuntu4 with the fully working host feature
detection, but need to fixup the guest detection and passing.

** Affects: libvirt (Ubuntu)
     Importance: High
     Assignee: Christian Ehrhardt  (paelzer)
         Status: Triaged

** Changed in: libvirt (Ubuntu)
       Status: New => Triaged

** Changed in: libvirt (Ubuntu)
     Assignee: (unassigned) => Christian Ehrhardt  (paelzer)

** Changed in: libvirt (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1841066

Title:
  ARCH_CAPABILITIES guest capability detection

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1841066/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to