Re: guest-fsfreeze-freeze freezes all mounted block devices

2020-02-21 Thread Daniel P . Berrangé
On Fri, Feb 21, 2020 at 04:35:46PM +0100, Marc Roos wrote:
> Link?

> 
> That's not good!  Could you report this problem to the QEMU bug tracker.

https://www.qemu.org/support/

Regards,
Daniel
-- 
|: https://berrange.com  -o-https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o-https://fstop138.berrange.com :|
|: https://entangle-photo.org-o-https://www.instagram.com/dberrange :|



RE: guest-fsfreeze-freeze freezes all mounted block devices

2020-02-21 Thread Marc Roos
Link? 

-Original Message-
Sent: 21 February 2020 11:50
To: Marc Roos
Cc: pkrempa; libvirt-users
Subject: Re: guest-fsfreeze-freeze freezes all mounted block devices

On Mon, Feb 17, 2020 at 01:52:02PM +0100, Marc Roos wrote:
>  
> Hmmm, using 'virsh domfsinfo testdom' gives me a crash in win2008r2 
> (using software from virtio-win-0.1.171.iso)
> 
> Fault bucket , type 0
> Event Name: APPCRASH
> Response: Not available
> Cab Id: 0
> 
> Problem signature:
> P1: qemu-ga.exe
> P2: 100.0.0.0
> P3: 5c473543
> P4: KERNELBASE.dll
> P5: 6.1.7601.24545
> P6: 5e0eb6bd
> P7: c005
> P8: c4d2
> P9: 
> P10: 
> 
> Attached files:
> 
> These files may be available here:
> C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_qemu-ga.exe_
> bd 2e6535bdb93328680e0285e89e08f2866db83_0b0deada
> 
> Analysis symbol: 
> Rechecking for solution: 0
> Report Id: 3d82596e-517c-11ea-b213-525400e83365
> Report Status: 0

That's not good!  Could you report this problem to the QEMU bug tracker.


Regards,
Daniel
-- 
|: https://berrange.com  -o-
https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o-
https://fstop138.berrange.com :|
|: https://entangle-photo.org-o-
https://www.instagram.com/dberrange :|






Re: build problem with libxl

2020-02-21 Thread Anthony PERARD
On Fri, Feb 21, 2020 at 09:16:01AM +0100, Ján Tomko wrote:
> [adding Anthony PERARD to cc since his name is next to
> xen-4.12.2-1.el7's ChangeLog entry]
> 
> Hi, Anthony!
> 
> On Thu, Feb 20, 2020 at 07:10:38PM +0100, Christoph wrote:
> > https://wiki.centos.org/HowTos/Xen/Xen4QuickStart
> > 
> > configure:53501: checking for LIBXL
> > configure:53508: $PKG_CONFIG --exists --print-errors "xenlight >= 4.6.0"
> > Package xenblktapctl was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `xenblktapctl.pc'
> > to the PKG_CONFIG_PATH environment variable
> 
> It seems like xenlight's .pc file is broken if it references
> a non-existent .pc file.

Thanks for the report.

Do you think it will be enough to simply remove the reference?
libxenlight still depends on a blktap in the CentOS package, but it is a
different one that don't have a .pc file. It is easier to remove the
reference that to try to write a new .pc file :-).

There is xen-4.12.2-2 package that should be available in the testing
repo in a couple of hours.

Thanks,

-- 
Anthony PERARD




Re: build problem with libxl

2020-02-21 Thread Ján Tomko

On Fri, Feb 21, 2020 at 11:07:54AM +, Anthony PERARD wrote:

On Fri, Feb 21, 2020 at 09:16:01AM +0100, Ján Tomko wrote:

[adding Anthony PERARD to cc since his name is next to
xen-4.12.2-1.el7's ChangeLog entry]

Hi, Anthony!

On Thu, Feb 20, 2020 at 07:10:38PM +0100, Christoph wrote:
> https://wiki.centos.org/HowTos/Xen/Xen4QuickStart
>
> configure:53501: checking for LIBXL
> configure:53508: $PKG_CONFIG --exists --print-errors "xenlight >= 4.6.0"
> Package xenblktapctl was not found in the pkg-config search path.
> Perhaps you should add the directory containing `xenblktapctl.pc'
> to the PKG_CONFIG_PATH environment variable

It seems like xenlight's .pc file is broken if it references
a non-existent .pc file.


Thanks for the report.

Do you think it will be enough to simply remove the reference?


It should be enough for dynamic linking.

IIUC the dependencies in Requires.private only affect the pkg-config
output when static linking is requested:
https://people.freedesktop.org/~dbn/pkg-config-guide.html

Jano


libxenlight still depends on a blktap in the CentOS package, but it is a
different one that don't have a .pc file. It is easier to remove the
reference that to try to write a new .pc file :-).

There is xen-4.12.2-2 package that should be available in the testing
repo in a couple of hours.

Thanks,

--
Anthony PERARD



signature.asc
Description: PGP signature


Open Source Hackathon Mentorship Invitation

2020-02-21 Thread Misha Patel
Hello,

My name is Misha Patel and I’m reaching out on behalf of the HackIllinois
Outreach team. HackIllinois is a 36-hour collegiate Open Source hackathon
that takes place annually at the University of Illinois Urbana-Champaign.
This year, it will be from February 28th-March 1st, 2020. Our mission is to
introduce college students to Open Source, while giving back to the
community. We strive to create a collaborative environment in which our
attendees can learn from and work with developers to make their own
contributions. In past years, we’ve had developers from prominent projects
such as npm, Rust, and Apache come to mentor students from our pool of 900+
attendees.

We’d love it if you could pass along this message to the Libvirt community
or any individuals you believe would be interested. We will provide meals
throughout the event and can reimburse for travel and lodging up to a
certain amount depending on where in the US people are coming from. More
information on mentorship can be found at hackillinois.org/mentor. You can
also visit opensource.hackillinois.org to see what kinds of projects were
represented at our event last year.

We'd be more than happy to discuss this further. Please have any interested
individuals contact us at opensou...@hackillinois.org. Looking forward to
hearing back!

Best,
Misha Patel
HackIllinois 2020 Outreach Director
misha.pa...@hackillinois.org


Re: guest-fsfreeze-freeze freezes all mounted block devices

2020-02-21 Thread Daniel P . Berrangé
On Mon, Feb 17, 2020 at 01:52:02PM +0100, Marc Roos wrote:
>  
> Hmmm, using 'virsh domfsinfo testdom' gives me a crash in win2008r2 
> (using software from virtio-win-0.1.171.iso)
> 
> Fault bucket , type 0
> Event Name: APPCRASH
> Response: Not available
> Cab Id: 0
> 
> Problem signature:
> P1: qemu-ga.exe
> P2: 100.0.0.0
> P3: 5c473543
> P4: KERNELBASE.dll
> P5: 6.1.7601.24545
> P6: 5e0eb6bd
> P7: c005
> P8: c4d2
> P9: 
> P10: 
> 
> Attached files:
> 
> These files may be available here:
> C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_qemu-ga.exe_bd
> 2e6535bdb93328680e0285e89e08f2866db83_0b0deada
> 
> Analysis symbol: 
> Rechecking for solution: 0
> Report Id: 3d82596e-517c-11ea-b213-525400e83365
> Report Status: 0

That's not good!  Could you report this problem to the QEMU bug tracker.


Regards,
Daniel
-- 
|: https://berrange.com  -o-https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o-https://fstop138.berrange.com :|
|: https://entangle-photo.org-o-https://www.instagram.com/dberrange :|



Re: build problem with libxl

2020-02-21 Thread Ján Tomko

[adding Anthony PERARD to cc since his name is next to
xen-4.12.2-1.el7's ChangeLog entry]

Hi, Anthony!

On Thu, Feb 20, 2020 at 07:10:38PM +0100, Christoph wrote:

https://wiki.centos.org/HowTos/Xen/Xen4QuickStart

configure:53501: checking for LIBXL
configure:53508: $PKG_CONFIG --exists --print-errors "xenlight >= 4.6.0"
Package xenblktapctl was not found in the pkg-config search path.
Perhaps you should add the directory containing `xenblktapctl.pc'
to the PKG_CONFIG_PATH environment variable


It seems like xenlight's .pc file is broken if it references
a non-existent .pc file.

Jano


Package 'xenblktapctl', required by 'Xenlight', not found
configure:53511: $? = 1
configure:53525: $PKG_CONFIG --exists --print-errors "xenlight >= 4.6.0"
Package xenblktapctl was not found in the pkg-config search path.
Perhaps you should add the directory containing `xenblktapctl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xenblktapctl', required by 'Xenlight', not found
configure:53528: $? = 1
configure:53542: result: no
Package xenblktapctl was not found in the pkg-config search path.
Perhaps you should add the directory containing `xenblktapctl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xenblktapctl', required by 'Xenlight', not found

yum provides */xenblktapctl*
shows:
Loaded plugins: changelog, elrepo, fastestmirror, nvidia, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
No matches found

such a file doesnt exist in the pkgs...

but:

yum provides */*blktapctl*
Loaded plugins: changelog, elrepo, fastestmirror, nvidia, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
xen-devel-4.12.0.30.gb4f291b0ca-1.el7.x86_64 : Development libraries for
Xen tools
Repo: centos7-x86_64-xen
Matched from:
Provides: libtool(/usr/lib64/libblktapctl.la)
Filename: /usr/lib64/libblktapctl.la
Filename: /usr/lib64/libblktapctl.so

xen-libs-4.12.2-1.el7.x86_64 : Libraries for Xen tools
Repo: centos7-x86_64-xen
Matched from:
Filename: /usr/lib64/libblktapctl.so.0.1.1
Filename: /usr/lib64/libblktapctl.so.0

etc...
---
--
Greetz

Am 20.02.2020 16:11, schrieb Ján Tomko:

On Thu, Feb 20, 2020 at 12:40:35PM +0100, Christoph wrote:

I use centos 7 (7.7.1908).

these pkgs are installed:

xen-hypervisor-4.12.2-1.el7.x86_64
xen-devel-4.12.2-1.el7.x86_64
qemu-xen-4.12.1-1.el7.x86_64
xen-runtime-4.12.2-1.el7.x86_64
xen-licenses-4.12.2-1.el7.x86_64
xen-4.12.2-1.el7.x86_64
xen-libs-4.12.2-1.el7.x86_64
xen-ovmf-20180825-1.gitef529e6ab.el7.x86_64



Interesting, I did not know these packages existed.


even with --with-libxl it doesnt work...


There was a bug in our code that ignored the error even if --with-libxl
was requested, patch sent:
https://www.redhat.com/archives/libvir-list/2020-February/msg00723.html

However the mentioned xen-devel package seems to contain a xenlight.pc
config file for pkg-config:
https://cbs.centos.org/koji/buildinfo?buildID=27840
so it should work.

Can you paste the config.log section beginning with 'checking for
LIBXL'?

On my Fedora 31 where I build with libxl it looks like this:
configure:23591: checking for LIBXL
configure:23598: $PKG_CONFIG --exists --print-errors "xenlight >=
4.6.0"
configure:23601: $? = 0
configure:23615: $PKG_CONFIG --exists --print-errors "xenlight >=
4.6.0"
configure:23618: $? = 0
configure:23666: result: yes
configure:23718: checking libxlutil.h usability
configure:23718: clang -c -g -ggdb3   conftest.c >&5
configure:23718: $? = 0
configure:23718: result: yes
configure:23718: checking libxlutil.h presence
configure:23718: clang -E  conftest.c
configure:23718: $? = 0
configure:23718: result: yes
configure:23718: checking for libxlutil.h
configure:23718: result: yes
configure:23743: checking for xtl_createlogger_stdiostream in
-lxentoollog
configure:23768: clang -o conftest -g -ggdb3conftest.c
-lxentoollog  -lutil -ltirpc -lpthread -ldl  >&5
configure:23768: $? = 0
configure:23777: result: yes
configure:23791: checking whether LIBXL_DOMAIN_TYPE_PVH is declared
configure:23791: clang -c -g -ggdb3   conftest.c >&5
configure:23791: $? = 0
configure:23791: result: yes
configure:23859: clang -o conftest -g -ggdb3conftest.c -lutil
-ltirpc -lpthread -ldl  >&5
configure:23859: $? = 0
configure:23899: clang -o conftest -g -ggdb3conftest.c -lutil
-ltirpc -lpthread -ldl  >&5
configure:23899: $? = 0

Jano





signature.asc
Description: PGP signature