Skip to contentSkip to conversation

Request for Pull

GIT PULL Venkateswararao Jujjuri 4 participants 8 messages Apr 27, 2011 – May 2, 2011 Kbuild

lore
Share & tools
lore
#0 lore raw

The following changes since commit 661bfc80e876d32da8befe53ba0234d87fc0bcc2:
Jan Kiszka (1):
pflash: Restore & fix lazy ROMD switching

are available in the git repository at:

git://repo.or.cz/qemu/aliguori/jvrao.git for-anthony

Aneesh Kumar K.V (3):
virtio-9p: move 9p files around
virtio-9p: Print the pdu details on return
virtio-9p: removexattr on default acl should return 0

Harsh Prateek Bora (2):
hw/virtio-9p-local.c: Remove unnecessary null char in symlink file
v9fs_walk: As per 9p2000 RFC, MAXWELEM >= nwnames >= 0.

M. Mohan Kumar (1):
virtio-9p: Bugfix to send correct iounit

Stefan Hajnoczi (1):
vl.c: Replace -virtfs string manipulation with QemuOpts

 Makefile.objs                        |   10 ++++--
 Makefile.target                      |    6 ++-
 configure                            |    2 +
 {hw => fsdev}/file-op-9p.h           |    0
 fsdev/qemu-fsdev.h                   |    2 +-
 hw/{ => 9pfs}/virtio-9p-debug.c      |    0
 hw/{ => 9pfs}/virtio-9p-debug.h      |    0
 hw/{ => 9pfs}/virtio-9p-local.c      |    2 +-
 hw/{ => 9pfs}/virtio-9p-posix-acl.c  |   17 ++++++++--
 hw/{ => 9pfs}/virtio-9p-xattr-user.c |    2 +-
 hw/{ => 9pfs}/virtio-9p-xattr.c      |    2 +-
 hw/{ => 9pfs}/virtio-9p-xattr.h      |    0
 hw/{ => 9pfs}/virtio-9p.c            |   14 ++++++--
 hw/{ => 9pfs}/virtio-9p.h            |    4 +-
 vl.c                                 |   56 
+++++++++++----------------------
 15 files changed, 62 insertions(+), 55 deletions(-)
 rename {hw => fsdev}/file-op-9p.h (100%)
 rename hw/{ => 9pfs}/virtio-9p-debug.c (100%)
 rename hw/{ => 9pfs}/virtio-9p-debug.h (100%)
 rename hw/{ => 9pfs}/virtio-9p-local.c (99%)
 rename hw/{ => 9pfs}/virtio-9p-posix-acl.c (88%)
 rename hw/{ => 9pfs}/virtio-9p-xattr-user.c (98%)
 rename hw/{ => 9pfs}/virtio-9p-xattr.c (99%)
 rename hw/{ => 9pfs}/virtio-9p-xattr.h (100%)
 rename hw/{ => 9pfs}/virtio-9p.c (99%)
 rename hw/{ => 9pfs}/virtio-9p.h (99%)
#1 lore raw
Quoted 8 lines · Venkateswararao Jujjuri

The following changes since commit
661bfc80e876d32da8befe53ba0234d87fc0bcc2:
Jan Kiszka (1):
pflash: Restore & fix lazy ROMD switching

are available in the git repository at:

git://repo.or.cz/qemu/aliguori/jvrao.git for-anthony

Pulled. Thanks.

Regards,

Anthony Liguori

Quoted 44 lines

Aneesh Kumar K.V (3):
virtio-9p: move 9p files around
virtio-9p: Print the pdu details on return
virtio-9p: removexattr on default acl should return 0

Harsh Prateek Bora (2):
hw/virtio-9p-local.c: Remove unnecessary null char in symlink file
v9fs_walk: As per 9p2000 RFC, MAXWELEM >= nwnames >= 0.

M. Mohan Kumar (1):
virtio-9p: Bugfix to send correct iounit

Stefan Hajnoczi (1):
vl.c: Replace -virtfs string manipulation with QemuOpts

Makefile.objs | 10 ++++--
Makefile.target | 6 ++-
configure | 2 +
{hw => fsdev}/file-op-9p.h | 0
fsdev/qemu-fsdev.h | 2 +-

hw/{ => 9pfs}/virtio-9p-debug.c | 0
hw/{ => 9pfs}/virtio-9p-debug.h | 0
hw/{ => 9pfs}/virtio-9p-local.c | 2 +-

hw/{ => 9pfs}/virtio-9p-posix-acl.c | 17 ++++++++-- hw/{ => 9pfs}/virtio-9p-xattr-user.c | 2 +- hw/{ => 9pfs}/virtio-9p-xattr.c | 2 +-
hw/{ => 9pfs}/virtio-9p-xattr.h | 0
hw/{ => 9pfs}/virtio-9p.c | 14 ++++++-- hw/{ => 9pfs}/virtio-9p.h | 4 +-
vl.c | 56 +++++++++++----------------------

15 files changed, 62 insertions(+), 55 deletions(-)

rename {hw => fsdev}/file-op-9p.h (100%)
rename hw/{ => 9pfs}/virtio-9p-debug.c (100%)
rename hw/{ => 9pfs}/virtio-9p-debug.h (100%)
rename hw/{ => 9pfs}/virtio-9p-local.c (99%)
rename hw/{ => 9pfs}/virtio-9p-posix-acl.c (88%)
rename hw/{ => 9pfs}/virtio-9p-xattr-user.c (98%)
rename hw/{ => 9pfs}/virtio-9p-xattr.c (99%)
rename hw/{ => 9pfs}/virtio-9p-xattr.h (100%)
rename hw/{ => 9pfs}/virtio-9p.c (99%)
rename hw/{ => 9pfs}/virtio-9p.h (99%)

#2 lore raw

Am 28.04.2011 15:56, schrieb Anthony Liguori:

Quoted 8 lines · Venkateswararao Jujjuri
Quoted 7 lines

The following changes since commit
661bfc80e876d32da8befe53ba0234d87fc0bcc2:
Jan Kiszka (1):
pflash: Restore & fix lazy ROMD switching

are available in the git repository at:

Quoted 7 lines
Quoted 1 line

git://repo.or.cz/qemu/aliguori/jvrao.git for-anthony

Pulled. Thanks.

Regards,

Anthony Liguori

This pull breaks compilation and linkage of latest QEMU:

* Compilation fails because of wrong include paths (caused by moved files). I just sent a patch to fix this issue.

* The linker fails for all system emulations without virtio. Example:

LINK cris-softmmu/qemu-system-cris ../fsdev/qemu-fsdev.o:(.data+0xc): undefined reference to `local_ops'

I could add virtio to all these emulations, but I think a better solution is required.

Regards,

Stefan Weil

#3 lore raw
Quoted 20 lines · Stefan Weil

Am 28.04.2011 15:56, schrieb Anthony Liguori:

Quoted 8 lines · Venkateswararao Jujjuri
Quoted 7 lines

The following changes since commit
661bfc80e876d32da8befe53ba0234d87fc0bcc2:
Jan Kiszka (1):
pflash: Restore & fix lazy ROMD switching

are available in the git repository at:

Quoted 7 lines
Quoted 1 line

git://repo.or.cz/qemu/aliguori/jvrao.git for-anthony

Pulled. Thanks.

Regards,

Anthony Liguori

This pull breaks compilation and linkage of latest QEMU:

Quoted 7 lines

* Compilation fails because of wrong include paths (caused by moved files). I just sent a patch to fix this issue.

* The linker fails for all system emulations without virtio. Example:

LINK cris-softmmu/qemu-system-cris ../fsdev/qemu-fsdev.o:(.data+0xc): undefined reference to `local_ops'

The use of CONFIG_REALLY_VIRTFS was wrong in the rename patch. I'll push a fix.

Regards,

Anthony Liguori

Quoted 9 lines

I could add virtio to all these emulations, but I think a better solution is required.

Regards,

Stefan Weil

#6 lore raw
In reply to Venkateswararao Jujjuri
Quoted 8 lines · Venkateswararao Jujjuri

The following changes since commit
661bfc80e876d32da8befe53ba0234d87fc0bcc2:
Jan Kiszka (1):
pflash: Restore & fix lazy ROMD switching

are available in the git repository at:

git://repo.or.cz/qemu/aliguori/jvrao.git for-anthony

It's pretty clear this pull request was done without doing a full build before hand.

I don't mean to single you out JV, but this happens too frequently with pull requests so let me be clear about this.

If you send me a pull request, you must do a FULL build before hand. That means not specifying a '--target-list' parameter.

Regards,

Anthony Liguori

Quoted 44 lines

Aneesh Kumar K.V (3):
virtio-9p: move 9p files around
virtio-9p: Print the pdu details on return
virtio-9p: removexattr on default acl should return 0

Harsh Prateek Bora (2):
hw/virtio-9p-local.c: Remove unnecessary null char in symlink file
v9fs_walk: As per 9p2000 RFC, MAXWELEM >= nwnames >= 0.

M. Mohan Kumar (1):
virtio-9p: Bugfix to send correct iounit

Stefan Hajnoczi (1):
vl.c: Replace -virtfs string manipulation with QemuOpts

Makefile.objs | 10 ++++--
Makefile.target | 6 ++-
configure | 2 +
{hw => fsdev}/file-op-9p.h | 0
fsdev/qemu-fsdev.h | 2 +-

hw/{ => 9pfs}/virtio-9p-debug.c | 0
hw/{ => 9pfs}/virtio-9p-debug.h | 0
hw/{ => 9pfs}/virtio-9p-local.c | 2 +-

hw/{ => 9pfs}/virtio-9p-posix-acl.c | 17 ++++++++-- hw/{ => 9pfs}/virtio-9p-xattr-user.c | 2 +- hw/{ => 9pfs}/virtio-9p-xattr.c | 2 +-
hw/{ => 9pfs}/virtio-9p-xattr.h | 0
hw/{ => 9pfs}/virtio-9p.c | 14 ++++++-- hw/{ => 9pfs}/virtio-9p.h | 4 +-
vl.c | 56 +++++++++++----------------------

15 files changed, 62 insertions(+), 55 deletions(-)

rename {hw => fsdev}/file-op-9p.h (100%)
rename hw/{ => 9pfs}/virtio-9p-debug.c (100%)
rename hw/{ => 9pfs}/virtio-9p-debug.h (100%)
rename hw/{ => 9pfs}/virtio-9p-local.c (99%)
rename hw/{ => 9pfs}/virtio-9p-posix-acl.c (88%)
rename hw/{ => 9pfs}/virtio-9p-xattr-user.c (98%)
rename hw/{ => 9pfs}/virtio-9p-xattr.c (99%)
rename hw/{ => 9pfs}/virtio-9p-xattr.h (100%)
rename hw/{ => 9pfs}/virtio-9p.c (99%)
rename hw/{ => 9pfs}/virtio-9p.h (99%)

#4 lore raw
In reply to Anthony Liguori
Quoted 24 lines · Anthony Liguori
Quoted 23 lines · Stefan Weil

Am 28.04.2011 15:56, schrieb Anthony Liguori:

Quoted 8 lines · Venkateswararao Jujjuri
Quoted 7 lines

The following changes since commit
661bfc80e876d32da8befe53ba0234d87fc0bcc2:
Jan Kiszka (1):
pflash: Restore & fix lazy ROMD switching

are available in the git repository at:

Quoted 7 lines
Quoted 1 line

git://repo.or.cz/qemu/aliguori/jvrao.git for-anthony

Pulled. Thanks.

Regards,

Anthony Liguori

This pull breaks compilation and linkage of latest QEMU:

* Compilation fails because of wrong include paths (caused by moved files). I just sent a patch to fix this issue.

Quoted 8 lines
Quoted 4 lines

* The linker fails for all system emulations without virtio. Example:

LINK cris-softmmu/qemu-system-cris ../fsdev/qemu-fsdev.o:(.data+0xc): undefined reference to `local_ops'

The use of CONFIG_REALLY_VIRTFS was wrong in the rename patch. I'll push a fix.

The change you committed will pull in lot of 9p related code even when virtfs is not really enabled right ? why not ?

Makefile.objs +1 -1
index 3833314..bbae9a4 100644
@@ -51,7 +51,7 @@ ifeq ($(CONFIG_VIRTIO)$(CONFIG_VIRTFS),yy)
 CONFIG_REALLY_VIRTFS=y
 endif
 fsdev-nested-$(CONFIG_VIRTFS) = qemu-fsdev.o
-fsdev-obj-$(CONFIG_VIRTFS) += $(addprefix fsdev/, $(fsdev-nested-y))
+fsdev-obj-$(CONFIG_REALLY_VIRTFS) += $(addprefix fsdev/, $(fsdev-nested-y))
 
 ######################################################################
 # libqemu_common.a: Target independent part of system emulation. The
vl.c +2 -2
index 14255c4..5a7810f 100644
@@ -1607,7 +1607,7 @@ static int chardev_init_func(QemuOpts *opts, void *opaque)
     return 0;
 }
 
-#ifdef CONFIG_VIRTFS
+#ifdef CONFIG_REALLY_VIRTFS
 static int fsdev_init_func(QemuOpts *opts, void *opaque)
 {
     int ret;
@@ -2822,7 +2822,7 @@ int main(int argc, char **argv, char **envp)
 
     if (qemu_opts_foreach(qemu_find_opts("chardev"), chardev_init_func, NULL, 1) != 0)
         exit(1);
-#ifdef CONFIG_VIRTFS
+#ifdef CONFIG_REALLY_VIRTFS
     if (qemu_opts_foreach(qemu_find_opts("fsdev"), fsdev_init_func, NULL, 1) != 0) {
         exit(1);
     }
#5 lore raw
Quoted 30 lines · Aneesh Kumar K.V
Quoted 29 lines · Anthony Liguori
Quoted 27 lines · Stefan Weil

Am 28.04.2011 15:56, schrieb Anthony Liguori:

Quoted 8 lines · Venkateswararao Jujjuri
Quoted 7 lines

The following changes since commit
661bfc80e876d32da8befe53ba0234d87fc0bcc2:
Jan Kiszka (1):
pflash: Restore & fix lazy ROMD switching

are available in the git repository at:

Quoted 7 lines
Quoted 1 line

git://repo.or.cz/qemu/aliguori/jvrao.git for-anthony

Pulled. Thanks.

Regards,

Anthony Liguori

This pull breaks compilation and linkage of latest QEMU:

* Compilation fails because of wrong include paths (caused by moved files). I just sent a patch to fix this issue.

* The linker fails for all system emulations without virtio. Example:

LINK cris-softmmu/qemu-system-cris ../fsdev/qemu-fsdev.o:(.data+0xc): undefined reference to `local_ops'

Quoted 7 lines
Quoted 3 lines

The use of CONFIG_REALLY_VIRTFS was wrong in the rename patch. I'll push a fix.

The change you committed will pull in lot of 9p related code even when virtfs is not really enabled right ? why not ?

Updated one which is tested.

Quoted 1 line

From 454d36bf1bd7605637897bf87a93cd18c8d29b1b Mon Sep 17 00:00:00 2001

From: Aneesh Kumar K.V <[email protected]>
Date: Fri, 29 Apr 2011 14:32:10 +0530
Subject: [PATCH] virtio-9p: Don't link to 9p if virtio is not enabled

If virtio is not enabled then we should not pull in virtfs files

---
 Makefile.objs            |    8 +++++---
 fsdev/qemu-fsdev-dummy.c |   21 +++++++++++++++++++++
 2 files changed, 26 insertions(+), 3 deletions(-)
 create mode 100644 fsdev/qemu-fsdev-dummy.c
Makefile.objs +5 -3
index 9d8851e..0668e0a 100644
@@ -49,8 +49,10 @@ ifeq ($(CONFIG_VIRTIO)$(CONFIG_VIRTFS),yy)
 # Lots of the fsdev/9pcode is pulled in by vl.c via qemu_fsdev_add.
 # only pull in the actual virtio-9p device if we also enabled virtio.
 CONFIG_REALLY_VIRTFS=y
+fsdev-nested-y = qemu-fsdev.o
+else
+fsdev-nested-y = qemu-fsdev-dummy.o
 endif
-fsdev-nested-$(CONFIG_VIRTFS) = qemu-fsdev.o
 fsdev-obj-$(CONFIG_VIRTFS) += $(addprefix fsdev/, $(fsdev-nested-y))
 
 ######################################################################
@@ -285,11 +287,11 @@ sound-obj-$(CONFIG_HDA) += intel-hda.o hda-audio.o
 adlib.o fmopl.o: QEMU_CFLAGS += -DBUILD_Y8950=0
 hw-obj-$(CONFIG_SOUND) += $(sound-obj-y)
 
-9pfs-nested-$(CONFIG_REALLY_VIRTFS) = virtio-9p-debug.o
+9pfs-nested-$(CONFIG_VIRTFS) = virtio-9p-debug.o
 9pfs-nested-$(CONFIG_VIRTFS) +=  virtio-9p-local.o virtio-9p-xattr.o
 9pfs-nested-$(CONFIG_VIRTFS) +=   virtio-9p-xattr-user.o virtio-9p-posix-acl.o
 
-hw-obj-$(CONFIG_VIRTFS) += $(addprefix 9pfs/, $(9pfs-nested-y))
+hw-obj-$(CONFIG_REALLY_VIRTFS) += $(addprefix 9pfs/, $(9pfs-nested-y))
 $(addprefix 9pfs/, $(9pfs-nested-y)): CFLAGS +=  -I$(SRC_PATH)/hw/
 
 
fsdev/qemu-fsdev-dummy.c new file +21 -0
new file mode 100644
index 0000000..6a51f60
@@ -0,0 +1,21 @@
+/*
+ * Virtio 9p
+ *
+ * Copyright IBM, Corp. 2010
+ *
+ * Authors:
+ *  Gautham R Shenoy <[email protected]>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.  See
+ * the COPYING file in the top-level directory.
+ *
+ */
+#include <stdio.h>
+#include <string.h>
+#include "qemu-fsdev.h"
+
+int qemu_fsdev_add(QemuOpts *opts)
+{
+    return 0;
+}
+
Signature · 1 line
1.7.4.1
#7 lore raw
In reply to Anthony Liguori
Quoted 8 lines · Anthony Liguori
Quoted 7 lines · Venkateswararao Jujjuri

The following changes since commit
661bfc80e876d32da8befe53ba0234d87fc0bcc2:
Jan Kiszka (1):
pflash: Restore & fix lazy ROMD switching

are available in the git repository at:

Quoted 7 lines
Quoted 1 line

git://repo.or.cz/qemu/aliguori/jvrao.git for-anthony

It's pretty clear this pull request was done without doing a full build before hand.

I don't mean to single you out JV, but this happens too frequently with pull requests so let me be clear about this.

If you send me a pull request, you must do a FULL build before hand. That means not specifying a '--target-list' parameter.

I ran and tested for x86. I am unaware of this.
From now on, I will make sure not to specify ' target-list ' for the PULL validation build.

Regards,
JV

Quoted 50 lines

Regards,

Anthony Liguori

Quoted 44 lines

Aneesh Kumar K.V (3):
virtio-9p: move 9p files around
virtio-9p: Print the pdu details on return
virtio-9p: removexattr on default acl should return 0

Harsh Prateek Bora (2):
hw/virtio-9p-local.c: Remove unnecessary null char in symlink file
v9fs_walk: As per 9p2000 RFC, MAXWELEM >= nwnames >= 0.

M. Mohan Kumar (1):
virtio-9p: Bugfix to send correct iounit

Stefan Hajnoczi (1):
vl.c: Replace -virtfs string manipulation with QemuOpts

Makefile.objs | 10 ++++--
Makefile.target | 6 ++-
configure | 2 +
{hw => fsdev}/file-op-9p.h | 0
fsdev/qemu-fsdev.h | 2 +-

hw/{ => 9pfs}/virtio-9p-debug.c | 0
hw/{ => 9pfs}/virtio-9p-debug.h | 0
hw/{ => 9pfs}/virtio-9p-local.c | 2 +-

hw/{ => 9pfs}/virtio-9p-posix-acl.c | 17 ++++++++-- hw/{ => 9pfs}/virtio-9p-xattr-user.c | 2 +- hw/{ => 9pfs}/virtio-9p-xattr.c | 2 +-
hw/{ => 9pfs}/virtio-9p-xattr.h | 0
hw/{ => 9pfs}/virtio-9p.c | 14 ++++++-- hw/{ => 9pfs}/virtio-9p.h | 4 +-
vl.c | 56 +++++++++++----------------------

15 files changed, 62 insertions(+), 55 deletions(-)

rename {hw => fsdev}/file-op-9p.h (100%)
rename hw/{ => 9pfs}/virtio-9p-debug.c (100%)
rename hw/{ => 9pfs}/virtio-9p-debug.h (100%)
rename hw/{ => 9pfs}/virtio-9p-local.c (99%)
rename hw/{ => 9pfs}/virtio-9p-posix-acl.c (88%)
rename hw/{ => 9pfs}/virtio-9p-xattr-user.c (98%)
rename hw/{ => 9pfs}/virtio-9p-xattr.c (99%)
rename hw/{ => 9pfs}/virtio-9p-xattr.h (100%)
rename hw/{ => 9pfs}/virtio-9p.c (99%)
rename hw/{ => 9pfs}/virtio-9p.h (99%)