Fix logic error introduced in commit d6c91b3c which essentially broke
starting any domain.
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
---
src/qemu/qemu_cgroup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/qemu/qemu_cgroup.c b/src/qemu/qemu_cgroup.c
Since kernel version 4.5, s390 has the 'sie' flag to declare its
hardware virtualization support. Let's make virt-host-validate aware so
this check is passed correctly.
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiu...@linux.vnet.ibm.com>
---
When reading in a XML definition for a SCSI target device, the name
property of struct scsi_target refers to the @target element.
Let's fix this obvious typo.
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiu...@linux.vnet.ibm.com>
-
Let's add a test for SCSI target nodedev devices.
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
---
tests/nodedevschemadata/scsi_target0_0_0.xml | 7 +++
tests/nodedevxml2xmltest.c | 1 +
2 files changed, 8 insertions(+)
create mode 100644 tests/nodedevsche
SCSI targets seem to be missing proper treatment and it was actually not
possible to import a SCSI target nodedev device definition because of some
typo. In order to extend the test case to catch this, I found that the XML
schema was missing as well.
Bjoern Walk (2):
conf: node_device: fix up
When reading in an XML definition for a SCSI target device, the name
property of struct scsi_target refers to the @target element.
Let's fix this obvious typo and also extend the XML schema to provide
validation.
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
---
docs/schemas/noded
Andrea Bolognani [2016-03-31, 05:29PM +0200]:
> [...]
> +if (!STRPREFIX(line, "flags") && !STRPREFIX(line, "Features"))
At least on s390x, the flags line begins with a lower-cased "features".
I can post a follow-up patch to include the platform specific stuff for
This patch series adds support to the s390 platform for the virt-host-validate
tool which detects virtualization capabilities of the host.
It has been tested on x86 that no regression is introduced.
Bjoern Walk (4):
tools: virt-host-validate: fix missing translation marker
tools: virt-host
When virHostValidateCPUFlag returns NULL, that's more an unexpected
error than the sign of missing CPU flags. Let's react to this
appropriately.
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
---
tools/virt-host-validate-qemu.c | 6 +++---
1 file changed, 3 insertions(+), 3 del
Extend the detection of hardware virtualization to the s390 platform.
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
---
tools/virt-host-validate-common.c | 3 ++-
tools/virt-host-validate-common.h | 1 +
tools/virt-host-validate-qemu.c | 21 +++--
3 files chang
Let's fix CPU flag detection on s390, where the flags line begins with
a lower-case 'features'.
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
---
tools/virt-host-validate-common.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/tools/virt-host-va
Fix a minor typo.
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
---
tools/virt-host-validate-qemu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/virt-host-validate-qemu.c b/tools/virt-host-validate-qemu.c
index b96b020..eb08e7e 100644
--- a/tools/vir
John Ferlan <jfer...@redhat.com> [2016-07-21, 12:23PM +0200]:
On 07/08/2016 06:30 AM, Bjoern Walk wrote:
Since return code is checked globally at the end of the function, let's
make sure that we set it correctly at any point.
This fixes a regression introduced in commit 0aa19f35
Bjoern Walk <bw...@linux.vnet.ibm.com> [2016-07-08, 12:34PM +0200]:
Since return code is checked globally at the end of the function, let's
make sure that we set it correctly at any point.
This fixes a regression introduced in commit 0aa19f35 where the first
command to eject changeable
Since return code is checked globally at the end of the function, let's
make sure that we set it correctly at any point.
This fixes a regression introduced in commit 0aa19f35 where the first
command to eject changeable media would fail unconditionally.
Signed-off-by: Bjoern Walk <
John Ferlan [2016-07-22, 12:58PM +0200]:
[...]
Ahh - the success case. I was reading as the failure and goto case
probably because of the commit message.
Yeah, I probably should have explained this explicitly in the commit
message, sorry about that.
So ACK to the patch
John Ferlan [2017-02-08, 11:06PM +0100]:
When the 'parent' was added to the virNodeDevicePtr structure
by commit id 'e8a4ea75a' the 'parent' field was not properly filled
in when a virGetNodeDevice call was made within driver/config code.
Only the device name was ever filled
John Ferlan [2017-02-09, 04:36AM +0100]:
Add a callback mechanism as a side door of sorts to the event
mgmt functions that are triggered when a node_device object is
added or removed. This includes a mechanism to enumerate already
added devices for those stateInitialize
Michal Privoznik [2016-10-26, 02:52PM +0200]:
I've came across interesting bug recently. The problem was that
user tried to start a domain, but qemu was denied access to some
device. Even though we relabelled it initially. By debugging I
found the root cause: while we were
Hello,
I am currently investigating a rare segfault in libvirt. I have attached a
backtrace, the coredump is for s390x. I am currently trying to reproduce the
segfault on x86 but it did not occur yet (timespan to short).
This can be triggered by rapidly performing domain start/stop cycles in a
at.com
https://www.redhat.com/mailman/listinfo/libvir-list
However, this does its job, with the above fixed.
Reviewed-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
--
IBM Systems
Linux on z Systems & Virtualization Development
--
Peter Krempa <pkre...@redhat.com> [2017-04-05, 08:44AM +0200]:
On Wed, Apr 05, 2017 at 07:58:36 +0200, Bjoern Walk wrote:
Daniel P. Berrange <berra...@redhat.com> [2017-04-04, 07:24PM +0200]:
> The news.rng file gets picked up by the wildcard match on docs/schemas,
> and
Daniel P. Berrange [2017-03-03, 10:50AM +0100]:
This documents the preferred conventions for naming files,
structs, enums, typedefs and functions.
Signed-off-by: Daniel P. Berrange
---
HACKING | 71
Peter Krempa <pkre...@redhat.com> [2017-03-06, 10:40AM +0100]:
On Mon, Mar 06, 2017 at 10:21:28 +0100, Bjoern Walk wrote:
I personally would prefer this style:
typedef struct _virHashTable {
...
} virHashTable, *virHashTablePtr;
This is done for example in sr
the ordering.
Tested-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
signature.asc
Description: PGP signature
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Peter Krempa <pkre...@redhat.com> [2017-08-03, 09:47AM +0200]:
> On Thu, Aug 03, 2017 at 07:24:35 +0200, Bjoern Walk wrote:
> > Peter Krempa <pkre...@redhat.com> [2017-08-02, 05:39PM +0200]:
> > > It turns out that our implementation of the hashing function is
&
So, this test fails on S390 because the actual test in
testBlockNodeNameDetect is dependent on the ordering of the entries in
the hash table, which is different on big endian machines.
There are two other tests which have multiple results in the backing
chain, 'same-backing' and 'relative', but
Peter Krempa [2017-06-27, 02:46PM +0200]:
> Allows testing whether a virJSONValue is an object.
> ---
> src/libvirt_private.syms | 1 +
> src/util/virjson.c | 10 ++
> src/util/virjson.h | 2 ++
> 3 files changed, 13 insertions(+)
>
> diff --git
We will need some convenient helper functions for managing sysfs-entries
for fibre channel-backed devices. Let's implement them and make them
available in the private API.
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
---
po/POTFILES.in | 1 +
src/Makefile.am
Now that the node_device driver is aware of CCW devices, let's hook up
virsh so that we can filter them properly.
Reviewed-by: Boris Fiuczynski <fiu...@linux.vnet.ibm.com>
Reviewed-by: Marc Hartmayer <mhart...@linux.vnet.ibm.com>
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm
/sys/devices/[...]/host0/rport-0:0-0/target0:0:0
scsi_host0
target0:0:0
rport-0:0-0
0x9d73bc45f0e21a86
Reviewed-by: Boris Fiuczynski <fiu...@linux.vnet.ibm.com>
Signed-off-by: Bjoern Walk <bw...@linux.vne
Mention CCW and fc_remote_port capablities in the news.xml file.
Reviewed-by: Boris Fiuczynski <fiu...@linux.vnet.ibm.com>
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
---
docs/news.xml | 11 +++
1 file changed, 11 insertions(+)
diff --git a/docs/news.xml b/docs/ne
From: Marc Hartmayer <mhart...@linux.vnet.ibm.com>
As the switch statement checks data.type of the iterator variable @cap
it must use this variable for the update too.
Suggested-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
Signed-off-by: Marc Hartmayer <mhart...@linux.vnet.ib
From: Marc Hartmayer <mhart...@linux.vnet.ibm.com>
Unlock @obj in case of an error too.
Reviewed-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiu...@linux.vnet.ibm.com>
Signed-off-by: Marc Hartmayer <mhart...@linux.vnet.ibm.com&
the
fc_remote_port subcapability for SCSI targets. Here we expose the relevant
rport name as well as the port_name (WWPN).
Bjoern Walk (5):
node_device: detect CCW devices
virsh: nodedev: ability to filter CCW capabilities
util: helper functions for fibre channel devices
node_device
|
+- scsi_target0_0_0
|
+- scsi_0_0_0_0
Reviewed-by: Boris Fiuczynski <fiu...@linux.vnet.ibm.com>
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
---
docs/schemas/basictypes.rng | 31 ++
docs/schemas/doma
John Ferlan <jfer...@redhat.com> [2017-05-25, 02:37PM -0400]:
On 05/22/2017 02:38 AM, Bjoern Walk wrote:
From: Marc Hartmayer <mhart...@linux.vnet.ibm.com>
As the switch statement checks data.type of the iterator variable @cap
it must use this variable for the update too.
s/mu
John Ferlan <jfer...@redhat.com> [2017-05-25, 03:21PM -0400]:
On 05/22/2017 02:38 AM, Bjoern Walk wrote:
Now that the node_device driver is aware of CCW devices, let's hook up
virsh so that we can filter them properly.
Reviewed-by: Boris Fiuczynski <fiu...@linux.vnet.ibm.com&
John Ferlan <jfer...@redhat.com> [2017-05-25, 03:26PM -0400]:
On 05/22/2017 02:38 AM, Bjoern Walk wrote:
Similar to scsi_host and fc_host, there is a relation between a
scsi_target and its transport specific fc_remote_port. Let's expose this
relation and relevant information
John Ferlan [2017-05-25, 03:05PM -0400]:
One would hope they're in range, but since the rng had ranges should you
check here similar to what virDomainDeviceCCWAddressIsValid does?
It's fine this way since this is essentially reporting from udev which
one can only assume
John Ferlan <jfer...@redhat.com> [2017-05-25, 03:23PM -0400]:
On 05/22/2017 02:38 AM, Bjoern Walk wrote:
We will need some convenient helper functions for managing sysfs-entries
for fibre channel-backed devices. Let's implement them and make them
available in the private API.
Sign
John Ferlan <jfer...@redhat.com> [2017-05-25, 03:26PM -0400]:
On 05/22/2017 02:38 AM, Bjoern Walk wrote:
Mention CCW and fc_remote_port capablities in the news.xml file.
Reviewed-by: Boris Fiuczynski <fiu...@linux.vnet.ibm.com>
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm
Thanks a lot for your review John.
If you don't mind, you can make the adjustments you mentioned and push,
as I can only prepare a v2 on Monday and I wanted to get this in v3.4.0.
Best,
Bjoern
--
IBM Systems
Linux on z Systems & Virtualization Development
John Ferlan [2017-05-19, 09:08AM -0400]:
A virNodeDeviceObjPtr is an @obj
A virNodeDeviceObjListPtr is an @devs
More intuitive for the virNodeDeviceObjListPtr would be @objs, but I
guess the naming scheme is already well defined here.
signature.asc
Description: PGP
John Ferlan [2017-05-19, 09:08AM -0400]:
Move the whole file from src/node_device into src/conf and rename the
API's to have the "virNodeDevice" prefix.
Signed-off-by: John Ferlan
---
src/Makefile.am| 8
John Ferlan [2017-05-19, 09:08AM -0400]:
All part of the effort I have to have a common object model. This series
is node device test, driver, and virnodedevobj related.
There's also a couple of bug fixes at the beginning of the series from
things I have found during this
Roman Bogorodskiy [2017-05-26, 08:05PM +0400]:
- Include virerror.h for virReportSystemError
- Rename stub functions to match original function names
---
Pushed under the build breaker rule.
src/util/virfcp.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
John Ferlan [2017-05-30, 06:43AM -0400]:
[...]
void
-virInterfaceObjFree(virInterfaceObjPtr obj)
+virInterfaceObjEndAPI(virInterfaceObjPtr *obj)
Naming is hard, and I don't have any better suggestion. Just wanted to
say that the name is, maybe, improvable :)
{
-if
John Ferlan [2017-05-30, 06:43AM -0400]:
Create/use a helper to perform the object allocation
Signed-off-by: John Ferlan
---
src/conf/virinterfaceobj.c | 31 +++
1 file changed, 23 insertions(+), 8 deletions(-)
diff --git
Michal Privoznik [2017-09-21, 04:47PM +0200]:
> In the near future the qemuAssignDeviceAliases() function is
> going to be called multiple times: once at the domain define
> time, then in domain prepare phase. To avoid regenerating the
> same aliases the second time we need
Andrea Bolognani [2017-12-14, 01:34PM +0100]:
> Make the parser both more strict, by not ignoring errors reported
> by virStrToLong_ui(), and more permissive, by not failing due to
> unrelated fields which just happen to have a know prefix and
> accepting any amount of
Andrea Bolognani <abolo...@redhat.com> [2017-12-14, 03:01PM +0100]:
> On Thu, 2017-12-14 at 14:55 +0100, Bjoern Walk wrote:
> > > + * Returns: 0 when the string has been parsed successfully and the CPU
> > > + * frequency has been stored in @mhz, >0 when the
Andrea Bolognani [2017-12-13, 12:34PM +0100]:
> So you'd leave it in virHostCPUGetInfoPopulateLinux()? Why?
>
I found it more important that all the initialization (cpu, nodes, etc.)
is in one place. But it actually doesn't matter.
> With my approach, the value is changed
VIR_WARN("Your architecture is not supported by the %s parser",
> +VIR_WARN("%s is not supported by the %s parser",
> + virArchToString(arch),
> CPUINFO_PATH);
> return 1;
> }
> --
> 2.14.3
>
Reviewed-by: Bjoern Walk <
PU data for Moonshot (RHEL 7.4)
> util: Tweak virHostCPUParseFrequencyString()
> util: Don't report CPU frequency for ARM hosts
>
> Bjoern Walk (1):
> util: virhostcpu: factor out frequency parsing
>
Everything looks fine. Thanks for taking my patch into consideration.
si
Pino Toscano <ptosc...@redhat.com> [2017-12-13, 05:35PM +0100]:
> On Wednesday, 13 December 2017 17:10:19 CET Andrea Bolognani wrote:
> > From: Bjoern Walk <bw...@linux.vnet.ibm.com>
> >
> > All different architectures use the same copy-pasted code to parse
&g
Core(s) per socket: 8
Thread(s) per core: 1
NUMA cell(s):1
Memory size: 16273908 KiB
Reviewed-by: Marc Hartmayer <mhart...@linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiu...@linux.vnet.ibm.com>
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm.com
Let's add a testcase for a S390 system running kernel version 4.14 on
LPAR.
Reviewed-by: Marc Hartmayer <mhart...@linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiu...@linux.vnet.ibm.com>
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
---
.../linux-s390x-with
.
This goes on top of Andrea's changes in here:
https://www.redhat.com/archives/libvir-list/2017-December/msg00519.html
Bjoern Walk (3):
util: virhostcpu: parse frequency information on S390
tests: virhostcputest: testcase for S390 system
util: virsysinfo: parse frequency information on S390
src
<mhart...@linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiu...@linux.vnet.ibm.com>
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
---
src/util/virsysinfo.c | 31 +++
1 file changed, 31 insertions(+)
diff --git a/src/util/virsysinfo.c b/src/util/
Andrea Bolognani [2017-12-11, 05:40PM +0100]:
> This handles only the /proc/cpuinfo part of virHostCPUGetInfo().
>
> Signed-off-by: Andrea Bolognani
> ---
> src/util/virhostcpu.c | 60
> +--
> 1 file
ling list
> libvir-list@redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
>
I attach my take on this refactorization for comparison. Feel free to
take stuff you like. Or don't :)
--
IBM Systems
Linux on z Systems & Virtualization Development
-
Andrea Bolognani [2017-12-11, 05:40PM +0100]:
> Some ARM platforms, such as the original Raspberry Pi, report the
> CPU frequency in the BogoMIPS field of /proc/cpuinfo, so libvirt
> parsed that field and returned it through its API.
>
> However, not only many more boards
Andrea Bolognani <abolo...@redhat.com> [2017-12-12, 04:43PM +0100]:
> On Tue, 2017-12-12 at 12:52 +0100, Bjoern Walk wrote:
> > Andrea Bolognani <abolo...@redhat.com> [2017-12-11, 05:40PM +0100]:
> > > A few steps towards eventually fixing
> > >
> > &g
280a8a85..6cc7731a7 100644
> --- a/tests/qemuxml2argvtest.c
> +++ b/tests/qemuxml2argvtest.c
> @@ -2061,6 +2061,12 @@ mymain(void)
> QEMU_CAPS_VIRTIO_CCW,
> QEMU_CAPS_VIRTIO_S390,
> QEMU_CAPS_SCLP_S390);
> +DO_TEST_FULL("s390-console2seria
/qemuxml2xmloutdata/qemuxml2xmlout-s390-serial-console.xml
> @@ -14,18 +14,12 @@
>destroy
>
> /usr/bin/qemu-system-s390x
> -
> -
> -
>
>
>
>
>
>
>
Hello Daniel,
thank you for this interesting insight. The future-proof choice of
tools, especially programming languages, is certainly a problem that a
lot of project have to solve sooner rather then later. For projects that
are currently written in any non-memory-managed language, this issue is
Andrea Bolognani [2017-12-11, 05:40PM +0100]:
> A few steps towards eventually fixing
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1206353
>
> The commit message for patch 6/6 contains most of the rationale,
> previous patches are cleanups. If not for the new test case
Cornelia Huck [2018-05-24, 06:25PM +0200]:
> On Thu, 24 May 2018 14:24:32 +0200
> Xiao Feng Ren wrote:
>
> > From: Yi Min Zhao
> >
> > This commit adds hotplug support for PCI devices on S390 guests.
> > There's no need to
; identifier).
> >
> > Signed-off-by: Yi Min Zhao
> > Reviewed-by: Boris Fiuczynski
> > Reviewed-by: Stefan Zimmermann
> > Reviewed-by: Bjoern Walk
> > ---
> > src/util/virpci.h | 10 ++
> > 1 file changed, 10 insertions(+)
> >
> &g
Pino Toscano [2018-05-25, 01:05PM +0200]:
> On Thursday, 24 May 2018 14:24:33 CEST Xiao Feng Ren wrote:
> > diff --git a/docs/schemas/basictypes.rng b/docs/schemas/basictypes.rng
> > index 1a18cd31b1..8050a3ebc4 100644
> > --- a/docs/schemas/basictypes.rng
> > +++
John Ferlan [2018-06-26, 03:03PM -0400]:
>
>
> On 06/26/2018 07:47 AM, Bjoern Walk wrote:
> > Mediated devices of model 'vfio-ccw' are using CCW addresses, so make
> > sure to call the correct address preparation code for the model.
> >
> > Reviewe
Mediated devices of model 'vfio-ccw' are using CCW addresses, so make
sure to call the correct address preparation code for the model.
Reviewed-by: Shalini Chellathurai Saroja
Reviewed-by: Boris Fiuczynski
Signed-off-by: Bjoern Walk
---
src/qemu/qemu_hotplug.c | 11 +--
1 file changed
Shalini Chellathurai Saroja [2018-04-11, 05:49PM
+0200]:
> Let us support the basic channel I/O passthrough infrastructure based on
> vfio, which have been introduced in QEMU 2.10. The current focus is to
> support dasd-eckd (cu_type/dev_type = 0x3990/0x3390) as the
John Ferlan <jfer...@redhat.com> [2018-01-04, 03:56PM -0500]:
> On 12/19/2017 05:08 AM, Bjoern Walk wrote:
> > diff --git a/src/util/virsysinfo.c b/src/util/virsysinfo.c
> > index ab81b1f7..0c2267e3 100644
> > --- a/src/util/virsysinfo.c
> > +++ b/src/util/
John Ferlan <jfer...@redhat.com> [2018-01-05, 03:53PM -0500]:
>
>
> On 12/19/2017 05:08 AM, Bjoern Walk wrote:
> > Since kernel version 4.7, processor frequency information is available
> > on S390. Let's adjust the parser so this information shows up for virsh
> &g
John Ferlan <jfer...@redhat.com> [2018-01-05, 03:55PM -0500]:
>
>
> On 12/19/2017 05:08 AM, Bjoern Walk wrote:
> > Let's add a testcase for a S390 system running kernel version 4.14 on
> > LPAR.
> >
> > Reviewed-by: Marc Hartmayer <mhart...@linux.vnet.
John Ferlan [2018-01-05, 03:13PM -0500]:
> Doh - should have read the cover letter - this goes on top of
> Andrea's changes... Sometimes it's just better to wait and/or provide
> review to the series you trying to use!
>
Ye, sorry, should have made it more clear or
John Ferlan [2018-01-10, 05:34PM -0500]:
> Thinking partially in terms of something Andrea posted as a result of
> something I commented on:
>
> https://www.redhat.com/archives/libvir-list/2018-January/msg00240.html
>
> Maybe we should take the approach of leaving it as zero
John Ferlan <jfer...@redhat.com> [2018-01-08, 07:55AM -0500]:
>
>
> On 01/08/2018 03:39 AM, Bjoern Walk wrote:
> > John Ferlan <jfer...@redhat.com> [2018-01-04, 03:56PM -0500]:
> >> On 12/19/2017 05:08 AM, Bjoern Walk wrote:
> >>> diff --git
ase for to sysinfotest.c
Bjoern Walk (2):
util: virsysinfo: parse frequency information on S390
tests: sysinfotest: add new test case for S390
src/util/virsysinfo.c | 41 ++-
tests/sysinfodata/s390-freqcpuinfo.data | 52 +
tests/sysinfodata/s390-freqsysinfo.data |
Let's add a test case for S390 with CPU frequency information available.
Test data is sampled from an IBM z13 system running kernel 4.14 on LPAR.
Reviewed-by: Boris Fiuczynski <fiu...@linux.vnet.ibm.com>
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
---
tests/sysi
art...@linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiu...@linux.vnet.ibm.com>
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
---
src/util/virsysinfo.c | 41 -
1 file changed, 36 insertions(+), 5 deletions(-)
diff --git a/src/util/virsy
Daniel P. Berrangé [2018-02-13, 09:47AM +]:
> On Mon, Feb 12, 2018 at 03:24:03PM -0600, Chris Venteicher wrote:
> > Headers use same function parameter names as definition code.
> >
> > In some cases in libvirt-domain and libvirt-network an established
> > naming pattern
John Ferlan <jfer...@redhat.com> [2018-02-13, 10:32AM -0500]:
>
>
> On 02/08/2018 07:38 AM, Bjoern Walk wrote:
> > virshtest execves the virsh binary. Make sure that it finds the binary's
> > location independent of the current working directory by specifying the
>
i <fiu...@linux.vnet.ibm.com>
Signed-off-by: Bjoern Walk <bw...@linux.vnet.ibm.com>
---
tests/virshtest.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/virshtest.c b/tests/virshtest.c
index 67453bd9..94548a82 100644
--- a/tests/virshtest.c
+++ b/tests/vir
uot;s390"
}
}
}
Let's log this information into the domain log file, e.g.:
2018-02-08 13:11:26.075+: panic s390: core='0'
psw-mask='0x000200018000' psw-addr='0x0010f146'
reason='disabled-wait'
Reviewed-by: Boris Fiuczynski <fiu...@linux.vnet.ibm.com>
Sign
John Ferlan <jfer...@redhat.com> [2018-02-20, 12:25PM -0500]:
> On 02/15/2018 06:58 AM, Bjoern Walk wrote:
> > Since QEMU 2.12 guest crash information for S390 is available in the
> > QEMU monitor, e.g.:
> >
> > {
> > "tim
lt of
> virStorageBackendCreateIfaceIQN() will be what the test actually
> expects.
>
> Signed-off-by: Pino Toscano
Tested-by: Bjoern Walk
signature.asc
Description: PGP signature
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Daniel Veillard [2018-07-31, 12:19PM +0800]:
>It is out, tagged in git and with signed tarball and rpms at the
> usual place:
>
>ftp://libvirt.org/libvirt/
>
> in my limited testing it works but we have that pending issue
> raised by Andrea. worse case someone reverse the patches and
>
Bjoern Walk [2018-07-31, 03:16PM +0200]:
> I have not yet had the time to figure out what goes wrong, any ideas are
> welcome.
Ah, classic. The mocked virRandomBytes function is not endian-agnostic,
generating a different interface name as expected by the test.
Bjoern
--
IBM Systems
Michal Privoznik [2018-07-31, 04:10PM +0200]:
> On 07/31/2018 03:54 PM, Bjoern Walk wrote:
> > Bjoern Walk [2018-07-31, 03:16PM +0200]:
> >> I have not yet had the time to figure out what goes wrong, any ideas are
> >> welcome.
> >
> > Ah, clas
Bjoern Walk [2018-07-31, 02:21PM +0200]:
> Daniel Veillard [2018-07-31, 12:19PM +0800]:
> >It is out, tagged in git and with signed tarball and rpms at the
> > usual place:
> >
> >ftp://libvirt.org/libvirt/
> >
> > in my limited testing
Pino Toscano [2018-08-01, 03:21PM +0200]:
> Hi Bjoern,
>
> On Wednesday, 1 August 2018 14:57:07 CEST Bjoern Walk wrote:
> > And here's the fix for the viriscsitest on big-endian machine like
> > Daniel suggested.
>
> I sent an alternative fix, only for viriscsitest,
Daniel P. Berrangé [2018-08-01, 11:51AM +0100]:
> On Tue, Jul 31, 2018 at 03:54:43PM +0200, Bjoern Walk wrote:
> > Bjoern Walk [2018-07-31, 03:16PM +0200]:
> > > I have not yet had the time to figure out what goes wrong, any ideas are
> > > welcome.
>
Eric Blake [2018-08-01, 09:51AM -0500]:
> On 08/01/2018 07:57 AM, Bjoern Walk wrote:
> > And here's the fix for the viriscsitest on big-endian machine like
> > Daniel suggested.
>
> > From d59b254294a90c5a9ca0fb6ad29465cd0950bb61 Mon Sep 17 00:00:00 2001
> > From
Pino Toscano [2018-08-02, 10:02AM +0200]:
> I do not think this patch is correct: we are dealing with random bytes,
> so there is no "endianness" for them.
Well, it's not incorrect either, isn't it? I agree that endianness
doesn't matter for random data, but in the same time, it doesn't hurt to
Make the generation of random bits in virRandomBits independent of the
endianness of the running architecture.
This also solves problems with the mocked random byte generation on
big-endian machines.
Suggested-by: Daniel P. Berrangé
Signed-off-by: Bjoern Walk
---
This goes on top of Michal's
94
From d59b254294a90c5a9ca0fb6ad29465cd0950bb61 Mon Sep 17 00:00:00 2001
From: Bjoern Walk
Date: Wed, 1 Aug 2018 14:48:47 +0200
Subject: [PATCH] util: virrandom: make virRandomBits endian-safe
Make the generation of random bits in virRandomBits independent of the
endianness of the running architecture.
This also solves
Christian Ehrhardt [2018-08-14, 11:27AM
+0200]:
> diff --git a/src/util/virprocess.c b/src/util/virprocess.c
> index ecea27a2d4..46360cc051 100644
> --- a/src/util/virprocess.c
> +++ b/src/util/virprocess.c
> @@ -341,15 +341,19 @@ int virProcessKill(pid_t pid, int sig)
> * Returns 0 if it was
1 - 100 of 261 matches
Mail list logo