[Bug 1660946] Re: [nested] virt-install falls to SLOF

2017-02-17 Thread ChristianEhrhardt
*** This bug is a duplicate of bug 1664622 ***
https://bugs.launchpad.net/bugs/1664622

Thanks Thomas for pointing out the upstream fix.
IBM has opened a bug that I dup this one on.

There not only one but three patches are suggested.
It would be great if you could take a look there as the patches are all yours - 
see the dup bug 1664622

** This bug has been marked a duplicate of bug 1664622
   qemu: Missing transaction memory advertisement

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

Title:
  [nested] virt-install falls to SLOF

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1660946] Re: [nested] virt-install falls to SLOF

2017-02-09 Thread Michael Hohnbaum
Christian,

I checked with Breno and while nested virtualization is not something
that they encourage use of in a production environment, it is used for
testing purposes.  They would like to have this working with Ubuntu and
have stated it only requires a small fix to qemu.  If possible, could
you please look at pulling in the fix.

Thanks.
 
Michael

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

Title:
  [nested] virt-install falls to SLOF

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1660946] Re: [nested] virt-install falls to SLOF

2017-02-07 Thread Thomas Huth
FYI, the pa_features[24] setting has been fixed in upstream in a slightly 
different way:
http://git.qemu-project.org/?p=qemu.git;a=commitdiff;h=bac3bf287ab60e264b6

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

Title:
  [nested] virt-install falls to SLOF

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1660946] Re: [nested] virt-install falls to SLOF

2017-02-07 Thread Rafael Folco
Yep, for some reason, the discussion stalled.
Thanks for working on this bug. HTM bits should be cleared on nested virt, 
anyway.
Also, HTM is causing other components to fail on nested virt like rtas_errd 
daemon, which does PCI Hotplug.

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

Title:
  [nested] virt-install falls to SLOF

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1660946] Re: [nested] virt-install falls to SLOF

2017-02-07 Thread ChristianEhrhardt
As mentioned I was reaching out to IBM and they likely take a look at
that patch once more now.

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

Title:
  [nested] virt-install falls to SLOF

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1660946] Re: [nested] virt-install falls to SLOF

2017-02-07 Thread ChristianEhrhardt
The fix you referred to also is not upstream yet - although it is unclear to me 
why.
The discussion somehow just stalled
https://patchwork.kernel.org/patch/8740001/

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

Title:
  [nested] virt-install falls to SLOF

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1660946] Re: [nested] virt-install falls to SLOF

2017-02-07 Thread Rafael Folco
kvm_pr is not "officially/fully/formally" supported for production use,
but this mode is extensively used by OpenStack Continuous Integration
and it is the testing ground for many other projects. This statement of
"not supported" has been changing and Power ecosystem depends on kvm_pr
for platform enablement efforts.

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

Title:
  [nested] virt-install falls to SLOF

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1660946] Re: [nested] virt-install falls to SLOF

2017-02-07 Thread ChristianEhrhardt
I'm not entirely sure if kvm_pr (or more defined "the TM feature inside
kvm_pr") is meant to be fully supported by IBM owning power in general.

Subscribing / pinging them for their expertise on this.

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

Title:
  [nested] virt-install falls to SLOF

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1660946] Re: [nested] virt-install falls to SLOF

2017-02-07 Thread ChristianEhrhardt
After going the wrong direction for a while I see the almost hidden, yet so 
important words - "in nested only" !
That also explains the kvm-pr I wondered about, as I'd have expected kvm-hv if 
in 1st level.


I tried as you instructed - on first stage it worked (Host to lvl 1)

Command:
$virt-install --virt-type=kvm --cpu=host --name=nested-xenial --controller 
type=scsi,model=virtio-scsi --graphics none --console pty,target_type=serial 
--disk path=/home/ubuntu/cpaelzer/test-xenial-virt-inst.qcow2,size=20 --vcpus=4 
--ram=4096 --os-type=linux --os-variant ubuntu16.04 --network 
bridge=virbr0,model=virtio --cdrom=ubuntu-16.04-server-ppc64el.iso

On a Xenial system with:
ii  libvirt-bin   1.3.1-1ubuntu10.6
ii  qemu-kvm  1:2.5+dfsg-5ubuntu10.6
ii  virtinst  1:1.3.2-3ubuntu1.16.04.3

And HW:
POWER8E - PowerNV 8247-22L


Now the same in 2nd level:
1. install all packages for kvm
2. ensure kvm_pr is loaded correctly
3. make sure libvirt default network can start in 2nd level
3. wget 
http://cdimage.ubuntu.com/releases/xenial/release/ubuntu-16.04-server-ppc64el.iso
4. virt-install as above, yet shrinked down to fit (5G disk)

With that I can confirm your issue.

** Changed in: qemu (Ubuntu)
   Status: New => Confirmed

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

Title:
  [nested] virt-install falls to SLOF

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1660946] Re: [nested] virt-install falls to SLOF

2017-02-07 Thread ChristianEhrhardt
Hi,
I mostly run with cloud-images so I haven't seen this yet (I always prefer 
uvtool-libvirt to virt-install).

Thank you already for your good summary!

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

Title:
  [nested] virt-install falls to SLOF

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1660946] Re: [nested] virt-install falls to SLOF

2017-02-07 Thread Thomas Huth
Sounds like your problem only occurs on older versions of Ubuntu, so
moving this to the QEMU-Ubuntu bug tracker.

** Project changed: qemu => qemu (Ubuntu)

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

Title:
  [nested] virt-install falls to SLOF

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs