[Bug 1387881] Re: qemu fails to recognize full virtualization

2015-01-16 Thread Serge Hallyn
** Changed in: qemu (Ubuntu)
   Status: New => Invalid

** Changed in: qemu
   Status: New => Invalid

** Changed in: virtinst (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1387881

Title:
  qemu fails to recognize full virtualization

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387881] Re: qemu fails to recognize full virtualization

2014-11-10 Thread David Britton
@arges -- installation of qemu-kvm has fixed the problem.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1387881

Title:
  qemu fails to recognize full virtualization

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387881] Re: qemu fails to recognize full virtualization

2014-11-10 Thread Chris J Arges
@Serge
Gotcha, I misinterpreted your statement. Yes we are in agreement.

@dpb:
Have you had any further failures after installing qemu-kvm?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1387881

Title:
  qemu fails to recognize full virtualization

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387881] Re: qemu fails to recognize full virtualization

2014-11-07 Thread Iggy
Nested on Intel should be much improved in newer kernel versions
(especially with regard to nested ept as the original report seems to
indicate is in use.

So if the original emulation failure is reproducible, I'd suggest
testing on a newer kernel.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1387881

Title:
  qemu fails to recognize full virtualization

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387881] Re: qemu fails to recognize full virtualization

2014-11-06 Thread Chris J Arges
Answers to some of your questions:

Can you only get this on one particular host (i.e. hardware type)?
- No as I can repro in KVM

-Is there anything in syslog?
- Nothing relevant

Which packages (dpkg -l | grep qemu)
ii  qemu-utils   2.0.0+dfsg-2ubuntu1.6 amd64
QEMU utilities

Does a reboot (without installing new packages) fix the problem?
- No

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1387881

Title:
  qemu fails to recognize full virtualization

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387881] Re: qemu fails to recognize full virtualization

2014-11-05 Thread Chris J Arges
** Also affects: virtinst (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1387881

Title:
  qemu fails to recognize full virtualization

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387881] Re: qemu fails to recognize full virtualization

2014-11-05 Thread Chris J Arges
I can reproduce this in a VM:
1) boot a clean cloud images (uvt-kvm create lp1387881)
2) apt-get install virtinst
3) sudo virt-install --name juju-bootstrap --ram=2048 --vcpus=1 --hvm 
--virt-type=kvm --pxe --boot network,hd --os-variant=ubuntutrusty --graphics 
vnc --noautoconsole --os-type=linux --accelerate --nodisks -d

You'll get the following:

$ sudo virt-install --name juju-bootstrap --ram=2048 --vcpus=1 --hvm 
--virt-type=kvm --pxe --boot network,hd --os-variant=ubuntutrusty --graphics 
vnc --noautoconsole --os-type=linux --accelerate --nodisks -d
[Wed, 05 Nov 2014 16:23:29 virt-install 3297] DEBUG (cli:227) Launched with 
command line:
/usr/bin/virt-install --name juju-bootstrap --ram=2048 --vcpus=1 --hvm 
--virt-type=kvm --pxe --boot network,hd --os-variant=ubuntutrusty --graphics 
vnc --noautoconsole --os-type=linux --accelerate --nodisks -d
[Wed, 05 Nov 2014 16:23:29 virt-install 3297] DEBUG (cli:332) Requesting 
libvirt URI default
[Wed, 05 Nov 2014 16:23:29 virt-install 3297] DEBUG (cli:334) Received libvirt 
URI qemu:///system
[Wed, 05 Nov 2014 16:23:29 virt-install 3297] DEBUG (virt-install:258) 
Requesting virt method 'hvm', hv type 'kvm'.
[Wed, 05 Nov 2014 16:23:29 virt-install 3297] ERROR (cli:445) Host does not 
support virtualization type 'hvm' 
[Wed, 05 Nov 2014 16:23:29 virt-install 3297] DEBUG (cli:448) 
Traceback (most recent call last):
  File "/usr/bin/virt-install", line 273, in get_virt_type
machine=options.machine)
  File "/usr/lib/python2.7/dist-packages/virtinst/CapabilitiesParser.py", line 
736, in guest_lookup
{'virttype' : osstr, 'arch' : archstr})
ValueError: Host does not support virtualization type 'hvm'

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1387881

Title:
  qemu fails to recognize full virtualization

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 1387881] Re: qemu fails to recognize full virtualization

2014-11-03 Thread Serge Hallyn
I don't think however that we can claim this is notabug.  Based on the
Description, the kvm modules appears to be loaded and enabled, per kvm-ok
output.  You shouldn't be getting the

KVM internal error. Suberror: 1
emulation failure

that you're getting, and it's not clear to me what part of installing
qemu-kvm is fixing it.

Can you only get this on one particular host (i.e. hardware type)?  Is
there anything in syslog?  Which packages (dpkg -l | grep qemu) are
actually installed?  Does a reboot (without installing new packages)
fix the problem?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1387881

Title:
  qemu fails to recognize full virtualization

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387881] Re: qemu fails to recognize full virtualization

2014-10-31 Thread Adam Stokes
I just added qemu-kvm as a dependency for the openstack installer. It is
probably correct in assuming that virtinst shouldn't depend on qemu-kvm
since you can do paravirtualized.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1387881

Title:
  qemu fails to recognize full virtualization

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387881] Re: qemu fails to recognize full virtualization

2014-10-31 Thread Chris J Arges
So I'm not completely sure virtinst should depend on qemu-kvm, since we
assume one can use it without --virt-type=kvm, so my thoughts would be
you should install additional package as necessary to use qemu w/ KVM.
I'll let hallyn comment as well.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1387881

Title:
  qemu fails to recognize full virtualization

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387881] Re: qemu fails to recognize full virtualization

2014-10-31 Thread David Britton
apt history.log for packages installed on top of base system.  Note that
only the last entry was done by me, the others were done in preparation
of the image:

http://paste.ubuntu.com/8761810/

Basically, I booted a curtain installed maas node with an amd64 trusty
image from maas.  Logged in, ran

apt-get install virtinst

then:

root@kepler:~# virt-install --name juju-bootstrap --ram=2048 --vcpus=1 
--hvm --virt-type=kvm --pxe --boot network,hd --os-variant=ubuntutrusty 
--graphics vnc --noautoconsole --os-type=linux --accelerate   --nodisks
ERRORHost does not support virtualization type 'hvm'

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1387881

Title:
  qemu fails to recognize full virtualization

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387881] Re: qemu fails to recognize full virtualization

2014-10-31 Thread Chris J Arges
This is a package dependency issue and not a kernel issue. Once
davidpbritton installed 'qemu-kvm' he was able to install using virt-
install just fine.

So overall either the packages davidpbritton was installing weren't
sufficient to use qemu with KVM, or we have a dependency problem in the
Ubuntu packaging.

** Changed in: linux (Ubuntu)
   Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1387881

Title:
  qemu fails to recognize full virtualization

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387881] Re: qemu fails to recognize full virtualization

2014-10-31 Thread David Britton
dpkg -l |grep qemu:

ii  qemu-utils  2.0.0+dfsg-2ubuntu1.6
amd64QEMU utilities

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1387881

Title:
  qemu fails to recognize full virtualization

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387881] Re: qemu fails to recognize full virtualization

2014-10-31 Thread David Britton
AlsaVersion: Advanced Linux Sound Architecture Driver Version 
k3.13.0-39-generic.
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', 
'/dev/snd/controlC0', '/dev/snd/hwC0D3', '/dev/snd/pcmC0D3p', 
'/dev/snd/pcmC0D7p', '/dev/snd/pcmC0D8p', '/dev/snd/seq', '/dev/snd/timer'] 
failed with exit code 1:
Card0.Amixer.info: Error: [Errno 2] No such file or directory
Card0.Amixer.values: Error: [Errno 2] No such file or directory
DistroRelease: Ubuntu 14.04
IwConfig: Error: [Errno 2] No such file or directory
Package: qemu
ProcEnviron:
 TERM=screen
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-39-generic 
root=UUID=381042f5-3108-4ecb-98ca-6251eb8cf10d ro
ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-39-generic N/A
 linux-backports-modules-3.13.0-39-generic  N/A
 linux-firmware 1.127.7
RfKill: Error: [Errno 2] No such file or directory
Tags:  trusty uec-images
Uname: Linux 3.13.0-39-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
 
_MarkForUpload: True
dmi.bios.date: 04/25/2013
dmi.bios.vendor: Intel Corp.
dmi.bios.version: RKPPT10H.86A.0017.2013.0425.1251
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: D53427RKE
dmi.board.vendor: Intel Corporation
dmi.board.version: G87971-403
dmi.chassis.type: 3
dmi.modalias: 
dmi:bvnIntelCorp.:bvrRKPPT10H.86A.0017.2013.0425.1251:bd04/25/2013:svn:pn:pvr:rvnIntelCorporation:rnD53427RKE:rvrG87971-403:cvn:ct3:cvr:


** Tags added: apport-collected uec-images

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1387881

Title:
  qemu fails to recognize full virtualization

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387881] Re: qemu fails to recognize full virtualization

2014-10-30 Thread Adam Stokes
David,

Could you attach the collection of:

apport-collect 1387881

Also the output of:

dpkg -l |grep qemu

On the affected NUCs if the problem still persists?

Thanks,
Adam

** Tags added: kernel-unable-to-test-upstream

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1387881

Title:
  qemu fails to recognize full virtualization

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387881] Re: qemu fails to recognize full virtualization

2014-10-30 Thread Adam Stokes
So adding qemu-kvm fixed the issue with running nested KVM. I think
though the problem still exists on a non nested environment.

I'll get with the user who encountered this and see if I can get some
more logs.

Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1387881

Title:
  qemu fails to recognize full virtualization

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387881] Re: qemu fails to recognize full virtualization

2014-10-30 Thread Serge Hallyn
Also please show the results of:

dpkg -l | grep qemu

Does a reboot or a 'rmmod kvm_intel kvm;  modprobe kvm kvm_intel' fix
it?

You said earlier (in irc) that 'sudo apt-get install qemu-kvm' fixes it.
Is that still the case?

** Also affects: qemu (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1387881

Title:
  qemu fails to recognize full virtualization

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs