* [Qemu-devel] [PATCH] hw/9pfs: Fix segfault on arch that doesn't support VirtFS
@ 2011-06-10 13:43 Aneesh Kumar K.V
2011-06-10 21:00 ` Edgar E. Iglesias
0 siblings, 1 reply; 2+ messages in thread
From: Aneesh Kumar K.V @ 2011-06-10 13:43 UTC (permalink / raw)
To: qemu-devel; +Cc: aliguori, Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
fsdev/qemu-fsdev-dummy.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/fsdev/qemu-fsdev-dummy.c b/fsdev/qemu-fsdev-dummy.c
index 619e163..4e700dd 100644
--- a/fsdev/qemu-fsdev-dummy.c
+++ b/fsdev/qemu-fsdev-dummy.c
@@ -13,8 +13,16 @@
#include <stdio.h>
#include <string.h>
#include "qemu-fsdev.h"
+#include "qemu-config.h"
int qemu_fsdev_add(QemuOpts *opts)
{
return 0;
}
+
+static void fsdev_register_config(void)
+{
+ qemu_add_opts(&qemu_fsdev_opts);
+ qemu_add_opts(&qemu_virtfs_opts);
+}
+machine_init(fsdev_register_config);
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] hw/9pfs: Fix segfault on arch that doesn't support VirtFS
2011-06-10 13:43 [Qemu-devel] [PATCH] hw/9pfs: Fix segfault on arch that doesn't support VirtFS Aneesh Kumar K.V
@ 2011-06-10 21:00 ` Edgar E. Iglesias
0 siblings, 0 replies; 2+ messages in thread
From: Edgar E. Iglesias @ 2011-06-10 21:00 UTC (permalink / raw)
To: Aneesh Kumar K.V; +Cc: aliguori, qemu-devel
On Fri, Jun 10, 2011 at 07:13:12PM +0530, Aneesh Kumar K.V wrote:
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thanks for the quick response earlier today, I had already applied
your first patch :)
Cheers
> ---
> fsdev/qemu-fsdev-dummy.c | 8 ++++++++
> 1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/fsdev/qemu-fsdev-dummy.c b/fsdev/qemu-fsdev-dummy.c
> index 619e163..4e700dd 100644
> --- a/fsdev/qemu-fsdev-dummy.c
> +++ b/fsdev/qemu-fsdev-dummy.c
> @@ -13,8 +13,16 @@
> #include <stdio.h>
> #include <string.h>
> #include "qemu-fsdev.h"
> +#include "qemu-config.h"
>
> int qemu_fsdev_add(QemuOpts *opts)
> {
> return 0;
> }
> +
> +static void fsdev_register_config(void)
> +{
> + qemu_add_opts(&qemu_fsdev_opts);
> + qemu_add_opts(&qemu_virtfs_opts);
> +}
> +machine_init(fsdev_register_config);
> --
> 1.7.4.1
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-10 21:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-10 13:43 [Qemu-devel] [PATCH] hw/9pfs: Fix segfault on arch that doesn't support VirtFS Aneesh Kumar K.V
2011-06-10 21:00 ` Edgar E. Iglesias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).