Re: [CentOS-virt] CentOS 8 Install as DOMU in PV Environment

2020-09-28 Thread Christoph

AFAIK the support for Xen would not be available in CentOS 8 (Red Hat
has dropped the support).
You can see the differences between the modes here:
https://wiki.xen.org/wiki/Xen_Project_Software_Overview#Guest_Types
PVH seems still to be the fastest one...
You can use the kernel if you add the elrepo kernel repo to the host.
You can find the informations how to do it here:
https://elrepo.org/tiki/kernel-ml
After adding the repo you can install the elrepo kernel like an other
rpm package with "dnf install kernel-ml".
AFAIK this kernel supports all the modes of xen (HVM, PV, PVH etc)

A short howto without details:
1. Start the DomU in HVM mode
2. Install the repo and the kernel-ml pkg
3. Make the kernel-ml as default kernel
4. Reboot the DomU in PVH mode.

The requirement for this is a xen hypervisor install with a grub for xen
what support boot of such a DomU.
The CentOS 8 pkgs from Steven repo ("Xen made easy" project) doesnt have
such a grub bin. I've build it for me here and can share it with you if
you want.

You can of course use CentOS 7 as far as you dont need a newer versions
of the services/applications etc...

A simpler solution is to use Citrix XenServer but not all features are
for free...

---
--
Greetz

Am 27.09.2020 22:23, schrieb 9f9dcad3f78905b03...@bcirpg.com:

Christoph,

I understand this is the better option if HVM is available.. Im not
sure how to make use of this kernel in a non-HVM, PV environment. I'm
a little disturbed by the fact that there isnt PV support in CentOS 8,
I hope it comes later so at least PVH becomes an option.

As for using this kernel in a PV only environment, the only route
would be attempting an in place upgrade and try to install it as part
of the upgrade. I am not willing to spend the time to do this and will
use Centos 7 or other operating systems instead.


Thanks.



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


Re: [CentOS-virt] CentOS 8 Install as DOMU in PV Environment

2020-09-20 Thread Christoph

the fastest/best mode is still pvh... use the kernel from elrepo it
supports the mode

---
--
Greetz

Am 19.09.2020 19:08, schrieb Radosław Piliszek:

Hi,

In general, PV tends not to be supported in newer distribution
releases.
This is mostly due to HVM performance and flexibility nowadays, which
just was not the case back in the days when PV ruled.

I am curious why you are trying PV.

-yoctozepto

On Sat, Sep 19, 2020 at 6:41 PM 9f9dcad3f78905b03201--- via
CentOS-virt  wrote:


All,

Just wanted to check one last time before letting this thread die.

I am curious if anyone has gotten CentOS 8 to work in a PV Xen
environment.


Thanks.


<9f9dcad3f78905b03...@bcirpg.com> wrote:
>All,
>
>I have successfully installed CentOS 7 on a PV environment, and have been 
trying to see if I can can get a CentOS 8 install running.
>
>Hardware does not support virtualization extensions, hence the PV environment 
and I cant do HVM for the install then migrate.
>
>My understanding is that PV support is in the kernel, and that the distro of Linux 
shouldn't technically matter. But currently when trying to "PXEBoot" 
using a CentOS 8 kernel and ram image I get a near instant crash for an invalid kernel.
>
>I tried to get around the issue by using DOM0 kernel and Ram Disk for the 
install (DOM0 is Debian 10), having the boot progress until it reaches the 
following, looping ISCSI error:
>
>>[  OK  ] Reached target Slices.
>> Starting Create Static Device Nodes in /dev...
>>[  OK  ] Started iSCSI UserSpace I/O driver.
>>[  OK  ] Started Setup Virtual Console.
>> Starting dracut cmdline hook...
>>[  OK  ] Started Apply Kernel Variables.
>>[  OK  ] Stopped iSCSI UserSpace I/O driver.
>> Starting iSCSI UserSpace I/O driver...
>
>I have also tried the CentOS 7 kernel Ram Disk with the same results.
>
>I even tried installing CentOS 7 clean, then upgrading in place (by unofficial 
and unsupported means) and was left with an error that pygrub couldnt find the 
partition with the kernel.
>
>Is this is a bug, or is PV just not supported? Or am I doing something wrong?
>
>Config for the install is below:
>
>># Kernel paths for install
>>#kernel = "/var/opt/xen/ISO_Store/Centos8PXEBoot/vmlinuz"
>>kernel = "/vmlinuz"
>>#ramdisk = "/var/opt/xen/ISO_Store/Centos8PXEBoot/initrd.img"
>>ramdisk = "/initrd.img"
>>extra="modules=loop,squashfs console=hvc0"
>>
>># Path to HDD and iso file
>>disk = [
>>#'file:/vmdisk0,xvda,w'
>>'format=raw, vdev=xvda, access=w, 
target=/dev/mapper/vg_1-virtualmachine',
>>   ]
>>
>>extra="ksdevice= 
inst.repo=https://mirror.jaleco.com/centos/8.2.2004/isos/x86_64/ nameserver=1.1.1.1"
>>
>># Network configuration
>>vif = ['bridge=xenbr0']
>>
>>#DomU Settings
>>memory = 3072
>>name = "centos-8.2"
>
>Thank you to all.
>___
>CentOS-virt mailing list
>CentOS-virt@centos.org
>https://lists.centos.org/mailman/listinfo/centos-virt
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt

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

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


Re: [CentOS-virt] CentOS 8 Install as DOMU in PV Environment

2020-09-20 Thread Christoph

use the kernel from elrepo, it has xen support build in...

---
--
Greetz

Am 19.09.2020 19:26, schrieb Chris Wik:

We tried to get CentOS 8 domU working in PV mode as well but did not
have any success and ended up deploying it in HVM mode.

The reason OP have was lack of hardware support for HVM. This wasn't
our rationale for wanting to run in PV mode. Our rationale was that we
prefer to deploy CentOS 7 VMs on LVs which are formatted and deployed
from an image on dom0 and don't have any partition table. This makes
snapshotting, mounting, backing up and migrating very simple. We have
written a number of scripts over the years that needed extensive
modification to work with HVM VMs but in the end we ended up doing it
because we couldn't get PV mode working. And we accepted that HVM is
the future so might as well take the opportunity to adapt our ways.

If anyone manages to get PV mode working I'd still like to know.

Chris

On September 19, 2020 7:08:28 PM GMT+02:00, "Radosław Piliszek"
 wrote:


Hi,

In general, PV tends not to be supported in newer distribution
releases.
This is mostly due to HVM performance and flexibility nowadays,
which
just was not the case back in the days when PV ruled.

I am curious why you are trying PV.

-yoctozepto

On Sat, Sep 19, 2020 at 6:41 PM 9f9dcad3f78905b03201--- via
CentOS-virt  wrote:

All,

Just wanted to check one last time before letting this thread die.

I am curious if anyone has gotten CentOS 8 to work in a PV Xen
environment.

Thanks.

<9f9dcad3f78905b03...@bcirpg.com> wrote:
All,

I have successfully installed CentOS 7 on a PV environment, and have
been trying to see if I can can get a CentOS 8 install running.

Hardware does not support virtualization extensions, hence the PV
environment and I cant do HVM for the install then migrate.

My understanding is that PV support is in the kernel, and that the
distro of Linux shouldn't technically matter. But currently when
trying to "PXEBoot" using a CentOS 8 kernel and ram image
I get a near instant crash for an invalid kernel.

I tried to get around the issue by using DOM0 kernel and Ram Disk
for the install (DOM0 is Debian 10), having the boot progress until
it reaches the following, looping ISCSI error:

>[ OK ] Reached target Slices.
> Starting Create Static Device Nodes in /dev...
>[ OK ] Started iSCSI UserSpace I/O driver.
>[ OK ] Started Setup Virtual Console.
> Starting dracut cmdline hook...
>[ OK ] Started Apply Kernel Variables.
>[ OK ] Stopped iSCSI UserSpace I/O driver.
> Starting iSCSI UserSpace I/O driver...

I have also tried the CentOS 7 kernel Ram Disk with the same
results.

I even tried installing CentOS 7 clean, then upgrading in place (by
unofficial and unsupported means) and was left with an error that
pygrub couldnt find the partition with the kernel.

Is this is a bug, or is PV just not supported? Or am I doing
something wrong?

Config for the install is below:

># Kernel paths for install
>#kernel =
"/var/opt/xen/ISO_Store/Centos8PXEBoot/vmlinuz"
>kernel = "/vmlinuz"
>#ramdisk =
"/var/opt/xen/ISO_Store/Centos8PXEBoot/initrd.img"
>ramdisk = "/initrd.img"
>extra="modules=loop,squashfs console=hvc0"
>
># Path to HDD and iso file
>disk = [
> #'file:/vmdisk0,xvda,w'
> 'format=raw, vdev=xvda, access=w,
target=/dev/mapper/vg_1-virtualmachine',
> ]
>
>extra="ksdevice=
inst.repo=https://mirror.jaleco.com/centos/8.2.2004/isos/x86_64/
nameserver=1.1.1.1 [1]"
>
># Network configuration
>vif = ['bridge=xenbr0']
>
>#DomU Settings
>memory = 3072
>name = "centos-8.2"

Thank you to all.

-

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

-

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


-

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

--
Chris Wik
Anu Internet Services
www.cwik.ch [2] | www.anu.net [3]

Links:
--
[1] http://1.1.1.1
[2] http://www.cwik.ch
[3] http://www.anu.net
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt

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


Re: [CentOS-virt] xen hvm domU and > 3 nic's... bug?

2020-02-27 Thread Christoph

It seems to be a problem with kernel... I use the kernel-ml there
(5.5.6)... with kernel from centos-virt repo (4.9.*) it works without
this problem...

---
--
Greetz

Am 27.02.2020 07:50, schrieb Christoph:

Hi

I cant start a hvm domU with more than 3 nic's configured... why? it is
a bug?
With previous versions it was possible...

here the config - it is an opnsense (openbsd) hvm domU:

name = "fenrir.chao5.int"
uuid = "7aedcd03-54e8-4055-8d1b-37dd34194859"
maxmem = 2048
memory = 2048
loader = '/usr/lib64/xen/boot/hvmloader'
type = "hvm"
vcpus = 2
rtc_timeoffset = 0
localtime = 1
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
vnc = 1
vncunused = 0
vncdisplay = 100
vnclisten = "0.0.0.0"
keymap = "de"
vif = [
"mac=00:16:3e:05:30:04,bridge=xenbr5,script=vif-bridge,model=e1000",
"mac=00:16:3e:04:30:04,bridge=xenbr4,script=vif-bridge,model=e1000",
"mac=00:16:3e:15:30:04,bridge=xenbr15,script=vif-bridge,model=e1000",
"mac=00:16:3e:14:30:04,bridge=xenbr14,script=vif-bridge,model=e1000" ]
parallel = "none"
serial = "none"
disk = [ "phy:/dev/vg_lamia/lv_fenrir_root,hda,rw",
 "phy:/dev/vg_lamia/lv_fenrir_swap,hdb,rw" ]
pci_power_mgmt=1
xen_platform_pci=1
pci_msitranslate=1
viridian=0
hpet=1
acpi=1
apic=1
pae=1
pvh=1

with 3 nic's it does work...
--
--
Greetz
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt

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


[CentOS-virt] pvh domU and pvgrub with grub2

2020-02-26 Thread Christoph

Hi

it is meanwhile possible to use pvgrub/grub2 inside a pvh domU?
--
--
Greetz
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] xen hvm domU and > 3 nic's... bug?

2020-02-26 Thread Christoph

Hi

I cant start a hvm domU with more than 3 nic's configured... why? it is
a bug?
With previous versions it was possible...

here the config - it is an opnsense (openbsd) hvm domU:

name = "fenrir.chao5.int"
uuid = "7aedcd03-54e8-4055-8d1b-37dd34194859"
maxmem = 2048
memory = 2048
loader = '/usr/lib64/xen/boot/hvmloader'
type = "hvm"
vcpus = 2
rtc_timeoffset = 0
localtime = 1
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
vnc = 1
vncunused = 0
vncdisplay = 100
vnclisten = "0.0.0.0"
keymap = "de"
vif = [
"mac=00:16:3e:05:30:04,bridge=xenbr5,script=vif-bridge,model=e1000",
"mac=00:16:3e:04:30:04,bridge=xenbr4,script=vif-bridge,model=e1000",
"mac=00:16:3e:15:30:04,bridge=xenbr15,script=vif-bridge,model=e1000",
"mac=00:16:3e:14:30:04,bridge=xenbr14,script=vif-bridge,model=e1000" ]
parallel = "none"
serial = "none"
disk = [ "phy:/dev/vg_lamia/lv_fenrir_root,hda,rw",
 "phy:/dev/vg_lamia/lv_fenrir_swap,hdb,rw" ]
pci_power_mgmt=1
xen_platform_pci=1
pci_msitranslate=1
viridian=0
hpet=1
acpi=1
apic=1
pae=1
pvh=1

with 3 nic's it does work...
--
--
Greetz
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] pvh domU and pvgrub with grub2

2020-02-25 Thread Christoph

Hi

it is meanwhile possible to use pvgrub/grub2 inside a pvh domU?
--
--
Greetz
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] xen hvm domU and > 3 nic's... bug?

2020-02-24 Thread Christoph

Hi

I cant start a hvm domU with more than 3 nic's configured... why? it is
a bug?
With previous versions it was possible...

here the config - it is an opnsense (openbsd) hvm domU:

name = "fenrir.chao5.int"
uuid = "7aedcd03-54e8-4055-8d1b-37dd34194859"
maxmem = 2048
memory = 2048
loader = '/usr/lib64/xen/boot/hvmloader'
type = "hvm"
vcpus = 2
rtc_timeoffset = 0
localtime = 1
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
vnc = 1
vncunused = 0
vncdisplay = 100
vnclisten = "0.0.0.0"
keymap = "de"
vif = [
"mac=00:16:3e:05:30:04,bridge=xenbr5,script=vif-bridge,model=e1000",
"mac=00:16:3e:04:30:04,bridge=xenbr4,script=vif-bridge,model=e1000",
"mac=00:16:3e:15:30:04,bridge=xenbr15,script=vif-bridge,model=e1000",
"mac=00:16:3e:14:30:04,bridge=xenbr14,script=vif-bridge,model=e1000" ]
parallel = "none"
serial = "none"
disk = [ "phy:/dev/vg_lamia/lv_fenrir_root,hda,rw",
 "phy:/dev/vg_lamia/lv_fenrir_swap,hdb,rw" ]
pci_power_mgmt=1
xen_platform_pci=1
pci_msitranslate=1
viridian=0
hpet=1
acpi=1
apic=1
pae=1
pvh=1

with 3 nic's it does work...
--
--
Greetz
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Xen Version update policy

2019-12-13 Thread Christoph

It seems to rh/centos has removed the xen code from their kernels... I
was able to boot centos8 as domU but only with an elrepo kernel...
Look at elrepo kernel I think it should do as dom0 to...

---
--
Greetz

Am 13.12.2019 13:41, schrieb Steven Haigh:

The latest bunch of test packages are available here:
http://au1.mirror.crc.id.au/repo/el8/x86_64/

Hopefully, as of a few hours ago, this set should actually install.

Currently, networking won't work as they require brctl - which isn't
in EL8. I've written patches for this, but they'll probably end up
being part of a cleanup of everything in /etc/xen/scripts/

Problem is, they're probably too late for the 4.13.0 release - so I'll
have to carry them myself for a while until they hit the git staging
area within Xen.

I don't have a kernel capable of being a Dom0 as yet - so that's still
at a roll your own or obtain elsewhere status.

The source for all this is here:
https://git.crc.id.au/netwiz/xen413

Yes, I take patches.

Steven Haigh

📧 net...@crc.id.au 💻 https://www.crc.id.au

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


Re: [CentOS-virt] Xen Version update policy

2019-12-13 Thread Christoph

hi

if you need someone to test the centos8 pkgs, Im interested :)

---
--
Greetz

Am 13.12.2019 01:31, schrieb Steven Haigh:

On 2019-12-13 04:54, Kevin Stange wrote:

I don't want to burden Steven Haigh any, but I wonder if there's a way
we could combine some of our efforts to make both "Xen made easy!" and
the Virt SIG Xen easier to manage.


I've been thinking about this for a while. The problem has been the
workflows between myself and the SIG are so far apart, its hard to
look at how to merge them.

I have full CI between my own git and packages to the mirrors - which
is good, but has its down sides. I also don't have the restrictions of
the CentOS build system to deal with - which is great for my workflow
;)

I'm prepping packages for CentOS 8 now - but its exposing quite a
number of problems around the main toolsets for Xen - and instead of
just adding my own patch and moving on (ala Fedora's Xen packages),
I'm trying to get fixes in upstream where possible.

My todo list currently includes:
1) Replace all #! that include env python to a specific python
version/binary. ie /usr/bin/python or /usr/bin/python3. The configure
portions of this are complete, but the scripts need to be altered to
have the detected python version populated.

2) There's no brctl in CentOS 8. The network scripts need to be
re-written to use 'ip' instead. To maintain compatibility, the network
scripts need to support both brctl and ip commands and use whichever
is present on the system.

3) UEFI support needs to be tested. The preferred UEFI boot method for
Dom0 is to use grub to then boot Xen - but this needs to be tested.

So while me moving to try and get these fixed upstream is great - it
should make everyone's job easier in the long term. Although I have
the same problem as the SIG - there's just not enough people to test /
patch stuff. The more we deep dive into 4.13, the further away I can
see the release happening :(

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


[CentOS-virt] xen 4.11

2019-01-04 Thread Christoph

Hi

is there a reason why xen 4.11 isnt released for centos7 (I cant find it 
on http://mirror.centos.org/centos/7/virt/)?

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


[CentOS-virt] xen and libvirt

2019-01-04 Thread Christoph

Hi

Does someone know how it is possible these parameters:

e820_host
max_grant_frames

to set with libvirt xml config?

I use them with xl config but I want to change to libvirt config/tools.
(with libvirt 4.10 it is possible to start pvh domains)

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


[CentOS-virt] Wich tuned profile for Dom0 and DomU

2018-12-31 Thread Christoph

Hi

wich tuned profile are the best for dom0 and domU?
There are virt-host and virt-guest profiles for kvm, should I use them?
If yes, should I use in domU ever virt-guest or is for example 
network-throughput profile better for a nfs/samba fs server inside domU 
better?


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


Re: [CentOS-virt] how to update ucode with xen

2018-09-19 Thread Christoph

it is working thx a lot...

but it has included the GenuineIntel.bin only in actually used kernel... 
do I need to reinstall microcode_ctl every time I update the kernel?
And second question, I quess I still need the ucode = scan as xen 
parameter right?


Am 2018-09-19 20:08, schrieb Kevin Stange:

On 9/19/18 1:55 AM, Christoph wrote:


Hi

can someone say me how to update the µcode of the cpu with xen?

I have added the ucode=scan parameter to xen but it does not seem to
work...

the µcode version of my xeon is really old :/

model name    : Intel(R) Xeon(R) CPU E3-1271 v3 @ 3.60GHz
microcode    : 0x10



There is a "caveat" in the current version of microcode_ctl which means
it doesn't automatically install the microcode into the initramfs if 
the

kernel isn't "known good" because of various issues with Linux kernel
patches being needed for certain microcode features.  There is a quick
way to get it to force the microcode into the initramfs of any kernel:

mkdir -p /etc/microcode_ctl/ucode_with_caveats/
touch /etc/microcode_ctl/ucode_with_caveats/force

This only works with the most recent version of microcode_ctl
(2.1-29.16.el7_5.x86_64).  If you do this, you can then run 'yum
reinstall microcode_ctl' and you should get the microcode in the
initramfs after it finishes.  Note that this will cause it to trust ALL
kernels and all microcode versions which might not always be a good
thing.  See this file for info:

/usr/share/doc/microcode_ctl/README.caveats

You can test that the initramfs has the microcode by running cpio:

cpio -t < /boot/initramfs-4.9.112-32.el7.x86_64.img

If there is a GenuineIntel.bin you should be good.  If you get spammed
with errors, then it isn't included.


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


Re: [CentOS-virt] how to update ucode with xen

2018-09-19 Thread Christoph

Can you write a howto for this?

Am 2018-09-19 19:50, schrieb Sarah Newman:

On 09/18/2018 11:55 PM, Christoph wrote:


Hi

can someone say me how to update the µcode of the cpu with xen?

I have added the ucode=scan parameter to xen but it does not seem to 
work...


the µcode version of my xeon is really old :/

model name    : Intel(R) Xeon(R) CPU E3-1271 v3 @ 3.60GHz
microcode    : 0x10



We use ucode=-1 and provide it as a module for grub.


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


[CentOS-virt] how to update ucode with xen

2018-09-18 Thread Christoph


Hi

can someone say me how to update the µcode of the cpu with xen?

I have added the ucode=scan parameter to xen but it does not seem to 
work...


the µcode version of my xeon is really old :/

model name  : Intel(R) Xeon(R) CPU E3-1271 v3 @ 3.60GHz
microcode   : 0x10

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


[CentOS-virt] optimal windows xml config for xen

2017-04-14 Thread Christoph


Hi

I use this config to start win7 64bit via virsh:


  marax
  6df7f16c-50e1-4541-b5b1-a91ff675a7c2
  2097152
  2097152
  8
  
hvm
/usr/lib64/xen/boot/hvmloader

  
  




  
  
  destroy
  restart
  restart
  

  
  
  
  
  


  
  
  
  
  



  
  
  
  





  

  


it is optimal for win7? does someone see any options what I could make 
better?


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


[CentOS-virt] grub2 for pv

2017-02-21 Thread Christoph


Hi

could you add pv grub2 images to the packages?

I've tried it following this howto: 
https://blog.xenproject.org/2015/01/07/using-grub-2-as-a-bootloader-for-xen-pv-guests/

and it works really good...

It would be nice to have it in the rpm packages.
--
--
Greetz
Christoph
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] xen 4.7 or 4.8

2017-02-18 Thread Christoph


Hi

are there somewhere pkgs with xen 4.7 or 4.8 for centos7?

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


[CentOS-virt] Problem with convert config file to xml

2016-05-18 Thread Christoph

Hi all,

I have a problem to convert a hvm config file to xml:

virsh -c xen:/// domxml-from-native xen-xm /etc/xen/marax.cfg > 
/etc/xen/marax_xml.cfg

error: internal error: config value kernel was missing

cat /etc/xen/marax.cfg
builder = 'hvm'
memory = 2048
vcpus=8
boot="c"
name= "marax"
disk= [ 'phy:/dev/vg_lilith/lv_marax_c,hda,w', 
'phy:/dev/vg_lilith/lv_marax_d,hdb,w' ]
vif = [ 
'bridge=xenbr5,mac=00:16:3e:05:01:10,script=vif-bridge,model=e1000' ]

on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash= 'restart'
vnc=0
vga = 'stdvga'
spice   = 1
spicehost   = '0.0.0.0'
spiceport   = 6000
spicedisable_ticketing=1
spicevdagent=1
spice_clipboard_sharing=1
spiceusbredirection=4
localtime=1
keymap='de'
viridian = 1

whats the problem there? I can start the domU with xl without 
problems...


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


Re: [CentOS-virt] xen and spice problem

2015-10-13 Thread Christoph

Hi

till now it are the rpm's with spice support working without problems 
(spice works to :) )


there is one issue what I have found, after install does grub2-mkconfig 
make this entry:


multiboot   /boot/xen-4.6.0-rc-2.el7.gz placeholder...

but I think it should be:

multiboot   /boot/xen.gz placeholder ...

with the first one it doesnt boot here, grub cant find it allthough its 
there in fs...


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


Re: [CentOS-virt] [ovirt-users] CEPH rbd support in EL7 libvirt

2015-10-13 Thread Christoph

hi

is ovirt useable with xen? is there any doc/howto how to use it?

Am 2015-10-12 15:04, schrieb Sven Kieske:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 12/10/15 10:13, Nux! wrote:

Hi Nir,

I have not tried to use Ovirt with Ceph, my question was about
libvirt and was directed to ask the question here, sorry for the
noise; I understand libvirt is not really ovirt's people concern.

The thing is qemu can do ceph rbd in EL7, libvirt does not,
although support seems to be there and a simple rebuild enables
it. Was hoping you guys know more.

Lucian


I'd suggest to ask this on the virt-sig of centOS (cc'ed).

Why is there no rbd support in el7 libvirt? I don't know, maybe the
virt repo guys from centos can rebuild it (they already do rebuild
libvirt afaik, another flag might not hurt them ).

HTH


- --
Mit freundlichen Grüßen / Regards

Sven Kieske




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


Re: [CentOS-virt] xen and spice problem

2015-10-06 Thread Christoph

Am 2015-10-05 12:39, schrieb George Dunlap:

On Mon, Oct 5, 2015 at 10:08 AM, Christoph  wrote:

Historically, because it wasn't available.  Now, simply because it's
off by default and before now nobody had asked for it to be enabled.

The Virt SIG is a community effort -- adding a configure option and
rebuilding is no problem, but the Virt SIG will need help testing /
working out bugs in this feature if it's going to be available going
forward.

If you're up for helping test it / work out any bugs, I can rebuild it
with the above arguments today.

 -George


oh sure, if should find any bugs I would report it here

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


Re: [CentOS-virt] xen and spice problem

2015-10-05 Thread Christoph

Am 2015-10-04 17:50, schrieb Mark Pryor:

http://107.185.144.55/xen/cent7/dom0/RPMS/stable-4.6/mock/ [1]

above is a build of upstream xen with this `configure` including spice
support:
./configure --enable-systemd --prefix=/usr --enable-xsmpolicy
--enable-ocamltools \
 --libdir=%{_libdir} --enable-efi \
 --with-extra-qemuu-configure-args="--enable-spice --enable-usb-redir"

there is no associated libvirt build
Included are patches up to the HEAD of staging-4.6, so its basically
rc5.
--

PryMar56


why is the spice support not in the 'offical' xen centos7 repo built in?
--
-
Greetz
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] xen and spice problem

2015-10-02 Thread Christoph
there is an qemu 2.0 ver in EPEL (qemu-2.0.0-1.el7.5 RPM for x86_64) 
there is the spice support build in...



hmm cant install it:

Transaction check error:
  file /usr/share/locale/de_DE/LC_MESSAGES/qemu.mo from install of 
qemu-common-2:2.0.0-1.el7.5.x86_64 conflicts with file from package 
xen-runtime-4.6rc3-4.el7.x86_64
  file /usr/share/locale/fr_FR/LC_MESSAGES/qemu.mo from install of 
qemu-common-2:2.0.0-1.el7.5.x86_64 conflicts with file from package 
xen-runtime-4.6rc3-4.el7.x86_64
  file /usr/share/locale/hu/LC_MESSAGES/qemu.mo from install of 
qemu-common-2:2.0.0-1.el7.5.x86_64 conflicts with file from package 
xen-runtime-4.6rc3-4.el7.x86_64
  file /usr/share/locale/it/LC_MESSAGES/qemu.mo from install of 
qemu-common-2:2.0.0-1.el7.5.x86_64 conflicts with file from package 
xen-runtime-4.6rc3-4.el7.x86_64
  file /usr/share/locale/tr/LC_MESSAGES/qemu.mo from install of 
qemu-common-2:2.0.0-1.el7.5.x86_64 conflicts with file from package 
xen-runtime-4.6rc3-4.el7.x86_64


is there anywhere an xen qemu with enabled spice support for centos7?

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


Re: [CentOS-virt] xen and spice problem

2015-10-01 Thread Christoph

Am 2015-10-01 13:30, schrieb George Dunlap:
No, the qemu version will be one that is custom build for the xen 
package.


Fabio, is there a toplevel config option to enable spice when building
through the Xen build system?

Please manually CC me if you can, as I'm not getting your mails to
centos-devel...



there is an qemu 2.0 ver in EPEL (qemu-2.0.0-1.el7.5 RPM for x86_64) 
there is the spice support build in...


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


Re: [CentOS-virt] xen and spice problem

2015-10-01 Thread Christoph

Am 2015-10-01 12:33, schrieb Fabio Fantoni:

Should be something like /var/log/xen/qemu-dm-marax.log

oh ok:

qemu-system-i386: -spice 
port=6000,tls-port=0,addr=0.0.0.0,password=test,agent-mouse=on: There is 
no option group 'spice'

spice is not supported by this qemu build.
qemu-system-i386: -spice 
port=6000,tls-port=0,addr=0.0.0.0,disable-ticketing,agent-mouse=on: 
There is no option group 'spice'

spice is not supported by this qemu build.
qemu-system-i386: -spice 
port=6000,tls-port=0,addr=0.0.0.0,password=test,agent-mouse=on: There is 
no option group 'spice'

spice is not supported by this qemu build.
qemu: terminating on signal 1 from pid 25375
qemu-system-i386: -spice 
port=6000,tls-port=0,addr=0.0.0.0,disable-ticketing,agent-mouse=on: 
There is no option group 'spice'

spice is not supported by this qemu build.
qemu-system-i386: -spice 
port=6000,tls-port=0,addr=0.0.0.0,disable-ticketing,agent-mouse=on: 
There is no option group 'spice'

spice is not supported by this qemu build.
qemu-system-i386: -spice 
port=6000,tls-port=0,addr=0.0.0.0,disable-ticketing,agent-mouse=on: 
There is no option group 'spice'

spice is not supported by this qemu build.
qemu-system-i386: -spice 
port=6000,tls-port=0,addr=0.0.0.0,disable-ticketing,agent-mouse=on: 
There is no option group 'spice'

spice is not supported by this qemu build.
qemu-system-i386: -spice 
port=6000,tls-port=0,addr=0.0.0.0,disable-ticketing,agent-mouse=on: 
There is no option group 'spice'

spice is not supported by this qemu build.
qemu-system-i386: -spice 
port=6000,tls-port=0,addr=0.0.0.0,disable-ticketing,agent-mouse=on: 
There is no option group 'spice'

spice is not supported by this qemu build.

seems to be not build in into the pkgs...

I use this one: qemu-img-1.5.3-86.el7_1.6.x86_64
Is there one which have spice support build in?

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


Re: [CentOS-virt] xen and spice problem

2015-10-01 Thread Christoph

Am 2015-10-01 12:24, schrieb Fabio Fantoni:


Qemu seems crashed, can you post qemu log of this domU for see the
exact problem?
Also domU's xl cfg can be useful and/or backtrace of qemu crash with
gdb depending on the error of qemu crash.


thats the config of domU:

builder = 'hvm'
memory = 2048
vcpus=8
boot="c"
name= "marax"
disk= [ 'phy:/dev/vg_lilith/lv_marax_c,hda,w' ]
vif = [ 
'bridge=xenbr5,mac=00:16:3e:05:01:10,script=vif-bridge' ]

on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash= 'restart'
vnc=0
vga = 'stdvga'
spice   = 1
spicehost   = '0.0.0.0'
spiceport   = 6000
spicedisable_ticketing=1
spicevdagent=1
spice_clipboard_sharing=1
localtime=1
keymap='de'
viridian = 1

where/how I can see the qemu log?

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


[CentOS-virt] xen and spice problem

2015-10-01 Thread Christoph

Hi

it is possible to use xen and spice already? If yes is there any howto 
or doc how?


If I turn on spice in cfg of a hvm domU, I get this error:

Parsing config from /etc/xen/marax.cfg
libxl: detail: libxl_dom.c:238:hvm_set_viridian_features: base group 
enabled
libxl: detail: libxl_dom.c:238:hvm_set_viridian_features: freq group 
enabled
libxl: detail: libxl_dom.c:238:hvm_set_viridian_features: time_ref_count 
group enabled

xc: detail: elf_parse_binary: phdr: paddr=0x10 memsz=0xbad04
xc: detail: elf_parse_binary: memory: 0x10 -> 0x1bad04
xc: detail: VIRTUAL MEMORY ARRANGEMENT:
xc: detail:   Loader:   0010->001bad04
xc: detail:   Modules:  ->
xc: detail:   TOTAL:->7f00
xc: detail:   ENTRY:00100610
xc: detail: PHYSICAL MEMORY ALLOCATION:
xc: detail:   4KB PAGES: 0x0200
xc: detail:   2MB PAGES: 0x03f7
xc: detail:   1GB PAGES: 0x
xc: detail: elf_load_binary: phdr 0 at 0x7fab7190a000 -> 0x7fab719bb151
domainbuilder: detail: xc_dom_gnttab_hvm_seed: called, pfn=0xff000
libxl: error: libxl_dm.c:1849:device_model_spawn_outcome: domain 29 
device model: spawn failed (rc=-3)
libxl: error: libxl_create.c:1340:domcreate_devmodel_started: device 
model did not start: -3
libxl: error: libxl_dm.c:1959:kill_device_model: Device Model already 
exited

libxl: error: libxl.c:1580:libxl__destroy_domid: non-existant domain 29
libxl: error: libxl.c:1538:domain_destroy_callback: unable to destroy 
guest with domid 29
libxl: error: libxl.c:1465:domain_destroy_cb: destruction of domain 29 
failed


(xen-4.6rc3-4.el7.x86_64)

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


Re: [CentOS-virt] xen and centos7

2015-09-28 Thread Christoph


Thanks for the report.

Was that because you had the path to the pvgrub image in your config 
file?


right... is there an other better way to use it?



If so, it might be a good idea to add a symbolic link from /usr/lib to
/usr/lib64 for pvgrub.


oh, IMHO it make sense to place it inside lib64



 -George


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


Re: [CentOS-virt] xen and centos7

2015-09-27 Thread Christoph

Am 2015-09-25 17:25, schrieb George Dunlap:

The code is from the XenProject, which is developed by a number of
different companies, not just Citrix.

The XenProject has greatly expanded our automated testing over the
last few years; additionally, a number of different companies have
their own automated test suites (Oracle, XenServer), and test the
development branches regularly.

The bugs we've found since RC1 have been almost entirely in niche
cases -- enabling this feature broke that bit of hardware; switching
this caused that obscure configuration not to work quite right; adding
this build option breaks things with that particular compiler.

All that to say, RC3 is pretty close to what the final release will
be.  The main thing that needs testing is actually the packaging
effort -- is it easy to install? Does it upgrade properly? &c.

And the main thing holding up the official C7 release (for either of
them) is just testing.  The more people install, test it, and say
"this works for me" (or report bugs when it doesnt' work), the sooner
the release will come. :-)

 -George


it works for me since 2 days without issues... only one thing what I 
needed to change was the path of pvgrub :) (from /usr/lib... to 
/usr/lib64...)


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


Re: [CentOS-virt] xen and centos7

2015-09-25 Thread Christoph

Am 2015-09-25 09:53, schrieb Pasi Kärkkäinen:


Yeah the testing rpms for centos7/xen are in virt7-xen-44-testing
repository (and virt7-xen-46-testing aswell).



oh cool... how stable is it? I know the meanig of testing :) but it is 
stable enough to use it at home?

Are there any known bugs/problems?
If I want to start to use it, could I take already xen-46 or it is to 
unstable in comparison to xen-44?


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


[CentOS-virt] xen and centos7

2015-09-25 Thread Christoph

Hi

is there already a release of xen for centos7? If not it is on roadmap? 
If yes when could it be done?


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


Re: [CentOS-virt] poor performance with dom0 on centos7

2015-09-17 Thread Christoph

Am 2015-09-17 09:29, schrieb Pasi Kärkkäinen:


Are you using nfs over UDP or TCP ?



TCP, but Network cant be the bottleneck, have tested it with iperf 
between bare metal/domU's and the nfs domU and it was perfectly fast...




I don't think.


If you used NFS over UDP, try running it over TCP.


no I use it over TCP...



What does 'top' and/or 'iostat -x 1' say during the 'benchmark'  ?


top:

top - 09:01:12 up 22:45,  1 user,  load average: 1,97, 2,01, 1,99
Tasks: 210 total,   1 running, 209 sleeping,   0 stopped,   0 zombie
%Cpu0  :  0,3 us,  1,0 sy,  0,0 ni, 91,4 id,  7,3 wa,  0,0 hi,  0,0 si,  
0,0 st
%Cpu1  :  0,0 us,  0,0 sy,  0,0 ni,100,0 id,  0,0 wa,  0,0 hi,  0,0 si,  
0,0 st
%Cpu2  :  0,0 us,  0,0 sy,  0,0 ni,100,0 id,  0,0 wa,  0,0 hi,  0,0 si,  
0,0 st
%Cpu3  :  0,0 us,  0,3 sy,  0,0 ni, 13,0 id, 86,7 wa,  0,0 hi,  0,0 si,  
0,0 st
KiB Mem :  1013016 total,19548 free,   591456 used,   402012 
buff/cache
KiB Swap:  1048572 total,   990776 free,57796 used.   353468 avail 
Mem


iostat:

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
   0,000,000,00   50,000,00   50,00

Device: rrqm/s   wrqm/s r/s w/srkB/swkB/s 
avgrq-sz avgqu-sz   await r_await w_await  svctm  %util
xvda  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00   0,00
xvdb  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00   0,00
xvdc  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00   0,00
xvdd  0,00 0,000,00   26,00 0,00  2336,00   
179,6969,31 1060,620,00 1060,62  38,46 100,00
xvde  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00   0,00
xvdf  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00   0,00
xvdg  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00   0,00
xvdh  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00   0,00
xvdi  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00   0,00
xvdj  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00   0,00
dm-0  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00   0,00
dm-1  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00   0,00
dm-2  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00   0,00
dm-3  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00   0,00
dm-4  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00   0,00
dm-5  0,00 0,000,000,00 0,00 0,00 
0,0069,310,000,000,00   0,00 100,00
dm-6  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00   0,00


so not really a problem...

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


Re: [CentOS-virt] poor performance with dom0 on centos7

2015-09-16 Thread Christoph

Hi

Im now pretty sure the problem is the DomU with NFS Server.

If I write on a NFS share from other Host (bare metal or other vm) then 
I see on my NFS server nearly the whole time 100% io at [jbd2/dm-5-8] 
process...
If I write on a SMB share (same partition as nfs share) from other Host 
then it is a little bit better but still ever and ever again 100% io 
load


If I write a 1GB file on the same partition (with nfs/samba share) with 
dd, I dont see the high io load...


Is there a known problem with nfs/smb shares and/or dm in xen domU's on 
centos 7 as dom0? With centos 6 as dom0 I didnt had the problem...
(the partition with the shares is a raid5 software partition, soft raid 
is build in dom0 and as a xvd device passed through to the domU with the 
shares)


could selinux be the problem? I have it in permissive mode on all hosts 
here (dom0 and domU) not disabled...


Any hints for me?

Am 2015-09-01 06:47, schrieb Christoph:

Hi All

it is possible to tune dom0/domU for better IO/network performance?
Since I have changed to Cenots7 dom0, I have a really poor IO
performance inside a PV VM.

I have already done what is described on
http://wiki.xenproject.org/wiki/Tuning_Xen_for_Performance
It is better now but still significantly worse than with centos6 dom0

my settings:

xen parameter: dom0_mem=1024M cpufreq=xen dom0_max_vcpus=2 
dom0_vcpus_pin


xl sched-credit
Cpupool Pool-0: tslice=30ms ratelimit=1000us
NameID Weight  Cap
Domain-0 0   10240
samael   12560
satan25120
amon 32560
leviathan45120

echo 1048576 > /proc/sys/net/ipv4/tcp_limit_output_bytes on dom0

the both domU's satan and leviathan are very IO performance oriented
(NFS server and downloading vm)

Is there something more what I can do or try?

could it be a selinux issue? I have it in permissive mode there, not
disabled. But permissive means only to collect the info not enforcing
the rules...

(I use the xen45 pkgs)


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


[CentOS-virt] poor performance with dom0 on centos7

2015-08-31 Thread Christoph

Hi All

it is possible to tune dom0/domU for better IO/network performance?
Since I have changed to Cenots7 dom0, I have a really poor IO
performance inside a PV VM.

I have already done what is described on
http://wiki.xenproject.org/wiki/Tuning_Xen_for_Performance
It is better now but still significantly worse than with centos6 dom0

my settings:

xen parameter: dom0_mem=1024M cpufreq=xen dom0_max_vcpus=2 
dom0_vcpus_pin


xl sched-credit
Cpupool Pool-0: tslice=30ms ratelimit=1000us
NameID Weight  Cap
Domain-0 0   10240
samael   12560
satan25120
amon 32560
leviathan45120

echo 1048576 > /proc/sys/net/ipv4/tcp_limit_output_bytes on dom0

the both domU's satan and leviathan are very IO performance oriented
(NFS server and downloading vm)

Is there something more what I can do or try?

could it be a selinux issue? I have it in permissive mode there, not
disabled. But permissive means only to collect the info not enforcing
the rules...

(I use the xen45 pkgs)

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