[meta-freescale] [meta-fsl-ppc][PATCH] qemu_fslgit: backport 2 patches to fix build with texinfo-5

Luo Zhenhua-B19537 B19537 at freescale.com
Wed Jul 24 02:01:59 PDT 2013


Applied, thanks. 


Best Regards,

Zhenhua

> -----Original Message-----
> From: Liu Ting-B28495
> Sent: Friday, July 19, 2013 11:21 AM
> To: meta-freescale at yoctoproject.org
> Cc: Luo Zhenhua-B19537; Liu Ting-B28495
> Subject: [meta-fsl-ppc][PATCH] qemu_fslgit: backport 2 patches to fix
> build with texinfo-5
> 
> From: Ting Liu <b28495 at freescale.com>
> 
> (From OE-Core rev: af65260dbf17fcd47b6630db473d95f2f3225d68)
> 
> Fix the below error:
> |./qemu-options.texi:1521: unknown command `list'
> |./qemu-options.texi:1521: table requires an argument: the formatter for
> |@item
> |./qemu-options.texi:1521: warning: @table has text but no @item
> 
> Signed-off-by: Ting Liu <b28495 at freescale.com>
> ---
>  ...x-texinfo-table-markup-in-qemu-options.hx.patch |  201
> ++++++++++++++++++++
>  ...x-generating-qemu-doc.html-with-texinfo-5.patch |   54 ++++++
>  recipes-devtools/qemu/qemu_fslgit.bb               |    6 +-
>  3 files changed, 260 insertions(+), 1 deletions(-)  create mode 100644
> recipes-devtools/qemu/files/0001-doc-Fix-texinfo-table-markup-in-qemu-
> options.hx.patch
>  create mode 100644 recipes-devtools/qemu/files/0002-docs-Fix-generating-
> qemu-doc.html-with-texinfo-5.patch
> 
> diff --git a/recipes-devtools/qemu/files/0001-doc-Fix-texinfo-table-
> markup-in-qemu-options.hx.patch b/recipes-devtools/qemu/files/0001-doc-
> Fix-texinfo-table-markup-in-qemu-options.hx.patch
> new file mode 100644
> index 0000000..30daf29
> --- /dev/null
> +++ b/recipes-devtools/qemu/files/0001-doc-Fix-texinfo-table-markup-in-q
> +++ emu-options.hx.patch
> @@ -0,0 +1,201 @@
> +From 9a7146ca91c04d05af36684d8b3ca79c1254abc2 Mon Sep 17 00:00:00 2001
> +From: Markus Armbruster <armbru at redhat.com>
> +Date: Wed, 13 Feb 2013 19:49:40 +0100
> +Subject: [PATCH 1/2] doc: Fix texinfo @table markup in qemu-options.hx
> +
> +End tables before headings, start new ones afterwards.  Fixes incorrect
> +indentation of headings "File system options" and "Virtual File system
> +pass-through options" in manual page and qemu-doc.
> +
> +Normalize markup some to increase chances it survives future edits.
> +
> +Upstream-Status: Backport
> +
> +Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> +Signed-off-by: Markus Armbruster <armbru at redhat.com>
> +Reviewed-by: Stefan Hajnoczi <stefanha at redhat.com>
> +Message-id: 1360781383-28635-5-git-send-email-armbru at redhat.com
> +Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>
> +---
> + qemu-options.hx | 56
> ++++++++++++++++++++++++++++++++++++++-------------------
> + 1 file changed, 37 insertions(+), 19 deletions(-)
> +
> +diff --git a/qemu-options.hx b/qemu-options.hx index 9d7131a..54bd92a
> +100644
> +--- a/qemu-options.hx
> ++++ b/qemu-options.hx
> +@@ -537,13 +537,15 @@ STEXI
> + @end table
> + ETEXI
> +
> +-DEF("usb", 0, QEMU_OPTION_usb,
> +-    "-usb            enable the USB driver (will be the default
> soon)\n",
> +-    QEMU_ARCH_ALL)
> + STEXI
> + USB options:
> + @table @option
> ++ETEXI
> +
> ++DEF("usb", 0, QEMU_OPTION_usb,
> ++    "-usb            enable the USB driver (will be the default
> soon)\n",
> ++    QEMU_ARCH_ALL)
> ++STEXI
> + @item -usb
> + @findex -usb
> + Enable the USB driver (will be the default soon) @@ -610,9 +612,15 @@
> +possible drivers and properties, use @code{-device help} and
> + at code{-device @var{driver},help}.
> + ETEXI
> +
> ++STEXI
> ++ at end table
> ++ETEXI
> + DEFHEADING()
> +
> + DEFHEADING(File system options:)
> ++STEXI
> ++ at table @option
> ++ETEXI
> +
> + DEF("fsdev", HAS_ARG, QEMU_OPTION_fsdev,
> +     "-fsdev fsdriver,id=id[,path=path,][security_model={mapped-
> xattr|mapped-file|passthrough|none}]\n"
> +@@ -676,9 +684,15 @@ Specifies the tag name to be used by the guest to
> +mount this export point
> +
> + ETEXI
> +
> ++STEXI
> ++ at end table
> ++ETEXI
> + DEFHEADING()
> +
> + DEFHEADING(Virtual File system pass-through options:)
> ++STEXI
> ++ at table @option
> ++ETEXI
> +
> + DEF("virtfs", HAS_ARG, QEMU_OPTION_virtfs,
> +     "-virtfs local,path=path,mount_tag=tag,security_model=[mapped-
> xattr|mapped-file|passthrough|none]\n"
> +@@ -769,11 +783,9 @@ ETEXI
> + STEXI
> + @end table
> + ETEXI
> +-
> + DEFHEADING()
> +
> + DEFHEADING(Display options:)
> +-
> + STEXI
> + @table @option
> + ETEXI
> +@@ -1215,7 +1227,6 @@ ETEXI
> + STEXI
> + @end table
> + ETEXI
> +-
> + ARCHHEADING(, QEMU_ARCH_I386)
> +
> + ARCHHEADING(i386 target only:, QEMU_ARCH_I386) @@ -1301,10 +1312,10 @@
> +Specify SMBIOS type 0 fields  Specify SMBIOS type 1 fields  ETEXI
> +
> +-DEFHEADING()
> + STEXI
> + @end table
> + ETEXI
> ++DEFHEADING()
> +
> + DEFHEADING(Network options:)
> + STEXI
> +@@ -1718,13 +1729,19 @@ libpcap, so it can be analyzed with tools such
> as tcpdump or Wireshark.
> + Indicate that no network devices should be configured. It is used to
> +override the default configuration (@option{-net nic -net user}) which
> +is activated if no @option{-net} options are provided.
> ++ETEXI
> +
> ++STEXI
> + @end table
> + ETEXI
> +-
> + DEFHEADING()
> +
> + DEFHEADING(Character device options:)
> ++STEXI
> ++
> ++The general form of a character device option is:
> ++ at table @option
> ++ETEXI
> +
> + DEF("chardev", HAS_ARG, QEMU_OPTION_chardev,
> +     "-chardev null,id=id[,mux=on|off]\n"
> +@@ -1766,10 +1783,6 @@ DEF("chardev", HAS_ARG, QEMU_OPTION_chardev,
> + )
> +
> + STEXI
> +-
> +-The general form of a character device option is:
> +- at table @option
> +-
> + @item -chardev @var{backend} ,id=@var{id} [,mux=on|off]
> +[, at var{options}]  @findex -chardev  Backend is one of:
> +@@ -1990,14 +2003,15 @@ Connect to a spice virtual machine channel, such
> as vdiport.
> +
> + Connect to a spice port, allowing a Spice client to handle the traffic
> + identified by a name (preferably a fqdn).
> ++ETEXI
> +
> ++STEXI
> + @end table
> + ETEXI
> +-
> + DEFHEADING()
> +
> +-STEXI
> + DEFHEADING(Device URL Syntax:)
> ++STEXI
> +
> + In addition to using normal file images for the emulated storage
> +devices,  QEMU can also use networked resources such as iSCSI devices.
> +These are @@ -2113,10 +2127,16 @@ qemu-system-x86_84 --drive
> +file=gluster://192.0.2.1/testvol/a.img
> + @end example
> +
> + See also @url{http://www.gluster.org}.
> ++ETEXI
> ++
> ++STEXI
> + @end table
> + ETEXI
> +
> + DEFHEADING(Bluetooth(R) options:)
> ++STEXI
> ++ at table @option
> ++ETEXI
> +
> + DEF("bt", HAS_ARG, QEMU_OPTION_bt, \
> +     "-bt hci,null    dumb bluetooth HCI - doesn't respond to
> commands\n" \
> +@@ -2130,8 +2150,6 @@ DEF("bt", HAS_ARG, QEMU_OPTION_bt, \
> +     "                emulate a bluetooth device 'dev' in scatternet
> 'n'\n",
> +     QEMU_ARCH_ALL)
> + STEXI
> +- at table @option
> +-
> + @item -bt hci[...]
> + @findex -bt
> + Defines the function of the corresponding Bluetooth HCI.  -bt options
> +@@ -2183,9 +2201,11 @@ currently:
> + @item keyboard
> + Virtual wireless keyboard implementing the HIDP bluetooth profile.
> + @end table
> +- at end table
> + ETEXI
> +
> ++STEXI
> ++ at end table
> ++ETEXI
> + DEFHEADING()
> +
> + DEFHEADING(Linux/Multiboot boot specific:)
> +--
> +1.8.1.5
> +
> diff --git a/recipes-devtools/qemu/files/0002-docs-Fix-generating-qemu-
> doc.html-with-texinfo-5.patch b/recipes-devtools/qemu/files/0002-docs-
> Fix-generating-qemu-doc.html-with-texinfo-5.patch
> new file mode 100644
> index 0000000..cabbf0e
> --- /dev/null
> +++ b/recipes-devtools/qemu/files/0002-docs-Fix-generating-qemu-doc.html
> +++ -with-texinfo-5.patch
> @@ -0,0 +1,54 @@
> +From f983d4978e1c49ee936ad52bf2de0c531420f5f8 Mon Sep 17 00:00:00 2001
> +From: Cole Robinson <crobinso at redhat.com>
> +Date: Wed, 20 Feb 2013 07:20:31 +0000
> +Subject: [PATCH 2/2] docs: Fix generating qemu-doc.html with texinfo 5
> +
> +LC_ALL=C makeinfo --no-headers --no-split --number-sections --html
> +qemu-doc.texi -o qemu-doc.html
> +./qemu-options.texi:1521: unknown command `list'
> +./qemu-options.texi:1521: table requires an argument: the formatter for
> + at item
> +./qemu-options.texi:1521: warning: @table has text but no @item
> +
> +Upstream-Status: Pending
> +http://patchwork.ozlabs.org/patch/222131/
> +
> +CC: qemu-stable at nongnu.org
> +Signed-off-by: Cole Robinson <crobinso at redhat.com>
> +Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> +Reviewed-by: Markus Armbruster <armbru at redhat.com>
> +---
> + qemu-options.hx | 19 +++++++------------
> + 1 file changed, 7 insertions(+), 12 deletions(-)
> +
> +diff --git a/qemu-options.hx b/qemu-options.hx index 54bd92a..5d2d9b8
> +100644
> +--- a/qemu-options.hx
> ++++ b/qemu-options.hx
> +@@ -2089,18 +2089,13 @@ QEMU supports using either local sheepdog
> +devices or remote networked  devices.
> +
> + Syntax for specifying a sheepdog device - at table @list
> +-``sheepdog:<vdiname>''
> +-
> +-``sheepdog:<vdiname>:<snapid>''
> +-
> +-``sheepdog:<vdiname>:<tag>''
> +-
> +-``sheepdog:<host>:<port>:<vdiname>''
> +-
> +-``sheepdog:<host>:<port>:<vdiname>:<snapid>''
> +-
> +-``sheepdog:<host>:<port>:<vdiname>:<tag>''
> ++ at table @code
> ++ at item sheepdog:<vdiname>
> ++ at item sheepdog:<vdiname>:<snapid>
> ++ at item sheepdog:<vdiname>:<tag>
> ++ at item sheepdog:<host>:<port>:<vdiname> @item
> ++sheepdog:<host>:<port>:<vdiname>:<snapid>
> ++ at item sheepdog:<host>:<port>:<vdiname>:<tag>
> + @end table
> +
> + Example
> +--
> +1.8.1.5
> +
> diff --git a/recipes-devtools/qemu/qemu_fslgit.bb b/recipes-
> devtools/qemu/qemu_fslgit.bb
> index e3bb276..921bf2f 100644
> --- a/recipes-devtools/qemu/qemu_fslgit.bb
> +++ b/recipes-devtools/qemu/qemu_fslgit.bb
> @@ -9,7 +9,11 @@ PV = "1.4+fsl"
>  SRC_URI = "git://git.freescale.com/ppc/sdk/qemu.git"
>  SRCREV = "8713c58725df407dbbedb48fa315248d0100720c"
> 
> -SRC_URI += "file://fdt_header.patch"
> +SRC_URI += " \
> +   file://0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch \
> +   file://0002-docs-Fix-generating-qemu-doc.html-with-texinfo-5.patch \
> +   file://fdt_header.patch \
> +"
> 
>  S = "${WORKDIR}/git"
> 
> --
> 1.7.3.4





More information about the meta-freescale mailing list