qemu-xen-4.6.0-rc1 fails to compile under Fedora Core 22
Hey Stefano,
I get this when I try to compile the tree:
CC hw/usb/host-stub.o
CC hw/virtio/virtio-rng.ohw/virtio/virtio-rng.c: In function ‘virtio_rng_device_realize’:hw/virtio/virtio-rng.c:152:31: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
if (!vrng->conf.period_ms > 0) {
^cc1: all warnings being treated as errors /home/konrad/xen/tools/qemu-xen-dir/rules.mak:57: recipe for target 'hw/virtio/virtio-rng.o' failed make[3]: *** [hw/virtio/virtio-rng.o] Error 1
Could you please backport3a292c420d2fec3c07a7ca56fbb064cd57a298a
Author: Amit Shah <[email protected]> Date: Thu Dec 11 13:17:42 2014 +0530
virtio-rng: fix check for period_ms validity
in the tree?
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 15 lines · Konrad Rzeszutek Wilk
Hey Stefano,
I get this when I try to compile the tree:
CChw/usb/host-stub.o
CChw/virtio/virtio-rng.ohw/virtio/virtio-rng.c: In function ‘virtio_rng_device_realize’:hw/virtio/virtio-rng.c:152:31: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]if (!vrng->conf.period_ms > 0) { ^cc1: all warnings being treated as errors
/home/konrad/xen/tools/qemu-xen-dir/rules.mak:57: recipe for target 'hw/virtio/virtio-rng.o' failed make[3]: *** [hw/virtio/virtio-rng.o] Error 1Could you please backport
3a292c420d2fec3c07a7ca56fbb064cd57a298a
Quoted 7 lines
Author: Amit Shah <[email protected]> Date: Thu Dec 11 13:17:42 2014 +0530virtio-rng: fix check for
period_msvalidityin the tree?
Done! Thanks for the report.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel