[libvirt] [PATCH] Fix vm define error with back compat console device

Jim Meyering jim at meyering.net
Fri Jan 16 13:45:06 UTC 2009


Jim Meyering <jim at meyering.net> wrote:
...
> FYI, here's a new version of this latest test.
> Now it uses the new unix_sock_dir setting to avoid
> risk of interfering with any existing qemu-based settings.
>
> (this patch depends on the unix_sock_dir-adding patch
> that's still waiting for an ACK.  Also, I have two or three
> other test-adding patches that depend on unix_sock_dir.
>
>>From 0558cb2d432e44213ecd5b2b95dee8eac1f31276 Mon Sep 17 00:00:00 2001
> From: Jim Meyering <meyering at redhat.com>
> Date: Thu, 15 Jan 2009 19:51:39 +0100
> Subject: [PATCH] exercise a bug that could make libvirtd segfault
>
> * tests/define-dev-segfault: New file.
> * tests/Makefile.am (test_scripts): Add define-dev-segfault.
> ---
>  tests/Makefile.am         |    1 +
>  tests/define-dev-segfault |   69 +++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 70 insertions(+), 0 deletions(-)
>  create mode 100755 tests/define-dev-segfault
>
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index c735d62..39b5727 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -60,6 +60,7 @@ if WITH_LIBVIRTD
>  test_scripts +=			\
>  	cpuset			\
>  	daemon-conf		\
> +	define-dev-segfault	\
>  	int-overflow		\
>  	libvirtd-fail		\
>  	libvirtd-pool		\

[in case you try to apply this patch, ... ]

Note that this hunk will not apply for you, since it depends
on an earlier still-pending one that aligned the backslashes.
The point is just to add the new test name to the list.




More information about the libvir-list mailing list