Re: [CentOS] Qemu - enabling "bridge mode" for primary physical interface for VMs

2022-01-19 Thread Lists
Thank you Chris Adams for excellent information! It worked, see below. 

On Tuesday, December 7, 2021 8:25:37 PM PST Chris Adams wrote:
> Once upon a time, Lists  said:
> > I understand that it's possible to allow the 4 VM guest systems to each
> > have a "direct" fixed IP address and access the addresses \via the host
> > network adapter, while the host retains its fixed IP.
> 
> If you are running NetworkManager (the default), it's not too hard.
> Here's an example step-by-step for changing an existing interface "em1" to
> be a bridge "br0":
> 
> 
> # Create a bridge interface
> nmcli con add type bridge ifname br0 bridge.stp no
> 
> # Copy all the IPv4/IPv6 config from an existing interface
> nmcli con mod bridge-br0 $(nmcli -f
> ipv4.method,ipv4.addresses,ipv4.gateway,ipv6.method,ipv6.addresses,ipv6.gat
> eway con show em1 | grep -v -- -- | sed 's/:  */ /') # -or- just set an IPv4
> address/gateway to known values
> nmcli con mod bridge-br0 ipv4.method manual ipv4.address 10.1.1.2/24
> ipv4.gateway 10.1.1.1 ipv6.method ignore
> 
> # Make a connection for the physical ethernet em1 to be part of the bridge
> nmcli con add type ethernet ifname em1 master bridge-br0
> 
> # Switch from the "regular" em1 to the bridge
> nmcli con down em1; nmcli con up bridge-br0; nmcli con up bridge-slave-em1
> 
> # Disable the original config
> nmcli con mod em1 autoconnect 0
> 
> 
> Then you set your VMs to use the bridge - in the libvirt XML for
> example, you'd have something like:
> 
> 
>   
>   
>   
>function='0x0'/> 
> 
> 
> Inside the VM, configure the interface just as if it was a physical system
> on that subnet.

I just wanted to say that this worked, exactly as shown, and after trying it 
once on development hardward, I tried it on a production server and it also 
worked with minimal hassle. 

I ran into an oddity because the software image of the production server was 
from a disk image, not a fresh install and I had to wrestle with some "Network 
Adapters" that no longer really existed. My advice to anybody trying this 
would be to go into Network Manager and ensure the following before starting: 

1) Set up the server to manual IP addresses, not DHCP. 
2) Remove all duplicitous or inactive network adapters and interfaces. 
3) Make sure that in nmtui, that all editable connection(s) also show in the 
interface that lets you activate them.
4) Make sure you are not dependent on the network adapter you are trying to 
use to contact the server! In my case I ended up falling back to IPMI. Minor 
issue because I had it available, could have been far worse if I hadn't. 

... and then do the above. 

Ben S

signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Qemu - enabling "bridge mode" for primary physical interface for VMs

2021-12-15 Thread Chris Adams
Once upon a time, Lists  said:
> Thank you, I'll be trying this on a spare machine here before I try it in 
> production. Carefully reading the directions, although I see where bridge-br0 
> is created, I don't see where bridge-slave-em1 is defined? 

This part:

> > # Make a connection for the physical ethernet em1 to be part of the bridge
> > nmcli con add type ethernet ifname em1 master bridge-br0

does it.  If you don't specify a connection name, NM names a new bridge
member connection profile as "bridge-slave-".

-- 
Chris Adams 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Qemu - enabling "bridge mode" for primary physical interface for VMs

2021-12-14 Thread Lists
Thank you, I'll be trying this on a spare machine here before I try it in 
production. Carefully reading the directions, although I see where bridge-br0 
is created, I don't see where bridge-slave-em1 is defined? 



On Tuesday, December 7, 2021 8:25:37 PM PST Chris Adams wrote:
> Once upon a time, Lists  said:
> > I understand that it's possible to allow the 4 VM guest systems to each
> > have a "direct" fixed IP address and access the addresses \via the host
> > network adapter, while the host retains its fixed IP.
> 
> If you are running NetworkManager (the default), it's not too hard.
> Here's an example step-by-step for changing an existing interface "em1" to
> be a bridge "br0":
> 
> 
> # Create a bridge interface
> nmcli con add type bridge ifname br0 bridge.stp no
> 
> # Copy all the IPv4/IPv6 config from an existing interface
> nmcli con mod bridge-br0 $(nmcli -f
> ipv4.method,ipv4.addresses,ipv4.gateway,ipv6.method,ipv6.addresses,ipv6.gat
> eway con show em1 | grep -v -- -- | sed 's/:  */ /') # -or- just set an IPv4
> address/gateway to known values
> nmcli con mod bridge-br0 ipv4.method manual ipv4.address 10.1.1.2/24
> ipv4.gateway 10.1.1.1 ipv6.method ignore
> 
> # Make a connection for the physical ethernet em1 to be part of the bridge
> nmcli con add type ethernet ifname em1 master bridge-br0
> 
> # Switch from the "regular" em1 to the bridge
> nmcli con down em1; nmcli con up bridge-br0; nmcli con up bridge-slave-em1
> 
> # Disable the original config
> nmcli con mod em1 autoconnect 0
> 
> 
> Then you set your VMs to use the bridge - in the libvirt XML for
> example, you'd have something like:
> 
> 
>   
>   
>   
>function='0x0'/> 
> 
> 
> Inside the VM, configure the interface just as if it was a physical system
> on that subnet.



signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Qemu - enabling "bridge mode" for primary physical interface for VMs

2021-12-07 Thread Chris Adams
Once upon a time, Lists  said:
> I understand that it's possible to allow the 4 VM guest systems to each have 
> a 
> "direct" fixed IP address and access the addresses \via the host network 
> adapter, while the host retains its fixed IP. 

If you are running NetworkManager (the default), it's not too hard.
Here's an example step-by-step for changing an existing interface "em1" to
be a bridge "br0":


# Create a bridge interface
nmcli con add type bridge ifname br0 bridge.stp no

# Copy all the IPv4/IPv6 config from an existing interface
nmcli con mod bridge-br0 $(nmcli -f 
ipv4.method,ipv4.addresses,ipv4.gateway,ipv6.method,ipv6.addresses,ipv6.gateway 
con show em1 | grep -v -- -- | sed 's/:  */ /')
# -or- just set an IPv4 address/gateway to known values
nmcli con mod bridge-br0 ipv4.method manual ipv4.address 10.1.1.2/24 
ipv4.gateway 10.1.1.1 ipv6.method ignore

# Make a connection for the physical ethernet em1 to be part of the bridge
nmcli con add type ethernet ifname em1 master bridge-br0

# Switch from the "regular" em1 to the bridge
nmcli con down em1; nmcli con up bridge-br0; nmcli con up bridge-slave-em1

# Disable the original config
nmcli con mod em1 autoconnect 0


Then you set your VMs to use the bridge - in the libvirt XML for
example, you'd have something like:


  
  
  
  



Inside the VM, configure the interface just as if it was a physical system
on that subnet.

-- 
Chris Adams 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Qemu - enabling "bridge mode" for primary physical interface for VMs

2021-12-07 Thread Gordon Messmer
The easiest way to set up bridged mode is to use virsh to convert the 
eth0 configuration to a new bridge, br0:


    virsh iface-bridge eth0 br0 --no-stp


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Qemu - enabling "bridge mode" for primary physical interface for VMs

2021-12-07 Thread Lists
I have a physical host with a single physical network adapter. I want to host 
several VMs on host. (guest1 - guest4) The guest systems are accessible via 
192.168.122.* as is the default with qemu/virsh. 

There are 4 IP addresses being routed to the primary interface on host. I can 
set up an alias for the NIC and "see" these ip addresses. 

I understand that it's possible to allow the 4 VM guest systems to each have a 
"direct" fixed IP address and access the addresses \via the host network 
adapter, while the host retains its fixed IP. 

I've been googling like crazy and there is a lot of stale and conflicting 
information. 

Has anybody here done this successfully? 

Host and all guests are running CentOS 8.

Thanks.

Ben S

signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-system-x86_64 in EL8

2021-04-19 Thread Leon Fauster via CentOS

On 19.04.21 10:35, Ondrej Budai wrote:
I believe that only qemu-kvm is available on Centos 8 and it's installed 
in /usr/libexec/qemu-kvm. I'm not 100% sure but using qemu directly is 
not supported on RHEL 8, you might want to try libvirt.


Ondřej

ne 18. 4. 2021 v 1:01 odesílatel Leon Fauster via CentOS 
mailto:centos@centos.org>> napsal:


I am planning to migrate a EL7 host to CS8 and noticed that an
"application" runs via /usr/bin/qemu-system-x86_64 . Its seems
its from EPEL. Stock C8 does not ship it. Any SIG repository with
"qemu-system-x86_64"?




Thanks for the insight. Seems that the app devs must then check that now.

It was not clear to me that qemu is completely stripped out of RHEL8.

--
Leon


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-system-x86_64 in EL8

2021-04-19 Thread Ondrej Budai
I believe that only qemu-kvm is available on Centos 8 and it's installed in
/usr/libexec/qemu-kvm. I'm not 100% sure but using qemu directly is not
supported on RHEL 8, you might want to try libvirt.

Ondřej

ne 18. 4. 2021 v 1:01 odesílatel Leon Fauster via CentOS 
napsal:

> I am planning to migrate a EL7 host to CS8 and noticed that an
> "application" runs via /usr/bin/qemu-system-x86_64 . Its seems
> its from EPEL. Stock C8 does not ship it. Any SIG repository with
> "qemu-system-x86_64"?
>
> Thanks,
> Leon
>
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] qemu-system-x86_64 in EL8

2021-04-17 Thread Leon Fauster via CentOS

I am planning to migrate a EL7 host to CS8 and noticed that an
"application" runs via /usr/bin/qemu-system-x86_64 . Its seems
its from EPEL. Stock C8 does not ship it. Any SIG repository with
"qemu-system-x86_64"?

Thanks,
Leon




___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm images of old Windows XP SP3

2021-03-30 Thread David McGuffey
On Sat, 2021-03-13 at 17:34 -0500, David McGuffey wrote:
> On Mar 13, 2021, at 17:28, Jon LaBadie  wrote:
> > 
> > On Sat, Mar 13, 2021 at 10:03:54AM -0500, David McGuffey wrote:
> > > I have a Nikon slide scanner (very high quality) for which the
> > > software
> > > has not been updated. It last ran on WinXP SP3 and I was not able
> > > to
> > > get it to run under Win 7 and certainly not Win 10.
> > > 
> > > Anyone know where I can obtain images of this old OS to run in
> > > CentOS 7
> > > under kvm?
> > 
> > A search on DuckDuckGo (but not Google) led me to this .iso:
> > 
> >https://archive.org/details/WinXPProSP3x86
> > 
> > -- 
> > Jon H. LaBadie  j...@labadie.us
> 
> Thank you. I’ll see if that loads as a VM. It doesn’t need to be
> patched or be on the Internet. Just needs to load the Nikon software
> and be able to pass-through the USB port to control the scanner.
> 
> Will report back here once I’ve done that test.
> 
> RESIST CENSORSHIP
> 
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

Thanks to all who responded. I had checked out VuScan a couple of years
ago on Win7 but the capabilities to remove imperfections and control
the RBG settings is not as rich. Found an old CD with WinXP SP3 on it
but qemu-kvm would not pass the CD to the VM creation process. Ended up
moving everything to a USB stick. Successfully created the VM and
installed the software. Next step is to hook up the USB scanner, pass
it to the VM and test.


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm images of old Windows XP SP3

2021-03-13 Thread David McGuffey
On Mar 13, 2021, at 17:28, Jon LaBadie  wrote:
> 
> On Sat, Mar 13, 2021 at 10:03:54AM -0500, David McGuffey wrote:
>> I have a Nikon slide scanner (very high quality) for which the software
>> has not been updated. It last ran on WinXP SP3 and I was not able to
>> get it to run under Win 7 and certainly not Win 10.
>> 
>> Anyone know where I can obtain images of this old OS to run in CentOS 7
>> under kvm?
> 
> A search on DuckDuckGo (but not Google) led me to this .iso:
> 
>https://archive.org/details/WinXPProSP3x86
> 
> -- 
> Jon H. LaBadie  j...@labadie.us

Thank you. I’ll see if that loads as a VM. It doesn’t need to be patched or be 
on the Internet. Just needs to load the Nikon software and be able to 
pass-through the USB port to control the scanner.

Will report back here once I’ve done that test.

RESIST CENSORSHIP


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm images of old Windows XP SP3

2021-03-13 Thread Jon LaBadie

On Sat, Mar 13, 2021 at 10:03:54AM -0500, David McGuffey wrote:

I have a Nikon slide scanner (very high quality) for which the software
has not been updated. It last ran on WinXP SP3 and I was not able to
get it to run under Win 7 and certainly not Win 10.

Anyone know where I can obtain images of this old OS to run in CentOS 7
under kvm?


A search on DuckDuckGo (but not Google) led me to this .iso:

https://archive.org/details/WinXPProSP3x86

--
Jon H. LaBadie  j...@labadie.us
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm images of old Windows XP SP3

2021-03-13 Thread Stephen John Smoogen
On Sat, 13 Mar 2021 at 10:04, David McGuffey  wrote:

> I have a Nikon slide scanner (very high quality) for which the software
> has not been updated. It last ran on WinXP SP3 and I was not able to
> get it to run under Win 7 and certainly not Win 10.
>
> Anyone know where I can obtain images of this old OS to run in CentOS 7
> under kvm?
>
>
Even if the Windows XP was running in a VM, you would need to have the
underlying OS able to 'recognize' the device somewhat to pass it to the VM.
That can take enough work that you will find it easier to buy off of ebay
someone selling a laptop or computer from that era and run Windows XP
native.



> Dave McGuffey
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
Stephen J Smoogen.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm images of old Windows XP SP3

2021-03-13 Thread Leon Fauster via CentOS

Am 13.03.21 um 16:03 schrieb David McGuffey:

I have a Nikon slide scanner (very high quality) for which the software
has not been updated. It last ran on WinXP SP3 and I was not able to
get it to run under Win 7 and certainly not Win 10.

Anyone know where I can obtain images of this old OS to run in CentOS 7
under kvm?



Its not FOSS but checkout VueScan. Maybe just changing
the software instead the OS is more hassle free ...

--
Leon
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] qemu-kvm images of old Windows XP SP3

2021-03-13 Thread David McGuffey
I have a Nikon slide scanner (very high quality) for which the software
has not been updated. It last ran on WinXP SP3 and I was not able to
get it to run under Win 7 and certainly not Win 10.

Anyone know where I can obtain images of this old OS to run in CentOS 7
under kvm?

Dave McGuffey


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Qemu guest(s) in bridge mode cannot see host machine.

2020-03-31 Thread Jerry Geis
Hi All - I have a Win10 and Centos 8 guest both that bridge mode does not
see the host- other computers seem ok.  They cannot even ping the host.

My host is CentOS 7.

I did some searching - I see the issue - but not what was done to
resolve it ?
Thanks,

Jerry
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] QEMU virt-manager video device

2020-03-09 Thread Liam O'Toole
On Mon, 09 Mar, 2020 at 11:22:38 -0400, Jerry Geis wrote:
> > install spice-vdagent
> Thanks - I installed the above. rebooted I only have 800x600 still.
> I have the video set for QXL
> 
> Jerry

Is the agent running? Check using 'systemctl status spice-vdagentd.service'.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] QEMU virt-manager video device

2020-03-09 Thread Jerry Geis
> install spice-vdagent
Thanks - I installed the above. rebooted I only have 800x600 still.
I have the video set for QXL

Jerry
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] QEMU virt-manager video device

2020-03-09 Thread Liam O'Toole
On Mon, 09 Mar, 2020 at 10:02:04 -0400, Jerry Geis wrote:
> I am trying to use the Video Virtio device and set it to Virtio (to get
> resolutions higher that 800x600).
> My host is CentOS 7 and my guest is CentOS 8.
> When I set the virtio for video - I get an add about QEMU does not support
> 'virtio' video device.
> 
> Do I not have something loaded ? Real question is how to get video higher
> than 800x600. I tried every selection there Cirrus , QXL, VGA, VMVGA and
> virtio.
> 
> Thanks,
> 
> Jerry

I'm running a CentOS 8 guest with QXL at high resolution. The trick is
to install spice-vdagent in the guest, and reboot.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] QEMU virt-manager video device

2020-03-09 Thread Jerry Geis
I am trying to use the Video Virtio device and set it to Virtio (to get
resolutions higher that 800x600).
My host is CentOS 7 and my guest is CentOS 8.
When I set the virtio for video - I get an add about QEMU does not support
'virtio' video device.

Do I not have something loaded ? Real question is how to get video higher
than 800x600. I tried every selection there Cirrus , QXL, VGA, VMVGA and
virtio.

Thanks,

Jerry
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Qemu

2020-02-03 Thread Jerry Geis
Is there a way to take qemu-4.2 and install on C7/C8 in a "different"
location than normal so as to not affect virtd and anything else running
currently ?
Thanks,

Jerry
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm

2019-11-20 Thread Jerry Geis
I can start my qemu-kvm and use vncviewer to connect.

However - I tried the -nographic option... I GET the bios boot screen as a
character screen (all the kernels listed and countdown) - but when it goes
away and starts to boot, I no longer get anything. Just clear screen.   Is
that not an option for -nographic and the console continue to work ??? What
am I missing.
Thanks,

Jerry
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm

2019-11-20 Thread Earl Ramirez
> 
> how do I get the qemu-kvm to pop up a console window
You will have to use virt-viewer for this.


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm

2019-11-19 Thread Jerry Geis
>You should really use cockpit (if you can't get virt-manager) if you
>want a GUI.

I was looking equivalent to what I had back on CentOS 7 with
qemu-system-x86_64. I just want a "quick" way

to run an image file, do some compiling or me and be done.

how do I get the qemu-kvm to pop up a console window or use the
current terminal that is open. with --no-graphic

I got a boot screen but nothing after that.

Jerry
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm

2019-11-19 Thread Nux!
You should really use cockpit (if you can't get virt-manager) if you 
want a GUI.


hth

---
Sent from the Delta quadrant using Borg technology!

On 2019-11-19 15:55, Jerry Geis wrote:

I am running this command
/usr/libexec/qemu-kvm -no-acpi -smp 4 -m 2048 -drive
file=myimg.img,format=raw -vga std -device rtl8139

and expecting a window to open up for the console. It does not. This is 
on

CentOS 8.
Do I have something missing/not installed - or something wrong on the
command line.

Jerry
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] qemu-kvm

2019-11-19 Thread Jerry Geis
I am running this command
/usr/libexec/qemu-kvm -no-acpi -smp 4 -m 2048 -drive
file=myimg.img,format=raw -vga std -device rtl8139

and expecting a window to open up for the console. It does not. This is on
CentOS 8.
Do I have something missing/not installed - or something wrong on the
command line.

Jerry
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] qemu-kvm-common-ev-2.12.0-33.1 and libvirt spits - error : virNetDevSendEthtoolIoctl:3078 : ethtool ioctl error: No such device

2019-11-15 Thread lejeczek via CentOS
hi guys

I wonder if any of you also started to get:

error : virNetDevSendEthtoolIoctl:3078 : ethtool ioctl error: No such device

in libvirtd logs after qemu-kvm-ev upgrade?

many thanks, L.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] qemu-sparc, not to be confused with qemu-system-sparc

2019-07-17 Thread John Chludzinski
I installed CentOS 7.6 then installed all things QEMU on my machine. I have
a SPARC image I need to bringing up in a VM. I've been using
*qemu-system-sparc *on a box on which I have Fedora-30 installed.

$ qemu-system-sparc -m 256 -hda solaris_v2-qemu_v2.2.0.disk -nographic
-bios ./openbios-sparc32

Can I use *qemu-sparc* to bring up my Solaris image:
*solaris_v2-qemu_v2.2.0.disk* ?

If so, how? It's not apparent and there's almost no info on it.

BTW, *qemu-sparc* come with (on CentOS 7.6) when you:

$ sudo yum install qemu*

*PS> I've tried to install qemu-system-sparc on my CentOS box but ended up
in a never-ending whack-a-mole game of dependencies.*
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu uefi boot

2019-07-09 Thread Jonathan Billings
On Tue, Jul 09, 2019 at 08:39:50AM -0400, Jerry Geis wrote:
> I am trying to play with qemu uefi booting...
> I found the OVMF package and installed it.
> 
> I added the "-bios /usr/share/OVMF/OVMF_CODE.secboot.fd" to my command line.
> when running it says cannot load "/usr/share/OVMF/OVMF_CODE.secboot.fd"
> 
> The file is there. I'm trying this on CentOS 7.6
> 
> How do I correctly boot UEFI with qemu ?

UEFI boot in qemu continues to be a tech preview[1] so it doesn't
really work that well.  I was able to get C7 to boot with UEFI if a
downgraded the OVMF package to one from 7.3, but that seems pretty
dangerous, so I keep my VMs as BIOS boots for now.


1. RHEL7.6 Release Notes: 
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.6_release_notes/technology_previews_virtualization

-- 
Jonathan Billings 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] qemu uefi boot

2019-07-09 Thread Jerry Geis
I am trying to play with qemu uefi booting...
I found the OVMF package and installed it.

I added the "-bios /usr/share/OVMF/OVMF_CODE.secboot.fd" to my command line.
when running it says cannot load "/usr/share/OVMF/OVMF_CODE.secboot.fd"

The file is there. I'm trying this on CentOS 7.6

How do I correctly boot UEFI with qemu ?

Thanks


Jerry
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [Qemu-KVM] Centos 7.0 Guest vm freezing

2019-01-22 Thread Alessandro Baggi

Il 09/01/19 09:20, Akshar Kanak ha scritto:

Dear team
 I am running a centos guest VM  which freezes for every few days . The
qemu-kvm on  shows 100% cpu utilization.
 Ping to the guest might work or may not work .Please can you tell me
what approach can i take to debug it .
 using "virsh dump" I can dump the core of the  guest vm but I am not
sure how to analyse it .
 Guest Centos VM : "Linux GUESTCentOS70 3.10.0-123.4.4.el7.x86_64 #1 SMP
Fri Jul 25 05:07:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux"
   "CentOS Linux release 7.0.1406 (Core)"
   1 vcpu and 2 GB ram

Host machine : "Linux HOST 3.10.51-1.el6.elrepo.x86_64 #1 SMP Fri Aug 1
13:14:11 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux"
"CentOS release 6.5 (Final)"
qemu-kvm package used : qemu-kvm-0.12.1.2-2.415.el6_5.10.x86_64
Thanks and regards
Akshar
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos



Hi Akshar,
I'm not an expert but I will try.

Only these vm freezes?
Did you check if there is a process that get 100% on guest?
About ping check if another machine has the same IP.

Do you receive some errors?


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] [Qemu-KVM] Centos 7.0 Guest vm freezing

2019-01-09 Thread Akshar Kanak
Dear team
I am running a centos guest VM  which freezes for every few days . The
qemu-kvm on  shows 100% cpu utilization.
Ping to the guest might work or may not work .Please can you tell me
what approach can i take to debug it .
using "virsh dump" I can dump the core of the  guest vm but I am not
sure how to analyse it .
Guest Centos VM : "Linux GUESTCentOS70 3.10.0-123.4.4.el7.x86_64 #1 SMP
Fri Jul 25 05:07:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux"
  "CentOS Linux release 7.0.1406 (Core)"
  1 vcpu and 2 GB ram

Host machine : "Linux HOST 3.10.51-1.el6.elrepo.x86_64 #1 SMP Fri Aug 1
13:14:11 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux"
"CentOS release 6.5 (Final)"
qemu-kvm package used : qemu-kvm-0.12.1.2-2.415.el6_5.10.x86_64
Thanks and regards
Akshar
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm-common-ev-2.12.0-18.el7_6.1.1.x86_64 - lost KVM guests - qemu-kvm-ev

2018-12-18 Thread lejeczek via CentOS

On 17/12/2018 18:54, Jonathan Billings wrote:

On Mon, Dec 17, 2018 at 01:52:40PM -0500, Jonathan Billings wrote:

On Mon, Dec 17, 2018 at 05:50:44PM +, lejeczek via CentOS wrote:

I updated to qemu-kvm-common-ev-2.12.0-18.el7_6.1.1.x86_64 (also libvirt)
and my Centos 6.10 kvm guests now do not start.

Funnily enough Win10 guest are fine, only Centoses cannot start, silently &
without any errors.

Any care to comment?

It looks like you installed CentOS 7 packages on a CentOS 6 system.
I'm amazed it even worked.  Try removing the packages and
re-installing the appropriate packages for CentOS 6.

Oh, never mind me, I missed that you were saying that your *GUESTS*
don't start.

Did you do a full update to CentOS 7.6.1810, or just the libvirt/qemu packages?

yes, I see my sentence was not complete, although it non-explicitly said 
Centos 7 (qemu package version).


So, host is Centos 7 updated to the latest (no fasttrack repo, but 
cr(rolling) yes) and quests are(if not gone now?)  Centos 6.10.


virsh start such a guest okey, complains of nothing, no errors but guess 
does not boot. I see qemu BIOS and boot menu but when it comes to 
booting the OS/grub/kernel, then this does not happen.


Checking qcow image with qemu confirms images are free of errors, etc. I 
can mount these Centos guests okey, filesystem seems good.


I do not want to downgrade just yet, but will have to check that option 
soon.



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm-common-ev-2.12.0-18.el7_6.1.1.x86_64 - lost KVM guests - qemu-kvm-ev

2018-12-17 Thread Jonathan Billings
On Mon, Dec 17, 2018 at 01:52:40PM -0500, Jonathan Billings wrote:
>
> On Mon, Dec 17, 2018 at 05:50:44PM +, lejeczek via CentOS wrote:
> > I updated to qemu-kvm-common-ev-2.12.0-18.el7_6.1.1.x86_64 (also libvirt)
> > and my Centos 6.10 kvm guests now do not start.
> > 
> > Funnily enough Win10 guest are fine, only Centoses cannot start, silently &
> > without any errors.
> > 
> > Any care to comment?
> 
> It looks like you installed CentOS 7 packages on a CentOS 6 system.
> I'm amazed it even worked.  Try removing the packages and
> re-installing the appropriate packages for CentOS 6.

Oh, never mind me, I missed that you were saying that your *GUESTS*
don't start.

Did you do a full update to CentOS 7.6.1810, or just the libvirt/qemu packages?

-- 
Jonathan Billings 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm-common-ev-2.12.0-18.el7_6.1.1.x86_64 - lost KVM guests - qemu-kvm-ev

2018-12-17 Thread Jonathan Billings
On Mon, Dec 17, 2018 at 05:50:44PM +, lejeczek via CentOS wrote:
> I updated to qemu-kvm-common-ev-2.12.0-18.el7_6.1.1.x86_64 (also libvirt)
> and my Centos 6.10 kvm guests now do not start.
> 
> Funnily enough Win10 guest are fine, only Centoses cannot start, silently &
> without any errors.
> 
> Any care to comment?

It looks like you installed CentOS 7 packages on a CentOS 6 system.
I'm amazed it even worked.  Try removing the packages and
re-installing the appropriate packages for CentOS 6.

-- 
Jonathan Billings 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] qemu-kvm-common-ev-2.12.0-18.el7_6.1.1.x86_64 - lost KVM guests - qemu-kvm-ev

2018-12-17 Thread lejeczek via CentOS

hi guys,

I updated to qemu-kvm-common-ev-2.12.0-18.el7_6.1.1.x86_64 (also 
libvirt) and my Centos 6.10 kvm guests now do not start.


Funnily enough Win10 guest are fine, only Centoses cannot start, 
silently & without any errors.


Any care to comment?

many thanks, L.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Sandro Bonazzola
2018-05-15 15:08 GMT+02:00 Nerijus Baliunas :

> On Tue, 15 May 2018 14:48:13 +0200 Sandro Bonazzola 
> wrote:
>
> > > > Also, can you share your anaconda logs?
> > > > Maybe some package installation order issue prevents /usr/bin/uname
> -m |
> > > > grep -q 'x86_64' to properly execute.
> > >
> > > In packaging.log:
> > > 14:38:25,111 INFO packaging: centos-release-7-5.1804.el7.centos.x86_64
> > > (43/296)
> > > 14:38:25,111 INFO packaging: /var/tmp/rpm-tmp.Zk5yvn: line 1:
> > > /usr/bin/uname: No such file or directory
> >
> > So this is a requirements error in the spec file.
> >
> > centos-release should have:
> >
> > Requires(post): coreutils
>
> rpm -q --requires centos-release
> /bin/sh
> config(centos-release) = 7-5.1804.el7.centos
> coreutils
>
> I assume it is not enough?
>

Correct, that's not enough. It should have:
Requires(post): coreutils




>
> Regards,
> Nerijus
>



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

sbona...@redhat.com


___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Nerijus Baliunas
On Tue, 15 May 2018 14:48:13 +0200 Sandro Bonazzola  wrote:

> > > Also, can you share your anaconda logs?
> > > Maybe some package installation order issue prevents /usr/bin/uname -m |
> > > grep -q 'x86_64' to properly execute.
> >
> > In packaging.log:
> > 14:38:25,111 INFO packaging: centos-release-7-5.1804.el7.centos.x86_64
> > (43/296)
> > 14:38:25,111 INFO packaging: /var/tmp/rpm-tmp.Zk5yvn: line 1:
> > /usr/bin/uname: No such file or directory
> 
> So this is a requirements error in the spec file.
> 
> centos-release should have:
> 
> Requires(post): coreutils

rpm -q --requires centos-release
/bin/sh
config(centos-release) = 7-5.1804.el7.centos
coreutils

I assume it is not enough?

Regards,
Nerijus
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Sandro Bonazzola
2018-05-15 14:39 GMT+02:00 Nerijus Baliunas :

> On Tue, 15 May 2018 14:18:08 +0200 Sandro Bonazzola 
> wrote:
>
> > >> I have freshly installed CentOS 7.5 on a Dell server, and
> > >> /etc/yum/vars/contentdir
> > >> contains 'altarch' too. CentOS 7.4->7.5 upgraded servers have
> 'centos'.
> > >
> > > I see in %post:
> > > /usr/bin/uname -m | grep -q 'x86_64' && echo 'centos'
> > > >/etc/yum/vars/contentdir || echo 'altarch' > /etc/yum/vars/contentdir
> > >
> > > can you please check
> > >
> > > /usr/bin/uname -m
> > >
> > > on your system?
>
> # /usr/bin/uname -m
> x86_64
>
> > Also, can you share your anaconda logs?
> > Maybe some package installation order issue prevents /usr/bin/uname -m |
> > grep -q 'x86_64' to properly execute.
>
> In packaging.log:
> 14:38:25,111 INFO packaging: centos-release-7-5.1804.el7.centos.x86_64
> (43/296)
> 14:38:25,111 INFO packaging: /var/tmp/rpm-tmp.Zk5yvn: line 1:
> /usr/bin/uname: No such file or directory
>

So this is a requirements error in the spec file.

centos-release should have:

Requires(post): coreutils



>
> Logs are at http://sat.lt/anaconda.tgz
>
> Regards,
> Nerijus
> ___
> CentOS-virt mailing list
> CentOS-virt@centos.org
> https://lists.centos.org/mailman/listinfo/centos-virt
>



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

sbona...@redhat.com


___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Nerijus Baliunas
On Tue, 15 May 2018 14:18:08 +0200 Sandro Bonazzola  wrote:

> >> I have freshly installed CentOS 7.5 on a Dell server, and
> >> /etc/yum/vars/contentdir
> >> contains 'altarch' too. CentOS 7.4->7.5 upgraded servers have 'centos'.
> >
> > I see in %post:
> > /usr/bin/uname -m | grep -q 'x86_64' && echo 'centos'
> > >/etc/yum/vars/contentdir || echo 'altarch' > /etc/yum/vars/contentdir
> >
> > can you please check
> >
> > /usr/bin/uname -m
> >
> > on your system?

# /usr/bin/uname -m
x86_64

> Also, can you share your anaconda logs?
> Maybe some package installation order issue prevents /usr/bin/uname -m |
> grep -q 'x86_64' to properly execute.

In packaging.log:
14:38:25,111 INFO packaging: centos-release-7-5.1804.el7.centos.x86_64 (43/296)
14:38:25,111 INFO packaging: /var/tmp/rpm-tmp.Zk5yvn: line 1: /usr/bin/uname: 
No such file or directory

Logs are at http://sat.lt/anaconda.tgz

Regards,
Nerijus
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Sandro Bonazzola
2018-05-15 14:16 GMT+02:00 Sandro Bonazzola :

>
>
> 2018-05-15 13:53 GMT+02:00 Nerijus Baliunas  >:
>
>> On Tue, 15 May 2018 14:45:23 +0300 Gena Makhomed  wrote:
>>
>> > >> Something wrong with $contentdir variable,
>> > >> it points to altarch for x86_64 $basearch.
>> > >
>> > > can't reproduce on a fresh x86_64 installation. Adding Brian in case
>> he has
>> > > a clue for this.
>> >
>> > I use fresh installed x86_64 CentOS 7.5 via VNC
>> > with partially filled config anaconda-ks.cfg
>> >
>> > And I can see in /etc/yum/vars/contentdir:
>> >
>> > # cat /etc/yum/vars/contentdir
>> > altarch
>> >
>> > As I understand, on the fresh x86_64 installation
>> > file /etc/yum/vars/contentdir should have centos value.
>> >
>> > P.S.
>> >
>> > I will report this issue to my hoster (hetzner.com)
>> > may be this is hoster issue and not CentOS issue ?
>> >
>> > But I am not sure what this is hoster bug,
>> > it may be CentOS 7.5 anaconda installer bug.
>> >
>> > I delete after installation all anaconda configs and all anaconda
>> > log files, so now I can't debug this issue more deeply, sorry.
>>
>> I have freshly installed CentOS 7.5 on a Dell server, and
>> /etc/yum/vars/contentdir
>> contains 'altarch' too. CentOS 7.4->7.5 upgraded servers have 'centos'.
>>
>
> I see in %post:
> /usr/bin/uname -m | grep -q 'x86_64' && echo 'centos'
> >/etc/yum/vars/contentdir || echo 'altarch' > /etc/yum/vars/contentdir
>
> can you please check
>
> /usr/bin/uname -m
>
> on your system?
>

Also, can you share your anaconda logs?
Maybe some package installation order issue prevents /usr/bin/uname -m |
grep -q 'x86_64' to properly execute.



>
>
>
>
>>
>> Regards,
>> Nerijus
>> ___
>> CentOS-virt mailing list
>> CentOS-virt@centos.org
>> https://lists.centos.org/mailman/listinfo/centos-virt
>>
>
>
>
> --
>
> SANDRO BONAZZOLA
>
> ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R
>
> Red Hat EMEA 
>
> sbona...@redhat.com
> 
> 
>



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

sbona...@redhat.com


___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Sandro Bonazzola
2018-05-15 13:53 GMT+02:00 Nerijus Baliunas :

> On Tue, 15 May 2018 14:45:23 +0300 Gena Makhomed  wrote:
>
> > >> Something wrong with $contentdir variable,
> > >> it points to altarch for x86_64 $basearch.
> > >
> > > can't reproduce on a fresh x86_64 installation. Adding Brian in case
> he has
> > > a clue for this.
> >
> > I use fresh installed x86_64 CentOS 7.5 via VNC
> > with partially filled config anaconda-ks.cfg
> >
> > And I can see in /etc/yum/vars/contentdir:
> >
> > # cat /etc/yum/vars/contentdir
> > altarch
> >
> > As I understand, on the fresh x86_64 installation
> > file /etc/yum/vars/contentdir should have centos value.
> >
> > P.S.
> >
> > I will report this issue to my hoster (hetzner.com)
> > may be this is hoster issue and not CentOS issue ?
> >
> > But I am not sure what this is hoster bug,
> > it may be CentOS 7.5 anaconda installer bug.
> >
> > I delete after installation all anaconda configs and all anaconda
> > log files, so now I can't debug this issue more deeply, sorry.
>
> I have freshly installed CentOS 7.5 on a Dell server, and
> /etc/yum/vars/contentdir
> contains 'altarch' too. CentOS 7.4->7.5 upgraded servers have 'centos'.
>

I see in %post:
/usr/bin/uname -m | grep -q 'x86_64' && echo 'centos'
>/etc/yum/vars/contentdir || echo 'altarch' > /etc/yum/vars/contentdir

can you please check

/usr/bin/uname -m

on your system?




>
> Regards,
> Nerijus
> ___
> CentOS-virt mailing list
> CentOS-virt@centos.org
> https://lists.centos.org/mailman/listinfo/centos-virt
>



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

sbona...@redhat.com


___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Nerijus Baliunas
On Tue, 15 May 2018 14:45:23 +0300 Gena Makhomed  wrote:

> >> Something wrong with $contentdir variable,
> >> it points to altarch for x86_64 $basearch.
> > 
> > can't reproduce on a fresh x86_64 installation. Adding Brian in case he has
> > a clue for this.
> 
> I use fresh installed x86_64 CentOS 7.5 via VNC
> with partially filled config anaconda-ks.cfg
> 
> And I can see in /etc/yum/vars/contentdir:
> 
> # cat /etc/yum/vars/contentdir
> altarch
> 
> As I understand, on the fresh x86_64 installation
> file /etc/yum/vars/contentdir should have centos value.
> 
> P.S.
> 
> I will report this issue to my hoster (hetzner.com)
> may be this is hoster issue and not CentOS issue ?
> 
> But I am not sure what this is hoster bug,
> it may be CentOS 7.5 anaconda installer bug.
> 
> I delete after installation all anaconda configs and all anaconda
> log files, so now I can't debug this issue more deeply, sorry.

I have freshly installed CentOS 7.5 on a Dell server, and 
/etc/yum/vars/contentdir
contains 'altarch' too. CentOS 7.4->7.5 upgraded servers have 'centos'.

Regards,
Nerijus
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Gena Makhomed

On 15.05.2018 13:52, Sandro Bonazzola wrote:


failure: repodata/repomd.xml from centos-qemu-ev: [Errno 256] No more

mirrors to try.
http://mirror.centos.org/altarch/7/virt/x86_64/kvm-common/
repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found



Something wrong with $contentdir variable,
it points to altarch for x86_64 $basearch.


can't reproduce on a fresh x86_64 installation. Adding Brian in case he has
a clue for this.


I use fresh installed x86_64 CentOS 7.5 via VNC
with partially filled config anaconda-ks.cfg

And I can see in /etc/yum/vars/contentdir:

# cat /etc/yum/vars/contentdir
altarch

As I understand, on the fresh x86_64 installation
file /etc/yum/vars/contentdir should have centos value.

P.S.

I will report this issue to my hoster (hetzner.com)
may be this is hoster issue and not CentOS issue ?

But I am not sure what this is hoster bug,
it may be CentOS 7.5 anaconda installer bug.

I delete after installation all anaconda configs and all anaconda
log files, so now I can't debug this issue more deeply, sorry.

--
Best regards,
 Gena
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Phill Bandelow
Yep. We are seeing the same thing.

http://mirror.centos.org/altarch/7/virt/x86_64/kvm-
common/repodata/repomd.xml:
<https://mandrillapp.com/track/click/30215943/mirror.centos.org?p=eyJzIjoibGRlaFdSUTl3VlJITkRlY3pURTZlYW9nMDdVIiwidiI6MSwicCI6IntcInVcIjozMDIxNTk0MyxcInZcIjoxLFwidXJsXCI6XCJodHRwOlxcXC9cXFwvbWlycm9yLmNlbnRvcy5vcmdcXFwvYWx0YXJjaFxcXC83XFxcL3ZpcnRcXFwveDg2XzY0XFxcL2t2bS1jb21tb25cXFwvcmVwb2RhdGFcXFwvcmVwb21kLnhtbDpcIixcImlkXCI6XCJmYmY1YjcyNmRmYWY0N2Y3YmRkNWRlNGMxOGY3MTg3ZVwiLFwidXJsX2lkc1wiOltcIjEzMTViNTUwNDczYzI2ZTFhZGM2NDEzNTEzZTIwNDc2ODMzZWIyYTFcIl19In0>
[Errno 14] HTTP Error 404 - Not Found

On 15 May 2018 at 11:52, Sandro Bonazzola <sbona...@redhat.com> wrote:

>
>
> 2018-05-15 12:38 GMT+02:00 Gena Makhomed <g...@csdoc.com>:
>
>> Hello, Sandro!
>>
>> On 15.05.2018 13:24, Gena Makhomed wrote:
>>
>> failure: repodata/repomd.xml from centos-qemu-ev: [Errno 256] No more
>>> mirrors to try.
>>> http://mirror.centos.org/altarch/7/virt/x86_64/kvm-common/re
>>> podata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
>>>
>>
>> I found workaround:
>>
>> # diff -u CentOS-QEMU-EV.repo.old CentOS-QEMU-EV.repo
>> --- CentOS-QEMU-EV.repo.old 2018-05-15 13:30:27.500156416 +0300
>> +++ CentOS-QEMU-EV.repo 2018-05-15 13:30:38.980208715 +0300
>> @@ -5,7 +5,7 @@
>>
>>  [centos-qemu-ev]
>>  name=CentOS-$releasever - QEMU EV
>> -baseurl=http://mirror.centos.org/$contentdir/$releasever/vi
>> rt/$basearch/kvm-common/
>> +baseurl=http://mirror.centos.org/centos/$releasever/virt/$b
>> asearch/kvm-common/
>>  gpgcheck=1
>>  enabled=1
>>  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization
>>
>> 
>> =
>>
>> now all works fine.
>>
>> But as I understand, this is bug and it should be fixed.
>>
>> Something wrong with $contentdir variable,
>> it points to altarch for x86_64 $basearch.
>
>
>
> can't reproduce on a fresh x86_64 installation. Adding Brian in case he
> has a clue for this.
>
>
>
>
>
>>
>>
>> --
>> Best regards,
>>  Gena
>> ___
>> CentOS-virt mailing list
>> CentOS-virt@centos.org
>> https://lists.centos.org/mailman/listinfo/centos-virt
>>
>
>
>
> --
>
> SANDRO BONAZZOLA
>
> ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R
>
> Red Hat EMEA <https://www.redhat.com/>
>
> sbona...@redhat.com
> <https://red.ht/sig>
> <https://redhat.com/summit>
>
> ___
> CentOS-virt mailing list
> CentOS-virt@centos.org
> https://lists.centos.org/mailman/listinfo/centos-virt
>
>


-- 
Regards,
Phill Bandelow
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Sandro Bonazzola
2018-05-15 12:38 GMT+02:00 Gena Makhomed <g...@csdoc.com>:

> Hello, Sandro!
>
> On 15.05.2018 13:24, Gena Makhomed wrote:
>
> failure: repodata/repomd.xml from centos-qemu-ev: [Errno 256] No more
>> mirrors to try.
>> http://mirror.centos.org/altarch/7/virt/x86_64/kvm-common/
>> repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
>>
>
> I found workaround:
>
> # diff -u CentOS-QEMU-EV.repo.old CentOS-QEMU-EV.repo
> --- CentOS-QEMU-EV.repo.old 2018-05-15 13:30:27.500156416 +0300
> +++ CentOS-QEMU-EV.repo 2018-05-15 13:30:38.980208715 +0300
> @@ -5,7 +5,7 @@
>
>  [centos-qemu-ev]
>  name=CentOS-$releasever - QEMU EV
> -baseurl=http://mirror.centos.org/$contentdir/$releasever/vi
> rt/$basearch/kvm-common/
> +baseurl=http://mirror.centos.org/centos/$releasever/virt/$b
> asearch/kvm-common/
>  gpgcheck=1
>  enabled=1
>  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization
>
> 
> =
>
> now all works fine.
>
> But as I understand, this is bug and it should be fixed.
>
> Something wrong with $contentdir variable,
> it points to altarch for x86_64 $basearch.



can't reproduce on a fresh x86_64 installation. Adding Brian in case he has
a clue for this.





>
>
> --
> Best regards,
>  Gena
> ___
> CentOS-virt mailing list
> CentOS-virt@centos.org
> https://lists.centos.org/mailman/listinfo/centos-virt
>



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA <https://www.redhat.com/>

sbona...@redhat.com
<https://red.ht/sig>
<https://redhat.com/summit>
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Gena Makhomed

Hello, Sandro!

On 15.05.2018 13:24, Gena Makhomed wrote:

failure: repodata/repomd.xml from centos-qemu-ev: [Errno 256] No more 
mirrors to try.
http://mirror.centos.org/altarch/7/virt/x86_64/kvm-common/repodata/repomd.xml: 
[Errno 14] HTTP Error 404 - Not Found


I found workaround:

# diff -u CentOS-QEMU-EV.repo.old CentOS-QEMU-EV.repo
--- CentOS-QEMU-EV.repo.old 2018-05-15 13:30:27.500156416 +0300
+++ CentOS-QEMU-EV.repo 2018-05-15 13:30:38.980208715 +0300
@@ -5,7 +5,7 @@

 [centos-qemu-ev]
 name=CentOS-$releasever - QEMU EV
-baseurl=http://mirror.centos.org/$contentdir/$releasever/virt/$basearch/kvm-common/
+baseurl=http://mirror.centos.org/centos/$releasever/virt/$basearch/kvm-common/
 gpgcheck=1
 enabled=1
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization

=

now all works fine.

But as I understand, this is bug and it should be fixed.

Something wrong with $contentdir variable,
it points to altarch for x86_64 $basearch.

--
Best regards,
 Gena
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS] qemu-system-x86_64 does not support fw_cfg option

2017-07-26 Thread Steve Rubie-Todd

On 26/07/2017 11:44, Gianluca Cecchi wrote:

On Wed, Jul 26, 2017 at 12:20 PM, Steve Rubie-Todd <st...@rubie-todd.com>
wrote:


Hi

I am trying to run CoreOS (Container Linux) as a guest OS using KVM/QEMU.
One of their suggestions is to pass config info into the VM using the
"fw_cfg" option . When I try this I get the error "-fw_cfg invalid option".
If I run the vm with the help option it does not list the fw_cfg option.
However, according to the qemu documentation, see here <
https://qemu.weilnetz.de/doc/qemu-doc.html#Debug_002fExpert-options>,
they support this option.

The command used to run the vm is:

/usr/bin/qemu-system-x86_64 -name CL-IGN-1 -m 1024 \
 -net nic,vlan=0,model=virtio \
 -net user,vlan=0,hostfwd=tcp::-:22,hostname=CL-IGN-1 \
 -drive if=virtio,file=./coreos_production_qemu_image.img \
 -fw_cfg name=opt/com.coreos/config,file=./CL-IGN-1.ignconfig

qemu-system-x86_64: -fw_cfg: invalid option

I also tried using /usr/libexec/qemu-kvm but got the same error.

I am running::

CentOS Linux release 7.3.1611 (Core)

qemu-system-x86-2.0.0-1.el7.6.x86_64
qemu-kvm-1.5.3-126.el7.x86_64


Thanks.


Hello,
I think (based also on your qemu-kvm version man page), that the feature is
not present in qemu-kvm version provided by base CentOS.
But you can use packages provided by the Virtualization SIG
Good idea especially if virtualization is core service for your server.
See here the announcement:
https://lists.centos.org/pipermail/centos-announce/2015-October/021445.html

So you can follow what detailed there:
yum install centos-release-qemu-ev
yum install qemu-kvm-ev

I reproduced a situation on a CentOS 7.3 server where qemu-kvm is already
present and you can do

yum install centos-release-qemu-ev

and then

yum update qemu-kvm-ev
...
Dependencies Resolved


  Package   Arch  Version
  Repository Size

Installing:
  qemu-img-ev   x86_64    10:2.6.0-28.el7.10.1
centos-qemu-ev1.0 M
  replacing  qemu-img.x86_64 10:1.5.3-126.el7_3.10
  qemu-kvm-common-evx86_64    10:2.6.0-28.el7.10.1
centos-qemu-ev516 k
  replacing  qemu-kvm-common.x86_64 10:1.5.3-126.el7_3.10
  qemu-kvm-ev   x86_64    10:2.6.0-28.el7.10.1
centos-qemu-ev2.5 M
  replacing  qemu-kvm.x86_64 10:1.5.3-126.el7_3.10

Transaction Summary

Install  3 Packages

so it seems it automatically obsoletes the "standard" packages, because
they overlap in filesand you can have only one installed

And now you should have the -fw_cfg option.

BTW: the version of the hypervisor used by Virtualization SIG is the same
used by the Virtualization Platform project named oVirt (
http://www.ovirt.org), upstream for commercial RHEV solution, so rock
solid, I'm currently using it extensively ;-)

HIH,
Gianluca
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

Many thanks for your quick response Gianluca. I installed the "ev" 
packages and now I can pass the "fw_cfg" option to the vm.


Regards

Steve.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-system-x86_64 does not support fw_cfg option

2017-07-26 Thread Gianluca Cecchi
On Wed, Jul 26, 2017 at 12:20 PM, Steve Rubie-Todd <st...@rubie-todd.com>
wrote:

> Hi
>
> I am trying to run CoreOS (Container Linux) as a guest OS using KVM/QEMU.
> One of their suggestions is to pass config info into the VM using the
> "fw_cfg" option . When I try this I get the error "-fw_cfg invalid option".
> If I run the vm with the help option it does not list the fw_cfg option.
> However, according to the qemu documentation, see here <
> https://qemu.weilnetz.de/doc/qemu-doc.html#Debug_002fExpert-options>,
> they support this option.
>
> The command used to run the vm is:
>
>/usr/bin/qemu-system-x86_64 -name CL-IGN-1 -m 1024 \
> -net nic,vlan=0,model=virtio \
> -net user,vlan=0,hostfwd=tcp::-:22,hostname=CL-IGN-1 \
> -drive if=virtio,file=./coreos_production_qemu_image.img \
> -fw_cfg name=opt/com.coreos/config,file=./CL-IGN-1.ignconfig
>
>qemu-system-x86_64: -fw_cfg: invalid option
>
> I also tried using /usr/libexec/qemu-kvm but got the same error.
>
> I am running::
>
>CentOS Linux release 7.3.1611 (Core)
>
>qemu-system-x86-2.0.0-1.el7.6.x86_64
>qemu-kvm-1.5.3-126.el7.x86_64
>
>
> Thanks.
>

Hello,
I think (based also on your qemu-kvm version man page), that the feature is
not present in qemu-kvm version provided by base CentOS.
But you can use packages provided by the Virtualization SIG
Good idea especially if virtualization is core service for your server.
See here the announcement:
https://lists.centos.org/pipermail/centos-announce/2015-October/021445.html

So you can follow what detailed there:
yum install centos-release-qemu-ev
yum install qemu-kvm-ev

I reproduced a situation on a CentOS 7.3 server where qemu-kvm is already
present and you can do

yum install centos-release-qemu-ev

and then

yum update qemu-kvm-ev
...
Dependencies Resolved


 Package   Arch  Version
 Repository Size
========
Installing:
 qemu-img-ev   x86_6410:2.6.0-28.el7.10.1
centos-qemu-ev    1.0 M
 replacing  qemu-img.x86_64 10:1.5.3-126.el7_3.10
 qemu-kvm-common-evx86_6410:2.6.0-28.el7.10.1
centos-qemu-ev516 k
     replacing  qemu-kvm-common.x86_64 10:1.5.3-126.el7_3.10
 qemu-kvm-ev   x86_6410:2.6.0-28.el7.10.1
centos-qemu-ev2.5 M
 replacing  qemu-kvm.x86_64 10:1.5.3-126.el7_3.10

Transaction Summary

Install  3 Packages

so it seems it automatically obsoletes the "standard" packages, because
they overlap in filesand you can have only one installed

And now you should have the -fw_cfg option.

BTW: the version of the hypervisor used by Virtualization SIG is the same
used by the Virtualization Platform project named oVirt (
http://www.ovirt.org), upstream for commercial RHEV solution, so rock
solid, I'm currently using it extensively ;-)

HIH,
Gianluca
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] qemu-system-x86_64 does not support fw_cfg option

2017-07-26 Thread Steve Rubie-Todd

Hi

I am trying to run CoreOS (Container Linux) as a guest OS using 
KVM/QEMU. One of their suggestions is to pass config info into the VM 
using the "fw_cfg" option . When I try this I get the error "-fw_cfg 
invalid option". If I run the vm with the help option it does not list 
the fw_cfg option. However, according to the qemu documentation, see 
here 
, 
they support this option.


The command used to run the vm is:

   /usr/bin/qemu-system-x86_64 -name CL-IGN-1 -m 1024 \
-net nic,vlan=0,model=virtio \
-net user,vlan=0,hostfwd=tcp::-:22,hostname=CL-IGN-1 \
-drive if=virtio,file=./coreos_production_qemu_image.img \
-fw_cfg name=opt/com.coreos/config,file=./CL-IGN-1.ignconfig

   qemu-system-x86_64: -fw_cfg: invalid option

I also tried using /usr/libexec/qemu-kvm but got the same error.

I am running::

   CentOS Linux release 7.3.1611 (Core)

   qemu-system-x86-2.0.0-1.el7.6.x86_64
   qemu-kvm-1.5.3-126.el7.x86_64


Thanks.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Qemu 2.x on CentOS 7?

2015-06-30 Thread Robert Fitzpatrick
Is there any way to get the latest Qemu to run on CentOS 7? I'm looking 
for a way to create backup snapshots, but the current install says:


[root@vhost1 ~]# virsh snapshot-create-as myvm snapshot1 snapshot1 
description
error: Operation not supported: live disk snapshot not supported with 
this QEMU binary


--
Robert

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Qemu 2.x on CentOS 7?

2015-06-30 Thread Nux!
Hello,

You might be able to use the live feature by using the qemu-kvm-rhev from Ovirt:
http://resources.ovirt.org/pub/ovirt-3.5/rpm/el7/x86_64/

HTH

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
 From: Robert Fitzpatrick rob...@webtent.org
 To: CentOS centos@centos.org
 Sent: Tuesday, 30 June, 2015 14:27:41
 Subject: [CentOS] Qemu 2.x on CentOS 7?

 Is there any way to get the latest Qemu to run on CentOS 7? I'm looking
 for a way to create backup snapshots, but the current install says:
 
 [root@vhost1 ~]# virsh snapshot-create-as myvm snapshot1 snapshot1
 description
 error: Operation not supported: live disk snapshot not supported with
 this QEMU binary
 
 --
 Robert
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] qemu-kvm-rhev

2013-11-11 Thread Sander Grendelman
I recently ran into some problems using certain oVirt (3.3) features
on CentOS 6.4 hosts.
The solution was to use the qemu-kvm-rhev version from the EL6 RHEV repository:
http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/qemu-kvm-rhev-0.12.1.2-2.355.el6_4.9.src.rpm

It seems that this tree is not carried/built by CentOS.
Are there any plans on the CentOS for carrying these packages?

Some background information:

- http://lists.ovirt.org/pipermail/users/2013-November/017652.html
- http://lists.ovirt.org/pipermail/users/2013-November/017722.html

Best regards,

Sander
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm-rhev

2013-11-11 Thread Nux!
On 11.11.2013 14:59, Sander Grendelman wrote:
 I recently ran into some problems using certain oVirt (3.3) features
 on CentOS 6.4 hosts.
 The solution was to use the qemu-kvm-rhev version from the EL6 RHEV 
 repository:
 http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/qemu-kvm-rhev-0.12.1.2-2.355.el6_4.9.src.rpm
 
 It seems that this tree is not carried/built by CentOS.
 Are there any plans on the CentOS for carrying these packages?

How does this differ from stock kvm?

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm-rhev

2013-11-11 Thread Sander Grendelman
The important difference in this case is support for live snapshots.

There's probably also some additional support for RHEV/oVirt integration.

On Mon, Nov 11, 2013 at 4:34 PM, Nux! n...@li.nux.ro wrote:
 On 11.11.2013 14:59, Sander Grendelman wrote:
 I recently ran into some problems using certain oVirt (3.3) features
 on CentOS 6.4 hosts.
 The solution was to use the qemu-kvm-rhev version from the EL6 RHEV
 repository:
 http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/qemu-kvm-rhev-0.12.1.2-2.355.el6_4.9.src.rpm

 It seems that this tree is not carried/built by CentOS.
 Are there any plans on the CentOS for carrying these packages?

 How does this differ from stock kvm?

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm-rhev

2013-11-11 Thread Patrick Hurrelmann
On 11.11.2013 16:34, Nux! wrote:
 On 11.11.2013 14:59, Sander Grendelman wrote:
 I recently ran into some problems using certain oVirt (3.3) features
 on CentOS 6.4 hosts.
 The solution was to use the qemu-kvm-rhev version from the EL6 RHEV 
 repository:
 http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/qemu-kvm-rhev-0.12.1.2-2.355.el6_4.9.src.rpm

 It seems that this tree is not carried/built by CentOS.
 Are there any plans on the CentOS for carrying these packages?
 
 How does this differ from stock kvm?
 

It is basically the same srpm. Both srpms have it all. The rhev rpm only
defines rhev 1 in its spec and therefore enables more features. It
also properly obsoletes the base qemu-kvm package then.

Patrick

-- 
Lobster LOGsuite GmbH, Münchner Straße 15a, D-82319 Starnberg

HRB 178831, Amtsgericht München
Geschäftsführer: Dr. Martin Fischer, Rolf Henrich
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm-rhev

2013-11-11 Thread Markus Falb

On 11.Nov.2013, at 15:59, Sander Grendelman wrote:

 I recently ran into some problems using certain oVirt (3.3) features
 on CentOS 6.4 hosts.
 The solution was to use the qemu-kvm-rhev version from the EL6 RHEV 
 repository:
 http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/qemu-kvm-rhev-0.12.1.2-2.355.el6_4.9.src.rpm
 
 It seems that this tree is not carried/built by CentOS.
 Are there any plans on the CentOS for carrying these packages?

CentOSV ? This would be cool.
Is all of RHEV open sourced?

-- 
Markus

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm-rhev

2013-11-11 Thread Nux!
On 11.11.2013 17:28, Markus Falb wrote:
 On 11.Nov.2013, at 15:59, Sander Grendelman wrote:
 
 I recently ran into some problems using certain oVirt (3.3) features
 on CentOS 6.4 hosts.
 The solution was to use the qemu-kvm-rhev version from the EL6 RHEV 
 repository:
 http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/qemu-kvm-rhev-0.12.1.2-2.355.el6_4.9.src.rpm
 
 It seems that this tree is not carried/built by CentOS.
 Are there any plans on the CentOS for carrying these packages?
 
 CentOSV ? This would be cool.
 Is all of RHEV open sourced?

Yes, I believe so. Check out ovirt.org.
BTW built that SRPM, if someone feels in testing mood:
http://li.nux.ro/download/nux/tmp/kvm-rhev/el6/

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-19 Thread Gene Poole
Let me say that your question does not match your subject.

I run a 32-bit CentOS with virt-manager installed to monitor the virtual 
machines running on a 64-bit CentOS.  That leaves the following:

Is it because I'm running CentOS 5.9 in both cases?
Or is it because I performed a full install from a DVD in both cases?

That being said, It's a fact that virt-manager will run on a 32-bit OS.

Thanks,
Gene Poole
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-19 Thread Les Mikesell
On Mon, Aug 19, 2013 at 1:22 PM, Gene Poole gene.po...@macys.com wrote:
 Let me say that your question does not match your subject.

 I run a 32-bit CentOS with virt-manager installed to monitor the virtual
 machines running on a 64-bit CentOS.  That leaves the following:

 Is it because I'm running CentOS 5.9 in both cases?
 Or is it because I performed a full install from a DVD in both cases?

 That being said, It's a fact that virt-manager will run on a 32-bit OS.

No, I think the subject is right.  You can install/run virt-manager
and use it as a client to 64-bit systems (in 6.x also).  But you can't
connect to localhost even though there is a libvirtd because of the
missing qemu-kvm package.

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-14 Thread Ljubomir Ljubojevic
On 08/13/2013 11:16 PM, Les Mikesell wrote:
 On Mon, Aug 12, 2013 at 10:56 AM, Dave Johansen davejohan...@gmail.com 
 wrote:

 I suggest you use VirtualBox, or some other distro.

 I'll really like CentOS/RHEL and will definitely stick with it.

 Virtualbox isn't 'instead of' CentOS'  it is 'instead of KVM' as a
 virtualization layer.  Not sure how much difference there is in
 capability, other than being available for many more platforms,
 including 32-bit linux.  There should be some overlap in supported
 image formats.  I've moved vmdk's created on vmware to both, but I'm
 not sure what others they each handle.

Yes, that is exactly what I meant. If you want ot keep running 32-bit 
CentOS and have Virtualized guest, VirtualBox is excellent choice. Same 
image can be run on both Linux and Windows host systems,


 The
 point of my questions wasn't to complain or any like that, but just
 surprise because it seemed that the no 32 bit support didn't line up
 with my experience and just trying to make sure I understood
 everything.

 If you have hardware support for virtualization, you should probably
 be running 64-bit Centos with KVM and not much else at the host OS
 level.  If you have applications that need 32-bit, they could run in a
 guest.


CentOS is multiarch, all libraries/packages necessary to run any 32-bit 
app exist on 64-bit system, so it can be run on 64-host, no need to have 
guest for that.

-- 
Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-14 Thread Les Mikesell
On Wed, Aug 14, 2013 at 10:17 AM, Dave Johansen davejohan...@gmail.com wrote:

 The issue is that I have two machines and one has hardware support for
 virtualization but doesn't support x64, and the other is flipped. So I
 was hoping to be able to it on the 32-bit machine to get the speed up
 from hardware support, but I guess I'll just do it on the 64-bit
 machine and pay the price of emulation.

What processor does hardware virtualization but isn't 64-bit?

 The reason I want to use virtualization is not on a big server, but
 just as a way to test builds/software on different OS versions for
 submission to the EPEL and Fedora. So not everyone in the world is
 using virtualization for server type stuff, but I realize that is the
 large majority of the use cases.

If you want a 64-bit guest, I think the host has to support both
hardware virtualization and 64-bit, although the host OS doesn't
technically have to be a 64-bit version.   For example I have run a
64-bit linux guest under 32-bit windows XP with vmware player - and I
think virtualbox would do the same..

Your use case should be fairly common, but you need host support if
you want 64-bit guests.

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-14 Thread Dave Johansen
On Wed, Aug 14, 2013 at 8:39 AM, Les Mikesell lesmikes...@gmail.com wrote:

 On Wed, Aug 14, 2013 at 10:17 AM, Dave Johansen davejohan...@gmail.com 
 wrote:
 
  The issue is that I have two machines and one has hardware support for
  virtualization but doesn't support x64, and the other is flipped. So I
  was hoping to be able to it on the 32-bit machine to get the speed up
  from hardware support, but I guess I'll just do it on the 64-bit
  machine and pay the price of emulation.

 What processor does hardware virtualization but isn't 64-bit?

An Intel T2400 does:
http://ark.intel.com/products/27235/Intel-Core-Duo-Processor-T2400-2M-Cache-1_83-GHz-667-MHz-FSB

Intel was slow to get on the 64-bit band wagons and it took a while
until they moved their whole lower end line to having 64-bit support.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-13 Thread Les Mikesell
On Mon, Aug 12, 2013 at 10:56 AM, Dave Johansen davejohan...@gmail.com wrote:

 I suggest you use VirtualBox, or some other distro.

 I'll really like CentOS/RHEL and will definitely stick with it.

Virtualbox isn't 'instead of' CentOS'  it is 'instead of KVM' as a
virtualization layer.  Not sure how much difference there is in
capability, other than being available for many more platforms,
including 32-bit linux.  There should be some overlap in supported
image formats.  I've moved vmdk's created on vmware to both, but I'm
not sure what others they each handle.

 The
 point of my questions wasn't to complain or any like that, but just
 surprise because it seemed that the no 32 bit support didn't line up
 with my experience and just trying to make sure I understood
 everything.

If you have hardware support for virtualization, you should probably
be running 64-bit Centos with KVM and not much else at the host OS
level.  If you have applications that need 32-bit, they could run in a
guest.

-- 
   Les Mikesell
  lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-13 Thread Dennis Jacobfeuerborn
On 09.08.2013 22:38, Dave Johansen wrote:
 On Fri, Aug 9, 2013 at 9:03 AM, Dennis Jacobfeuerborn
 denni...@conversis.de wrote:

 On 09.08.2013 17:39, Dave Johansen wrote:
 On Fri, Aug 9, 2013 at 8:24 AM, Patrick Hurrelmann
 patrick.hurrelm...@lobster.de wrote:

 On 09.08.2013 17:21, Dave Johansen wrote:
 On Fri, Aug 9, 2013 at 8:15 AM, lists-centos
 replies-lists-c9y6-cen...@listmail.innovate.net wrote:



  Original Message 
 Date: Friday, August 09, 2013 08:04:08 AM -0700
 From: Dave Johansen davejohan...@gmail.com
 To: CentOS mailing list centos@centos.org
 Cc:
 Subject: [CentOS] qemu-kvm package?

 I just did a clean net install of CentOS 6.4 and when I run
 virt-manager it says that qemu-kvm is missing, but when I try to
 install it with yum it says that there isn't a package with that
 name. Is something wrong with my configuration? Or what is causing
 this package to appear as not available? Thanks,
 Dave

 Is this install on a 32-bit machine?

 It's there for 64-bit, but I don't see it for 32-bit.


  - Richard


 It's a 32-bit install.

 kvm is not supported on 32bit installs in rhel/centos.

 Really? Is there a reason why that is the case? Because the hardware
 supports it and so is it just that the software doesn't support
 32-bit? That's kind of surprising because my experience has usually
 been that if both weren't supported then it was 64 bit that was
 lacking.

 Nowadays you should always install 64 bit. 32 bit is a legacy
 architecture and should not be used unless you absolutely have no other
 choice.

 Unfortunately, for me that is the case. The laptop I was doing this on
 (Thinkpad T60) doesn't support x64.

 But the 32 bit is legacy argument seems a bit odd and that's the
 first time I've heard that. Maybe I'm just a bit out of that loop, but
 the reason I say that is that before doing this install, I had Fedora
 19 on the machine and kvm worked just fine on the machine, so if it
 really was that 32 bit wasn't being supported for things like kvm
 anymore, then why does a cutting edge system like Fedora 19 have
 support for it?

The important thing here is the different possible meanings of the word 
support. Fedora doesn't support things in the same way RHEL/CentOS 
does. In Fedora supports X means is technically capable of doing X 
however in enterprise distros support actually means that the company 
guarantees (within limits) that X works and if it doesn't work for a 
customer it expends engineering resources to fix whatever the problem is.

In the case of 32bit vs 64bit KVM Red Hat simply decided that it doesn't 
want to incur all the trouble/costs it would take to actually name 32bit 
KVM as supported since 98% of the systems KVM will be used on nowadays 
are 64bit capable.

Since Fedora does have to deal with these issues only on a we'll try to 
keep things working but if we fail you are on your own basis they 
probably have no reason to disable 32bit support.

My guess is that if you flip a few switches in the source kernel and 
qemu/kvm packages to compile in the 32bit modules you should be able to 
make it work but I haven't dealt with a 32bit system in years so I'm not 
sure if this is enough to get things going.

Regards,
   Dennis

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-12 Thread Dave Johansen
On Fri, Aug 9, 2013 at 2:31 PM, Ljubomir Ljubojevic cen...@plnet.rs wrote:

 On 08/09/2013 05:35 PM, John Doe wrote:
  From: Dave Johansen davejohan...@gmail.com
 
 I just did a clean net install of CentOS 6.4 and when I run
 virt-manager it says that qemu-kvm is missing, but when I try to
 install it with yum it says that there isn't a package with that
 name. Is something wrong with my configuration? Or what is causing
 this package to appear as not available? Thanks,
 
  It's a 32-bit install.
 
  Google told me:
  Whilst previous versions of RHEL supported KVM on both 32-bit and 64-bit 
  systems, as of RHEL 5.4 support for KVM virtualization is only available 
  for 64-bit (x86_64 architecture) versions of the operating system.
  But I never played with it so I cannot confirm...
 
  JD

 I have a kvm-84 rpm and src.rpm for CentOS 5.x (Levente's) and run a
 32-bit KVM host for few years, but I never played with CentOS 6, never
 needed it.

 http://rpms.plnet.rs/plnet-centos5-srpms-srpms/RPMS.plnet/kvm-kmod-84-1.el5.src.rpm

 I suggest you use VirtualBox, or some other distro.

I'll really like CentOS/RHEL and will definitely stick with it. The
point of my questions wasn't to complain or any like that, but just
surprise because it seemed that the no 32 bit support didn't line up
with my experience and just trying to make sure I understood
everything.

Thanks,
Dave
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-12 Thread thunderzep
 
 I'll really like CentOS/RHEL and will definitely stick with it. The
 point of my questions wasn't to complain or any like that, but just
 surprise because it seemed that the no 32 bit support didn't line up
 with my experience and just trying to make sure I understood
 everything.
 
 Thanks,
 Dave

I suspect that with the notion of modern OSes normally needing at least
1G each even in a VM (often much more), the choice was to steer
resources to the 64bit platform for virtulization because 32bit machines
can't address nearly as much memory space, often a key factor for VMs.

given the amount of resources to maintain a platform that can't really
support production workloads and most modern machines should be able to
switch to 64bit OS pretty seamlessly, I suspect there was no
justification to keep support for a 32bit version.

just my theory, not sure if it's of any help for you.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] qemu-kvm package?

2013-08-09 Thread Dave Johansen
I just did a clean net install of CentOS 6.4 and when I run virt-manager it
says that qemu-kvm is missing, but when I try to install it with yum it
says that there isn't a package with that name. Is something wrong with my
configuration? Or what is causing this package to appear as not available?
Thanks,
Dave
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-09 Thread John Doe
From: Dave Johansen davejohan...@gmail.com

 I just did a clean net install of CentOS 6.4 and when I run virt-manager it
 says that qemu-kvm is missing, but when I try to install it with yum it
 says that there isn't a package with that name. Is something wrong with my
 configuration? Or what is causing this package to appear as not available?

# yum whatprovides \*qemu-kvm
...
Repo    : base
2:qemu-kvm-0.12.1.2-2.355.el6.x86_64 : Userspace component of KVM
Repo    : updates
2:qemu-kvm-0.12.1.2-2.355.0.1.el6.centos.6.x86_64 : Userspace component of KVM
2:qemu-kvm-0.12.1.2-2.355.0.1.el6.centos.2.x86_64 : Userspace component of KVM
2:qemu-kvm-0.12.1.2-2.355.el6_4.2.x86_64 : Userspace component of KVM
2:qemu-kvm-0.12.1.2-2.355.0.1.el6.centos.3.x86_64 : Userspace component of KVM
2:qemu-kvm-0.12.1.2-2.355.el6_4_4.1.x86_64 : Userspace component of KVM
2:qemu-kvm-0.12.1.2-2.355.0.1.el6.centos.5.x86_64 : Userspace component of KVM

JD
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-09 Thread Dave Johansen
On Fri, Aug 9, 2013 at 8:15 AM, lists-centos
replies-lists-c9y6-cen...@listmail.innovate.net wrote:



  Original Message 
  Date: Friday, August 09, 2013 08:04:08 AM -0700
  From: Dave Johansen davejohan...@gmail.com
  To: CentOS mailing list centos@centos.org
  Cc:
  Subject: [CentOS] qemu-kvm package?
 
  I just did a clean net install of CentOS 6.4 and when I run
  virt-manager it says that qemu-kvm is missing, but when I try to
  install it with yum it says that there isn't a package with that
  name. Is something wrong with my configuration? Or what is causing
  this package to appear as not available? Thanks,
  Dave

 Is this install on a 32-bit machine?

 It's there for 64-bit, but I don't see it for 32-bit.


- Richard


It's a 32-bit install.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-09 Thread Patrick Hurrelmann
On 09.08.2013 17:21, Dave Johansen wrote:
 On Fri, Aug 9, 2013 at 8:15 AM, lists-centos
 replies-lists-c9y6-cen...@listmail.innovate.net wrote:



  Original Message 
 Date: Friday, August 09, 2013 08:04:08 AM -0700
 From: Dave Johansen davejohan...@gmail.com
 To: CentOS mailing list centos@centos.org
 Cc:
 Subject: [CentOS] qemu-kvm package?

 I just did a clean net install of CentOS 6.4 and when I run
 virt-manager it says that qemu-kvm is missing, but when I try to
 install it with yum it says that there isn't a package with that
 name. Is something wrong with my configuration? Or what is causing
 this package to appear as not available? Thanks,
 Dave

 Is this install on a 32-bit machine?

 It's there for 64-bit, but I don't see it for 32-bit.


- Richard
 
 
 It's a 32-bit install.

kvm is not supported on 32bit installs in rhel/centos.

Regards
Patrick

-- 
Lobster LOGsuite GmbH, Münchner Straße 15a, D-82319 Starnberg

HRB 178831, Amtsgericht München
Geschäftsführer: Dr. Martin Fischer, Rolf Henrich
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-09 Thread Scott Robbins
On Fri, Aug 09, 2013 at 08:04:08AM -0700, Dave Johansen wrote:
 I just did a clean net install of CentOS 6.4 and when I run virt-manager it
 says that qemu-kvm is missing, but when I try to install it with yum it
 says that there isn't a package with that name. Is something wrong with my
 configuration? Or what is causing this package to appear as not available?
 Thanks,

I wonder if it is a configuration problem.  From rpm -qi qemu-kvm on a 6.4
system:
-

Name: qemu-kvm Relocations: (not relocatable)
Version : 0.12.1.2  Vendor: CentOS
Release : 2.355.0.1.el6.centos.6Build Date: Mon 22 Jul 2013
02:13:47 PM EDT
Install Date: Sat 27 Jul 2013 11:02:46 AM EDT  Build Host:
c6b8.bsys.dev.centos.org
Group   : Development/Tools Source RPM:
qemu-kvm-0.12.1.2-2.355.0.1.el6.centos.6.src.rpm
Size: 4288610  License: GPLv2+ and LGPLv2+
and BSD
Signature   : RSA/SHA1, Mon 22 Jul 2013 04:01:00 PM EDT, Key ID
0946fca2c105b9de
Packager: CentOS BuildSystem http://bugs.centos.org
URL : http://www.linux-kvm.org
Summary : Userspace component of KVM

-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-09 Thread John Doe
From: Dave Johansen davejohan...@gmail.com

   I just did a clean net install of CentOS 6.4 and when I run
   virt-manager it says that qemu-kvm is missing, but when I try to
   install it with yum it says that there isn't a package with that
   name. Is something wrong with my configuration? Or what is causing
   this package to appear as not available? Thanks,
 
 It's a 32-bit install.

Google told me:
Whilst previous versions of RHEL supported KVM on both 32-bit and 64-bit 
systems, as of RHEL 5.4 support for KVM virtualization is only available for 
64-bit (x86_64 architecture) versions of the operating system.
But I never played with it so I cannot confirm...

JD
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-09 Thread Dave Johansen
On Fri, Aug 9, 2013 at 8:24 AM, Patrick Hurrelmann
patrick.hurrelm...@lobster.de wrote:

 On 09.08.2013 17:21, Dave Johansen wrote:
  On Fri, Aug 9, 2013 at 8:15 AM, lists-centos
  replies-lists-c9y6-cen...@listmail.innovate.net wrote:
 
 
 
   Original Message 
  Date: Friday, August 09, 2013 08:04:08 AM -0700
  From: Dave Johansen davejohan...@gmail.com
  To: CentOS mailing list centos@centos.org
  Cc:
  Subject: [CentOS] qemu-kvm package?
 
  I just did a clean net install of CentOS 6.4 and when I run
  virt-manager it says that qemu-kvm is missing, but when I try to
  install it with yum it says that there isn't a package with that
  name. Is something wrong with my configuration? Or what is causing
  this package to appear as not available? Thanks,
  Dave
 
  Is this install on a 32-bit machine?
 
  It's there for 64-bit, but I don't see it for 32-bit.
 
 
 - Richard
 
 
  It's a 32-bit install.

 kvm is not supported on 32bit installs in rhel/centos.

Really? Is there a reason why that is the case? Because the hardware
supports it and so is it just that the software doesn't support
32-bit? That's kind of surprising because my experience has usually
been that if both weren't supported then it was 64 bit that was
lacking.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-09 Thread Dennis Jacobfeuerborn
On 09.08.2013 17:39, Dave Johansen wrote:
 On Fri, Aug 9, 2013 at 8:24 AM, Patrick Hurrelmann
 patrick.hurrelm...@lobster.de wrote:

 On 09.08.2013 17:21, Dave Johansen wrote:
 On Fri, Aug 9, 2013 at 8:15 AM, lists-centos
 replies-lists-c9y6-cen...@listmail.innovate.net wrote:



  Original Message 
 Date: Friday, August 09, 2013 08:04:08 AM -0700
 From: Dave Johansen davejohan...@gmail.com
 To: CentOS mailing list centos@centos.org
 Cc:
 Subject: [CentOS] qemu-kvm package?

 I just did a clean net install of CentOS 6.4 and when I run
 virt-manager it says that qemu-kvm is missing, but when I try to
 install it with yum it says that there isn't a package with that
 name. Is something wrong with my configuration? Or what is causing
 this package to appear as not available? Thanks,
 Dave

 Is this install on a 32-bit machine?

 It's there for 64-bit, but I don't see it for 32-bit.


 - Richard


 It's a 32-bit install.

 kvm is not supported on 32bit installs in rhel/centos.

 Really? Is there a reason why that is the case? Because the hardware
 supports it and so is it just that the software doesn't support
 32-bit? That's kind of surprising because my experience has usually
 been that if both weren't supported then it was 64 bit that was
 lacking.

Nowadays you should always install 64 bit. 32 bit is a legacy 
architecture and should not be used unless you absolutely have no other 
choice.

Regards,
   Dennis

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-09 Thread Dave Johansen
On Fri, Aug 9, 2013 at 9:03 AM, Dennis Jacobfeuerborn
denni...@conversis.de wrote:

 On 09.08.2013 17:39, Dave Johansen wrote:
  On Fri, Aug 9, 2013 at 8:24 AM, Patrick Hurrelmann
  patrick.hurrelm...@lobster.de wrote:
 
  On 09.08.2013 17:21, Dave Johansen wrote:
  On Fri, Aug 9, 2013 at 8:15 AM, lists-centos
  replies-lists-c9y6-cen...@listmail.innovate.net wrote:
 
 
 
   Original Message 
  Date: Friday, August 09, 2013 08:04:08 AM -0700
  From: Dave Johansen davejohan...@gmail.com
  To: CentOS mailing list centos@centos.org
  Cc:
  Subject: [CentOS] qemu-kvm package?
 
  I just did a clean net install of CentOS 6.4 and when I run
  virt-manager it says that qemu-kvm is missing, but when I try to
  install it with yum it says that there isn't a package with that
  name. Is something wrong with my configuration? Or what is causing
  this package to appear as not available? Thanks,
  Dave
 
  Is this install on a 32-bit machine?
 
  It's there for 64-bit, but I don't see it for 32-bit.
 
 
  - Richard
 
 
  It's a 32-bit install.
 
  kvm is not supported on 32bit installs in rhel/centos.
 
  Really? Is there a reason why that is the case? Because the hardware
  supports it and so is it just that the software doesn't support
  32-bit? That's kind of surprising because my experience has usually
  been that if both weren't supported then it was 64 bit that was
  lacking.

 Nowadays you should always install 64 bit. 32 bit is a legacy
 architecture and should not be used unless you absolutely have no other
 choice.

Unfortunately, for me that is the case. The laptop I was doing this on
(Thinkpad T60) doesn't support x64.

But the 32 bit is legacy argument seems a bit odd and that's the
first time I've heard that. Maybe I'm just a bit out of that loop, but
the reason I say that is that before doing this install, I had Fedora
19 on the machine and kvm worked just fine on the machine, so if it
really was that 32 bit wasn't being supported for things like kvm
anymore, then why does a cutting edge system like Fedora 19 have
support for it?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-09 Thread Ljubomir Ljubojevic
On 08/09/2013 05:35 PM, John Doe wrote:
 From: Dave Johansen davejohan...@gmail.com

I just did a clean net install of CentOS 6.4 and when I run
virt-manager it says that qemu-kvm is missing, but when I try to
install it with yum it says that there isn't a package with that
name. Is something wrong with my configuration? Or what is causing
this package to appear as not available? Thanks,

 It's a 32-bit install.

 Google told me:
 Whilst previous versions of RHEL supported KVM on both 32-bit and 64-bit 
 systems, as of RHEL 5.4 support for KVM virtualization is only available for 
 64-bit (x86_64 architecture) versions of the operating system.
 But I never played with it so I cannot confirm...

 JD

I have a kvm-84 rpm and src.rpm for CentOS 5.x (Levente's) and run a 
32-bit KVM host for few years, but I never played with CentOS 6, never 
needed it.

http://rpms.plnet.rs/plnet-centos5-srpms-srpms/RPMS.plnet/kvm-kmod-84-1.el5.src.rpm

I suggest you use VirtualBox, or some other distro.


-- 
Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-virt] [CentOS] qemu-kvm high cpu usage with idle windows guest

2013-04-07 Thread Banyan He
Maybe you can print out what it is doing, then try to figure out if they 
are doing good. My linux works good, never tried windows.


Banyan He
Blog: http://www.rootong.com
Email: ban...@rootong.com

On 4/7/2013 10:21 PM, Micky wrote:
 Windows 2k8 R2 guest with updated virtio drivers is idle inside but on
 the host qemu-kvm process uses 7-15% cpu.

 Things that have been tried without any significant success
 - removed tablet device
 - manually set cpu topology for cores per socket

 Is it just me or the qemu-kvm has little tolerance with windows?
 ___
 CentOS mailing list
 cen...@centos.org
 http://lists.centos.org/mailman/listinfo/centos


___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] [CentOS] qemu-kvm high cpu usage with idle windows guest

2013-04-07 Thread Zoltan Frombach
Check out these threads they may help you solve your issue with Windows VMs:

http://forum.proxmox.com/threads/5770-Windows-guest-high-context-switch-rate-when-idle

http://serverfault.com/questions/146922/why-is-idle-windows-vm-using-so-much-cpu

Zoltan

On 4/7/2013 5:18 PM, Banyan He wrote:
 Maybe you can print out what it is doing, then try to figure out if they
 are doing good. My linux works good, never tried windows.

 
 Banyan He
 Blog: http://www.rootong.com
 Email: ban...@rootong.com

 On 4/7/2013 10:21 PM, Micky wrote:
 Windows 2k8 R2 guest with updated virtio drivers is idle inside but on
 the host qemu-kvm process uses 7-15% cpu.

 Things that have been tried without any significant success
 - removed tablet device
 - manually set cpu topology for cores per socket

 Is it just me or the qemu-kvm has little tolerance with windows?
 ___
 CentOS mailing list
 cen...@centos.org
 http://lists.centos.org/mailman/listinfo/centos

 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt


___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] [CentOS] qemu-kvm high cpu usage with idle windows guest

2013-04-07 Thread Micky
On Sun, Apr 7, 2013 at 8:32 PM, Zoltan Frombach zol...@frombach.com wrote:
 Check out these threads they may help you solve your issue with Windows VMs:

Well I did. Upstream provides rpms till version 0.12.1.x. Even the
RHEV srpm (the one I am using) has the same version. And I don't want
to compile both libvirt and qemu-kvm from source since it is the
production machine.

 http://forum.proxmox.com/threads/5770-Windows-guest-high-context-switch-rate-when-idle

 http://serverfault.com/questions/146922/why-is-idle-windows-vm-using-so-much-cpu



 On 4/7/2013 5:18 PM, Banyan He wrote:
 Maybe you can print out what it is doing, then try to figure out if they
 are doing good. My linux works good, never tried windows.


Did. Nothing abnormal.
A quick perf shows this:

#     ..
..
#
 4.96%  qemu-kvm  [kvm]   [k] kvm_arch_vcpu_ioctl_run
 4.83%  qemu-kvm  [kvm_intel] [k] vmx_vcpu_run
 4.47%  qemu-kvm  [kernel.kallsyms]   [k] find_busiest_group
 3.23%  qemu-kvm  [kernel.kallsyms]   [k] _spin_lock
 3.10%  qemu-kvm  [kernel.kallsyms]   [k] native_write_msr_safe
 1.24%  qemu-kvm  [kernel.kallsyms]   [k] _spin_lock_irq
 1.22%  qemu-kvm  [kvm]   [k] paging64_walk_addr
 1.21%  qemu-kvm  [kvm]   [k] x86_decode_insn
 1.21%  qemu-kvm  [kvm_intel] [k] vmcs_writel

 Banyan He
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS] qemu-kvm high cpu usage with idle windows guest

2013-04-07 Thread Micky
Windows 2k8 R2 guest with updated virtio drivers is idle inside but on
the host qemu-kvm process uses 7-15% cpu.

Things that have been tried without any significant success
- removed tablet device
- manually set cpu topology for cores per socket

Is it just me or the qemu-kvm has little tolerance with windows?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm for Centos 5 x86

2012-03-16 Thread Johnny Hughes
On 03/16/2012 12:58 AM, Bob Puff wrote:
 Hey gang,

 I have been trying my hardest to get KVM running on a 32-bit CentOS 5.  I know
 upstream doesn't support it, but from what I gather, it *is* possible.

 I've tried downloading the KVM source, but get nailed on compile with:

   LINK  i386-softmmu/qemu
 make -C /lib/modules/2.6.18-308.1.1.el5PAE/build M=`pwd` \
 LINUXINCLUDE=-I`pwd`/include -Iinclude \
  -Iarch/x86/include -I`pwd`/include-compat \
 -include include/linux/autoconf.h \
 -include `pwd`/x86/external-module-compat.h  \
 $@
   LD  /usr/local/kvm-88/kvm/kernel/x86/built-in.o
   CC [M]  /usr/local/kvm-88/kvm/kernel/x86/svm.o
 In file included from
 /usr/local/kvm-88/kvm/kernel/x86/external-module-compat.h:16,
  from command line:1:
 /usr/local/kvm-88/kvm/kernel/x86/../external-module-compat-comm.h:551: error:
 static declaration of âcancel_work_syncâ follows non-static declaration
 include/linux/workqueue.h:117: error: previous declaration of cancel_work_sync
 was here
 In file included from
 /usr/local/kvm-88/kvm/kernel/x86/external-module-compat.h:16,
  from command line:1:
 /usr/local/kvm-88/kvm/kernel/x86/../external-module-compat-comm.h:607: error:
 expected identifier or ( before { token
 In file included from
 /usr/local/kvm-88/kvm/kernel/x86/external-module-compat.h:16,
  from command line:1:
 /usr/local/kvm-88/kvm/kernel/x86/../external-module-compat-comm.h:717: error:
 conflicting types for smp_call_function_many
 include/asm/smp.h:46: error: previous declaration of smp_call_function_many
 was here
 make[4]: *** [/usr/local/kvm-88/kvm/kernel/x86/svm.o] Error 1
 make[3]: *** [/usr/local/kvm-88/kvm/kernel/x86] Error 2
 make[2]: *** [_module_/usr/local/kvm-88/kvm/kernel] Error 2
 make[1]: *** [all] Error 2
 make: *** [kvm-kmod] Error 2


 Has anyone built RPM packages for this?  Ideas on how to compile?  I'm running
 the kernel: 2.6.18-308.1.1.el5PAE

There is no way you are going to build anything that new (kvm-88) for
the 2.6.18 kernel

The real problem is that RH has backported a bunch of items into the
2.6.18 kernel, otherwise you would not be able to attempt this at all.

KVM recommends at least a 2.6.20 kernel to use a very old version of KVM
(kvm-17):
http://www.linux-kvm.org/page/Choose_the_right_kvm_%26_kernel_version

I would look at this version:
http://vault.centos.org/5.6/centosplus/SRPMS/kvm-kmod-36-3.src.rpm

(which did work on i686)

I would see if I could look at what patches, etc, are in that SRPM and I
would see if I could do anything similar with newer versions of KVM.

BUT ... the bottom line is that if it was stable, Red Hat would release
it for RHEL.  Since they do not do so, it is likely not stable and
making it stable will likely be very difficult.  If if was not
difficult, then Red Hat would do  it for RHEL :D



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm for Centos 5 x86

2012-03-16 Thread Anton Zaytsev
On Fri, Mar 16, 2012 at 4:42 PM, Johnny Hughes joh...@centos.org wrote:
 On 03/16/2012 12:58 AM, Bob Puff wrote:
 Hey gang,

 I have been trying my hardest to get KVM running on a 32-bit CentOS 5.  I 
 know
 upstream doesn't support it, but from what I gather, it *is* possible.

 I've tried downloading the KVM source, but get nailed on compile with:

   LINK  i386-softmmu/qemu
 make -C /lib/modules/2.6.18-308.1.1.el5PAE/build M=`pwd` \
                 LINUXINCLUDE=-I`pwd`/include -Iinclude \
                  -Iarch/x86/include -I`pwd`/include-compat \
                 -include include/linux/autoconf.h \
                 -include `pwd`/x86/external-module-compat.h  \
                 $@
   LD      /usr/local/kvm-88/kvm/kernel/x86/built-in.o
   CC [M]  /usr/local/kvm-88/kvm/kernel/x86/svm.o
 In file included from
 /usr/local/kvm-88/kvm/kernel/x86/external-module-compat.h:16,
                  from command line:1:
 /usr/local/kvm-88/kvm/kernel/x86/../external-module-compat-comm.h:551: error:
 static declaration of âcancel_work_syncâ follows non-static declaration
 include/linux/workqueue.h:117: error: previous declaration of 
 cancel_work_sync
 was here
 In file included from
 /usr/local/kvm-88/kvm/kernel/x86/external-module-compat.h:16,
                  from command line:1:
 /usr/local/kvm-88/kvm/kernel/x86/../external-module-compat-comm.h:607: error:
 expected identifier or ( before { token
 In file included from
 /usr/local/kvm-88/kvm/kernel/x86/external-module-compat.h:16,
                  from command line:1:
 /usr/local/kvm-88/kvm/kernel/x86/../external-module-compat-comm.h:717: error:
 conflicting types for smp_call_function_many
 include/asm/smp.h:46: error: previous declaration of smp_call_function_many
 was here
 make[4]: *** [/usr/local/kvm-88/kvm/kernel/x86/svm.o] Error 1
 make[3]: *** [/usr/local/kvm-88/kvm/kernel/x86] Error 2
 make[2]: *** [_module_/usr/local/kvm-88/kvm/kernel] Error 2
 make[1]: *** [all] Error 2
 make: *** [kvm-kmod] Error 2


 Has anyone built RPM packages for this?  Ideas on how to compile?  I'm 
 running
 the kernel: 2.6.18-308.1.1.el5PAE

 There is no way you are going to build anything that new (kvm-88) for
 the 2.6.18 kernel

 The real problem is that RH has backported a bunch of items into the
 2.6.18 kernel, otherwise you would not be able to attempt this at all.

 KVM recommends at least a 2.6.20 kernel to use a very old version of KVM
 (kvm-17):
 http://www.linux-kvm.org/page/Choose_the_right_kvm_%26_kernel_version

 I would look at this version:
 http://vault.centos.org/5.6/centosplus/SRPMS/kvm-kmod-36-3.src.rpm

 (which did work on i686)

 I would see if I could look at what patches, etc, are in that SRPM and I
 would see if I could do anything similar with newer versions of KVM.

 BUT ... the bottom line is that if it was stable, Red Hat would release
 it for RHEL.  Since they do not do so, it is likely not stable and
 making it stable will likely be very difficult.  If if was not
 difficult, then Red Hat would do  it for RHEL :D


 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Hi, Ljubomir Ljubojevic has shared his repo, which has kvm-84 and
kmod-kvm-84 packages. They are perfectly fit latest kernel
2.6.18-308.1.1.el5 (not PAE).
I've installed them without issues. KVM module loads in the kernel. I
have not tried anything yet. But suppose it'll work.

http://rpms.plnet.rs/plnet-centos5-i386/RPMS.plnet/
http://rpms.plnet.rs/plnet-centos5-i386/RPMS.plnet-releases/plnet-ser-release-1.0-0.el5.noarch.rpm
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] qemu-kvm for Centos 5 x86

2012-03-15 Thread Bob Puff
Hey gang,

I have been trying my hardest to get KVM running on a 32-bit CentOS 5.  I know
upstream doesn't support it, but from what I gather, it *is* possible.

I've tried downloading the KVM source, but get nailed on compile with:

  LINK  i386-softmmu/qemu
make -C /lib/modules/2.6.18-308.1.1.el5PAE/build M=`pwd` \
LINUXINCLUDE=-I`pwd`/include -Iinclude \
 -Iarch/x86/include -I`pwd`/include-compat \
-include include/linux/autoconf.h \
-include `pwd`/x86/external-module-compat.h  \
$@
  LD  /usr/local/kvm-88/kvm/kernel/x86/built-in.o
  CC [M]  /usr/local/kvm-88/kvm/kernel/x86/svm.o
In file included from
/usr/local/kvm-88/kvm/kernel/x86/external-module-compat.h:16,
 from command line:1:
/usr/local/kvm-88/kvm/kernel/x86/../external-module-compat-comm.h:551: error:
static declaration of âcancel_work_syncâ follows non-static declaration
include/linux/workqueue.h:117: error: previous declaration of cancel_work_sync
was here
In file included from
/usr/local/kvm-88/kvm/kernel/x86/external-module-compat.h:16,
 from command line:1:
/usr/local/kvm-88/kvm/kernel/x86/../external-module-compat-comm.h:607: error:
expected identifier or ( before { token
In file included from
/usr/local/kvm-88/kvm/kernel/x86/external-module-compat.h:16,
 from command line:1:
/usr/local/kvm-88/kvm/kernel/x86/../external-module-compat-comm.h:717: error:
conflicting types for smp_call_function_many
include/asm/smp.h:46: error: previous declaration of smp_call_function_many
was here
make[4]: *** [/usr/local/kvm-88/kvm/kernel/x86/svm.o] Error 1
make[3]: *** [/usr/local/kvm-88/kvm/kernel/x86] Error 2
make[2]: *** [_module_/usr/local/kvm-88/kvm/kernel] Error 2
make[1]: *** [all] Error 2
make: *** [kvm-kmod] Error 2


Has anyone built RPM packages for this?  Ideas on how to compile?  I'm running
the kernel: 2.6.18-308.1.1.el5PAE

Thanks.

Bob




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] QEMU configuration not persistent

2012-02-14 Thread Paul Heinlein
On Mon, 13 Feb 2012, Emmett Culley wrote:

 Still doesn't persist.  Each time I reboot I have to use 
 virt-manager to change video to cirrus from vmvga, then remove the 
 IDE driver that points to the wrong storage location and add a new 
 virtio storage device pointing to the correct image (an LVM 
 partiiton).

 After I make the changes I close virt-manager and restart it, then 
 look at the configuration for the non-persistent VM, and my changes 
 are still there and I can run the VM.

 I did a grep vmvga on the entire /etc/libvirt directory tree and 
 found no references to vmvga.  Where can libvirt be getting info 
 to change the xml to vmvga, or the IDE to the wrong location?

I've not seen these symptoms, so I can only outline the sorts of steps 
I'd take in troubleshooting. First, I'd check for SELinux issues:

1. Run fixfiles check /etc to see if a configuration file is
mislabled.

2. Do the same thing on /var to see if any runtime files have
issues.

3. Run ausearch -m avc and grep for qemu or libvirt issues.

After that, I'd get more drastic:

1. virsh shutdown $DOM.
2. virsh dumpxml $DOM  /tmp/dom.xml
3. virsh undefine $DOM
4. virsh create /tmp/dom.xml
5. virsh edit $DOM
6. virsh start $DOM --console

And then see if things get better.

-- 
Paul Heinlein  heinl...@madboa.com  http://www.madboa.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] QEMU configuration not persistent

2012-02-14 Thread Florian La Roche
 After that, I'd get more drastic:
 
 1. virsh shutdown $DOM.
 2. virsh dumpxml $DOM  /tmp/dom.xml
 3. virsh undefine $DOM
 4. virsh create /tmp/dom.xml
 5. virsh edit $DOM
 6. virsh start $DOM --console
 
 And then see if things get better.

I just edit the xml files and then issue a virsh define file.xml
to reload the newest version. (Doing this with the VM shutdown.)

This has always worked ok for me.

best regards,

Florian La Roche

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] QEMU configuration not persistent

2012-02-13 Thread Emmett Culley
Since switching from CentOS 5.7 to CentOS 6.x I find that one of the VMs will 
not restart upon system reboot.  I finally figured out that  the 
video is always set to vmvga after rebooting.   In addition the VM's storage 
always reverts back to IDE from virtio and is set to use the wrong image.

It may be related to the fact that I moved the XML files that defined the VMs 
from the old (CentOS 5.7) /etc/libvirt/qemu directory to the new (CentOS 6.2) 
/etc/libvirt/qemu directory.  The images are stored is the same LVM partitions 
as they were on the CentOS 5.7

Any ideas why a VM would revert back?  I've checked the XML file before 
rebooting and it always has the correct info in it, until after the 
reboot. 

Emmett
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] QEMU configuration not persistent

2012-02-13 Thread Ljubomir Ljubojevic
On 02/13/2012 11:18 PM, Emmett Culley wrote:
 Since switching from CentOS 5.7 to CentOS 6.x I find that one of the VMs will 
 not restart upon system reboot.  I finally figured out that  the 
 video is always set to vmvga after rebooting.   In addition the VM's storage 
 always reverts back to IDE from virtio and is set to use the wrong image.

 It may be related to the fact that I moved the XML files that defined the VMs 
 from the old (CentOS 5.7) /etc/libvirt/qemu directory to the new (CentOS 6.2) 
 /etc/libvirt/qemu directory.  The images are stored is the same LVM 
 partitions as they were on the CentOS 5.7

 Any ideas why a VM would revert back?  I've checked the XML file before 
 rebooting and it always has the correct info in it, until after the
 reboot.


Do you shutdown that guest system prior to XML changes?

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] QEMU configuration not persistent

2012-02-13 Thread Paul Heinlein
On Mon, 13 Feb 2012, Emmett Culley wrote:

 Since switching from CentOS 5.7 to CentOS 6.x I find that one of the 
 VMs will not restart upon system reboot.  I finally figured out that 
 the video is always set to vmvga after rebooting.  In addition the 
 VM's storage always reverts back to IDE from virtio and is set to 
 use the wrong image.

 It may be related to the fact that I moved the XML files that 
 defined the VMs from the old (CentOS 5.7) /etc/libvirt/qemu 
 directory to the new (CentOS 6.2) /etc/libvirt/qemu directory.  The 
 images are stored is the same LVM partitions as they were on the 
 CentOS 5.7

 Any ideas why a VM would revert back?  I've checked the XML file 
 before rebooting and it always has the correct info in it, until 
 after the reboot.

Did you copy the XML file from the 5.7 host to 6.3 host as-is or did 
you edit it at all during the migration?

I've found that I need either to run virsh define $DOM.xml and then 
start the new domain or run virsh create $DOM.xml and then, once 
it's running, make a trivial change (usually adding an XML comment) to 
the configuration via virsh edit $DOM to get things to stick.

-- 
Paul Heinlein  heinl...@madboa.com  http://www.madboa.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] QEMU configuration not persistent

2012-02-13 Thread Emmett Culley
On 02/13/2012 03:49 PM, Paul Heinlein wrote:
 On Mon, 13 Feb 2012, Emmett Culley wrote:
 
 Since switching from CentOS 5.7 to CentOS 6.x I find that one of the
 VMs will not restart upon system reboot.  I finally figured out that
 the video is always set to vmvga after rebooting.  In addition the
 VM's storage always reverts back to IDE from virtio and is set to
 use the wrong image.

 It may be related to the fact that I moved the XML files that
 defined the VMs from the old (CentOS 5.7) /etc/libvirt/qemu
 directory to the new (CentOS 6.2) /etc/libvirt/qemu directory.  The
 images are stored is the same LVM partitions as they were on the
 CentOS 5.7

 Any ideas why a VM would revert back?  I've checked the XML file
 before rebooting and it always has the correct info in it, until
 after the reboot.
 
 Did you copy the XML file from the 5.7 host to 6.3 host as-is or did
 you edit it at all during the migration?
 
 I've found that I need either to run virsh define $DOM.xml and then
 start the new domain or run virsh create $DOM.xml and then, once
 it's running, make a trivial change (usually adding an XML comment) to
 the configuration via virsh edit $DOM to get things to stick.
 
I did copy the XML files to the 6.2 machine.  Then when I found that the VMs 
would not start because they were set to vmvga video, which doesn't seem to be 
supported anymore, I changed the XML files to cirrus.

Then I tried editing the VM using virsh, but still it doesn't persist.  

Hmm. There is only one of the VMs that doesn't persist so I'll try using virsh 
edit again on that one and make a change as you suggest, just in case I never 
really changed anything for that VM using virsh edit.

Thanks,
  Emmett
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] QEMU configuration not persistent

2012-02-13 Thread Emmett Culley
On 02/13/2012 04:24 PM, Emmett Culley wrote:
 On 02/13/2012 03:49 PM, Paul Heinlein wrote:
 On Mon, 13 Feb 2012, Emmett Culley wrote:

 Since switching from CentOS 5.7 to CentOS 6.x I find that one of the
 VMs will not restart upon system reboot.  I finally figured out that
 the video is always set to vmvga after rebooting.  In addition the
 VM's storage always reverts back to IDE from virtio and is set to
 use the wrong image.

 It may be related to the fact that I moved the XML files that
 defined the VMs from the old (CentOS 5.7) /etc/libvirt/qemu
 directory to the new (CentOS 6.2) /etc/libvirt/qemu directory.  The
 images are stored is the same LVM partitions as they were on the
 CentOS 5.7

 Any ideas why a VM would revert back?  I've checked the XML file
 before rebooting and it always has the correct info in it, until
 after the reboot.

 Did you copy the XML file from the 5.7 host to 6.3 host as-is or did
 you edit it at all during the migration?

 I've found that I need either to run virsh define $DOM.xml and then
 start the new domain or run virsh create $DOM.xml and then, once
 it's running, make a trivial change (usually adding an XML comment) to
 the configuration via virsh edit $DOM to get things to stick.

 I did copy the XML files to the 6.2 machine.  Then when I found that the VMs 
 would not start because they were set to vmvga video, which doesn't seem to 
 be supported anymore, I changed the XML files to cirrus.
 
 Then I tried editing the VM using virsh, but still it doesn't persist.
 
 Hmm. There is only one of the VMs that doesn't persist so I'll try using 
 virsh edit again on that one and make a change as you suggest, just in case I 
 never really changed anything for that VM using virsh edit.
 
 Thanks,
Emmett
Still doesn't persist.  Each time I reboot I have to use virt-manager to change 
video to cirrus from vmvga, then remove the IDE driver that points to the wrong 
storage location and add a new virtio storage device pointing to the correct 
image (an LVM partiiton).

After I make the changes I close virt-manager and restart it, then look at the 
configuration for the non-persistent VM, and my changes are still there and I 
can run the VM.

I did a grep vmvga on the entire /etc/libvirt directory tree and found no 
references to vmvga.  Where can libvirt be getting info to change the xml to 
vmvga, or the IDE to the wrong location?

Emmett

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm failed after update from CR repo

2011-12-02 Thread Nataraj
On 11/28/2011 10:38 AM, Emmett Culley wrote:
 I finally decided to install the CR repo on one of my CentOS 6 machines that 
 I use as a host for some VMs (also running CentOS 6).

 Before updating the host I updated a VM that was not critical to test the 
 process and was able to boot that VM, so I went ahead with updating the host 
 and the two VMs that were in use.

 When I rebooted the host none of the VM would start.  

 Once I figured out that it had to be the host I started downgrading the 
 virtual packages.  I was finally able to get the VMs to boot after 
 dwongrading qemu-kvm.

 Has anyone else seen this?

 Emmett
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
Not sure if this is related, but I have a redhat server and after I
upgraded from 6.0 to 6.1 libvirtd fails to start, probably due to some
dependancy on another process which is not running yet, but when I start
it manually after initial boot, it comes up.  I have not had time to
troubleshoot further.

Nataraj

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm failed after update from CR repo

2011-11-29 Thread Lars Hecking
 
 kernel-2.6.32-131.17.1.el6.x86_64 (after update and currently)
 
 Maybe you're running into this issue?

  http://lists.centos.org/pipermail/centos-virt/2011-November/002713.html

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm failed after update from CR repo

2011-11-29 Thread Emmett Culley
On 11/29/2011 01:47 AM, Lars Hecking wrote:
 
 kernel-2.6.32-131.17.1.el6.x86_64 (after update and currently)
 
   Maybe you're running into this issue?
 
http://lists.centos.org/pipermail/centos-virt/2011-November/002713.html
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 
 
I doubt that.  All VMs are booting now with the latest CR kernel 
(2.6.32-131.17.1).  And it appears that bug is about xen not qemu.

I will clone the host and experiment some to narrow down the problem to a 
specific package.  Right now none of the CR repo libvirt or qemu packages are 
installed on the host.  So I really do not know for sure which is the bad guy.

Emmett

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] qemu-kvm failed after update from CR repo

2011-11-28 Thread Emmett Culley
I finally decided to install the CR repo on one of my CentOS 6 machines that I 
use as a host for some VMs (also running CentOS 6).

Before updating the host I updated a VM that was not critical to test the 
process and was able to boot that VM, so I went ahead with updating the host 
and the two VMs that were in use.

When I rebooted the host none of the VM would start.  

Once I figured out that it had to be the host I started downgrading the virtual 
packages.  I was finally able to get the VMs to boot after dwongrading qemu-kvm.

Has anyone else seen this?

Emmett
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm failed after update from CR repo

2011-11-28 Thread Akemi Yagi
On Mon, Nov 28, 2011 at 10:38 AM, Emmett Culley emm...@webengineer.com wrote:
 I finally decided to install the CR repo on one of my CentOS 6 machines that 
 I use as a host for some VMs (also running CentOS 6).

 Before updating the host I updated a VM that was not critical to test the 
 process and was able to boot that VM, so I went ahead with updating the host 
 and the two VMs that were in use.

 When I rebooted the host none of the VM would start.

 Once I figured out that it had to be the host I started downgrading the 
 virtual packages.  I was finally able to get the VMs to boot after 
 dwongrading qemu-kvm.

 Has anyone else seen this?

You might want to provide more detailed info. What is the version of
qemu-kvm that worked/failed ? What is the kernel version? When the VM
guests failed to start, did you see any error message?

Also, VM-related questions may be better discussed on the cent-virt
mailing list.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm failed after update from CR repo

2011-11-28 Thread Emmett Culley
On 11/28/2011 02:48 PM, Akemi Yagi wrote:
 On Mon, Nov 28, 2011 at 10:38 AM, Emmett Culleyemm...@webengineer.com  
 wrote:
 I finally decided to install the CR repo on one of my CentOS 6 machines that 
 I use as a host for some VMs (also running CentOS 6).

 Before updating the host I updated a VM that was not critical to test the 
 process and was able to boot that VM, so I went ahead with updating the host 
 and the two VMs that were in use.

 When I rebooted the host none of the VM would start.

 Once I figured out that it had to be the host I started downgrading the 
 virtual packages.  I was finally able to get the VMs to boot after 
 dwongrading qemu-kvm.

 Has anyone else seen this?
 
 You might want to provide more detailed info. What is the version of
 qemu-kvm that worked/failed ? What is the kernel version? When the VM
 guests failed to start, did you see any error message?
 
 Also, VM-related questions may be better discussed on the cent-virt
 mailing list.
 
 Akemi
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 
 
kernel-2.6.32-131.17.1.el6.x86_64 (after update and currently)

After update:

qemu-kvm-0.12.1.2-2.160.el6_1.8.x86_64

After downgrade:

qemu-kvm-0.12.1.2-2.113.el6_0.8.x86_64

Prior to installing the CR repo the host was up to date with the CentOS base 
and updates repos (not many packages different from the release ISO).  After, 
it was up to date with the CR repo and the VM would not start.  The host is now 
up to date with the CR repo except that libvirt* pyton-libvirt and qemu-kvm 
have all been downgraded to what was up to date for the CentOS base and updates 
repos.

By won't boot I mean that running a VM via virt-manager showed only a black 
screen with the CPU usage graphic in virt-manager at a steady state.  No error 
messages, only a black screen.

If no one else has seen this I will look to the cent-virt mailing list as 
suggested.  I am assuming however, that this is a CR repo issue.

Emmett

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] qemu on centos with a xen kernel

2011-08-06 Thread mattias
not work
something about a bug in the virtual bios

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] qemu-kvm update from 0.12.5 to 0.14 on centos 5.6

2011-04-29 Thread Jerry Geis
Hi all

I just update the package above. on 0.12 my qemu window opened on my X 
server as a window.
Now it starting in a VNC session.

How do I get it back to opening in a window on the X screen as the default?

Thanks,

Jerry
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm update from 0.12.5 to 0.14 on centos 5.6

2011-04-29 Thread Rajagopal Swaminathan
Plz rfr to othr lis
t


On 4/30/11, Jerry Geis ge...@pagestation.com wrote:
 Hi all

 I just update the package above. on 0.12 my qemu window opened on my X
 server as a window.
 Now it starting in a VNC session.

 How do I get it back to opening in a window on the X screen as the default?

 Thanks,

 Jerry
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



-- 
Regards,

Rajagopal
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


  1   2   >