[gentoo-user] Re: Anyone familiar with virt-manager?

2015-02-11 Thread walt
On 02/11/2015 03:38 AM, Nicolas Sebrecht wrote:
 On Tue, Feb 10, 2015 at 04:56:13PM -0800, walt wrote:
 
 Thanks, Nicolas.  I also have a qemu guest win7 image, and the mouse capture 
 works
 as expected when I run it with virt-manager.  No idea why winXP behaves 
 differently,
 though.
 
 Did you check the devices?

I haven't yet figured out how to display the devices with virsh.  I'm still
experimenting :)

 How did you imported the winXP image into virt-manager?

Clicked on File menu and chose New Virtual Machine which offers an import 
option.

 I notice that virt-manager runs qemu without the -enable-kvm flag, and win7 
 runs
 significantly slower because of that.  Is there some way to convince 
 virt-manager
 to use the -enable-kvm option?

 libvirt set the ,accel=kvm command line option, here.

Yes, I see the same.

 I wonder if you
 have a recent declared ABI. Here it is pc-1.1, hvm:
 
   os
 type arch='x86_64' machine='pc-1.1'hvm/type
 ...
   /os

Same here, except machine='pc-i440fx-2.3'  I have no idea where that value 
comes from.

Thanks




[gentoo-user] Re: Anyone familiar with virt-manager?

2015-02-11 Thread Nicolas Sebrecht
On Wed, Feb 11, 2015 at 08:14:52AM -0800, walt wrote:
 On 02/11/2015 03:38 AM, Nicolas Sebrecht wrote:
  On Tue, Feb 10, 2015 at 04:56:13PM -0800, walt wrote:

  Did you check the devices?
 
 I haven't yet figured out how to display the devices with virsh.  I'm still
 experimenting :)

virsh edit name

  How did you imported the winXP image into virt-manager?
 
 Clicked on File menu and chose New Virtual Machine which offers an import 
 option.

You might want to try by avoiding this option. Copy the disk image and
just create a new VM. While asking for a disk, provide the copy of the
image.

  I wonder if you
  have a recent declared ABI. Here it is pc-1.1, hvm:
  
os
  type arch='x86_64' machine='pc-1.1'hvm/type
  ...
/os
 
 Same here, except machine='pc-i440fx-2.3'  I have no idea where that value 
 comes from.

It comes from the import but I wonder if default value hurts the guest.
You have to check what is pc-i440fx-2.3 by yourself or ask the libvirt
mailing list.

Here is the background about ABI:
https://www.berrange.com/posts/2010/02/15/stable-guest-machine-abi-pci-addressing-and-disk-controllers-in-libvirt/

-- 
Nicolas Sebrecht



[gentoo-user] Re: Anyone familiar with virt-manager?

2015-02-11 Thread Nicolas Sebrecht
On Tue, Feb 10, 2015 at 04:56:13PM -0800, walt wrote:

 Thanks, Nicolas.  I also have a qemu guest win7 image, and the mouse capture 
 works
 as expected when I run it with virt-manager.  No idea why winXP behaves 
 differently,
 though.

Did you check the devices?
How did you imported the winXP image into virt-manager?

 I notice that virt-manager runs qemu without the -enable-kvm flag, and win7 
 runs
 significantly slower because of that.  Is there some way to convince 
 virt-manager
 to use the -enable-kvm option?

libvirt set the ,accel=kvm command line option, here. I wonder if you
have a recent declared ABI. Here it is pc-1.1, hvm:

  os
type arch='x86_64' machine='pc-1.1'hvm/type
...
  /os

-- 
Nicolas Sebrecht



[gentoo-user] Re: Anyone familiar with virt-manager?

2015-02-10 Thread Nicolas Sebrecht
On Mon, Feb 09, 2015 at 02:43:30PM -0800, walt wrote:
 I just installed virt-manager to experiment with and this is the first
 time I've used it.  I think I've misconfigured something but I don't
 know what:

...

I'm running win7 just fine with these devices (virsh edit):

input type='mouse' bus='ps2'/
graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1'
  listen type='address' address='127.0.0.1'/
/graphics
sound model='ac97'
  address type='pci' domain='0x' bus='0x00' slot='0x04' 
function='0x0'/
/sound
video
  model type='vmvga' vram='9216' heads='1'/
  address type='pci' domain='0x' bus='0x00' slot='0x02' 
function='0x0'/
/video

I had a winXP with such configuration, AFAIR. Be care with the bus and
slot options to not take anything already assigned.

-- 
Nicolas Sebrecht



[gentoo-user] Re: Anyone familiar with virt-manager?

2015-02-10 Thread walt
On 02/10/2015 06:41 AM, Nicolas Sebrecht wrote:
 On Mon, Feb 09, 2015 at 02:43:30PM -0800, walt wrote:
 I just installed virt-manager to experiment with and this is the first
 time I've used it.  I think I've misconfigured something but I don't
 know what:
 
 ...
 
 I'm running win7 just fine with these devices (virsh edit):
 
 input type='mouse' bus='ps2'/
 graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1'
   listen type='address' address='127.0.0.1'/
 /graphics
 sound model='ac97'
   address type='pci' domain='0x' bus='0x00' slot='0x04' 
 function='0x0'/
 /sound
 video
   model type='vmvga' vram='9216' heads='1'/
   address type='pci' domain='0x' bus='0x00' slot='0x02' 
 function='0x0'/
 /video
 
 I had a winXP with such configuration, AFAIR. Be care with the bus and
 slot options to not take anything already assigned.

Thanks, Nicolas.  I also have a qemu guest win7 image, and the mouse capture 
works
as expected when I run it with virt-manager.  No idea why winXP behaves 
differently,
though.

I notice that virt-manager runs qemu without the -enable-kvm flag, and win7 runs
significantly slower because of that.  Is there some way to convince 
virt-manager
to use the -enable-kvm option?