Re: [OE-core] [PATCH] qemu: update to 1.5.0

2013-06-11 Thread Saul Wold

On 06/10/2013 04:37 AM, Riku Voipio wrote:

On 6 June 2013 16:54, Saul Wold s...@linux.intel.com wrote:

On 06/06/2013 05:08 AM, Riku Voipio wrote:


Patches removed:

0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
   - applied
0002-docs-Fix-generating-qemu-doc.html-with-texinfo-5.patch
   - fixed different upstream
Revert-vmware_vga-Add-back-some-info-in-local-state-.patch
   - fixed different upstream
arm-bgr.patch
   - this should be also fixed upstream, if still issue please resend.
fallback-to-safe-mmap_min_addr.patch
   - this should be also fixed upstream, if still issue please resend.
linker-flags.patch
   - unneeded with makefile changes

from configure the obsolete --audio-cards-list option has been removed.



Please describe how this was tested, as Qemu is a core part of OE-core we
have seen past failures on version updates.  It's important to do
multi-architecture builds and execution with graphics.



Also will it build target binaries (for example the build appliance uses
qemu on the target) we have seen failures there also on updates.


I've only tested building ARMv5 and ARMv7 systemd-gnome-images (which
use qemu-native at some point of build. I just tested also building
qemu for arm target and it builds fine. Differences between 1.4.1 and
1.5 in upstream are not that major that they should cause breakage in
typical usecases. Setting IMAGETEST=qemu did start qemu but the
image didn't start. That however didn't work with 1.4.1 either.



It really needs to be tested on more ARCHs other than ARM.

What kind of failure do you see with IMAGETEST, this works as we use it 
all the time for the Autobuilder Sanity Testing.


Sau!


Riku


Thanks

Sau!



---
   ...x-texinfo-table-markup-in-qemu-options.hx.patch |  213

   ...x-generating-qemu-doc.html-with-texinfo-5.patch |   54 -
   ...re_vga-Add-back-some-info-in-local-state-.patch |  114 ---
   meta/recipes-devtools/qemu/files/arm-bgr.patch |   30 ---
   .../files/fallback-to-safe-mmap_min_addr.patch |   39 
   .../recipes-devtools/qemu/files/linker-flags.patch |   25 ---
   meta/recipes-devtools/qemu/qemu.inc|7 +-
   .../qemu/{qemu_1.4.1.bb = qemu_1.5.0.bb}  |4 +-
   8 files changed, 3 insertions(+), 483 deletions(-)
   delete mode 100644
meta/recipes-devtools/qemu/files/0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
   delete mode 100644
meta/recipes-devtools/qemu/files/0002-docs-Fix-generating-qemu-doc.html-with-texinfo-5.patch
   delete mode 100644
meta/recipes-devtools/qemu/files/Revert-vmware_vga-Add-back-some-info-in-local-state-.patch
   delete mode 100644 meta/recipes-devtools/qemu/files/arm-bgr.patch
   delete mode 100644
meta/recipes-devtools/qemu/files/fallback-to-safe-mmap_min_addr.patch
   delete mode 100644 meta/recipes-devtools/qemu/files/linker-flags.patch
   rename meta/recipes-devtools/qemu/{qemu_1.4.1.bb = qemu_1.5.0.bb} (67%)

diff --git
a/meta/recipes-devtools/qemu/files/0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
b/meta/recipes-devtools/qemu/files/0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
deleted file mode 100644
index 9435cfe..000
---
a/meta/recipes-devtools/qemu/files/0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
+++ /dev/null
@@ -1,213 +0,0 @@
-From 9a7146ca91c04d05af36684d8b3ca79c1254abc2 Mon Sep 17 00:00:00 2001
-From: Markus Armbruster arm...@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.ja...@gmail.com
-Signed-off-by: Markus Armbruster arm...@redhat.com
-Reviewed-by: Stefan Hajnoczi stefa...@redhat.com
-Message-id: 1360781383-28635-5-git-send-email-arm...@redhat.com
-Signed-off-by: Anthony Liguori aligu...@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,
---usbenable the USB driver (will be the default
soon)\n,
--QEMU_ARCH_ALL)
- STEXI
- USB options:
- @table @option
-+ETEXI
-
-+DEF(usb, 0, QEMU_OPTION_usb,
-+-usbenable 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
- @code{-device @var{driver},help}.
- ETEXI
-
-+STEXI
-+@end table
-+ETEXI
- 

Re: [OE-core] [PATCH] qemu: update to 1.5.0

2013-06-10 Thread Riku Voipio
On 6 June 2013 16:54, Saul Wold s...@linux.intel.com wrote:
 On 06/06/2013 05:08 AM, Riku Voipio wrote:

 Patches removed:

 0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
   - applied
 0002-docs-Fix-generating-qemu-doc.html-with-texinfo-5.patch
   - fixed different upstream
 Revert-vmware_vga-Add-back-some-info-in-local-state-.patch
   - fixed different upstream
 arm-bgr.patch
   - this should be also fixed upstream, if still issue please resend.
 fallback-to-safe-mmap_min_addr.patch
   - this should be also fixed upstream, if still issue please resend.
 linker-flags.patch
   - unneeded with makefile changes

 from configure the obsolete --audio-cards-list option has been removed.

 Please describe how this was tested, as Qemu is a core part of OE-core we
 have seen past failures on version updates.  It's important to do
 multi-architecture builds and execution with graphics.

 Also will it build target binaries (for example the build appliance uses
 qemu on the target) we have seen failures there also on updates.

I've only tested building ARMv5 and ARMv7 systemd-gnome-images (which
use qemu-native at some point of build. I just tested also building
qemu for arm target and it builds fine. Differences between 1.4.1 and
1.5 in upstream are not that major that they should cause breakage in
typical usecases. Setting IMAGETEST=qemu did start qemu but the
image didn't start. That however didn't work with 1.4.1 either.

Riku

 Thanks

 Sau!


 ---
   ...x-texinfo-table-markup-in-qemu-options.hx.patch |  213
 
   ...x-generating-qemu-doc.html-with-texinfo-5.patch |   54 -
   ...re_vga-Add-back-some-info-in-local-state-.patch |  114 ---
   meta/recipes-devtools/qemu/files/arm-bgr.patch |   30 ---
   .../files/fallback-to-safe-mmap_min_addr.patch |   39 
   .../recipes-devtools/qemu/files/linker-flags.patch |   25 ---
   meta/recipes-devtools/qemu/qemu.inc|7 +-
   .../qemu/{qemu_1.4.1.bb = qemu_1.5.0.bb}  |4 +-
   8 files changed, 3 insertions(+), 483 deletions(-)
   delete mode 100644
 meta/recipes-devtools/qemu/files/0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
   delete mode 100644
 meta/recipes-devtools/qemu/files/0002-docs-Fix-generating-qemu-doc.html-with-texinfo-5.patch
   delete mode 100644
 meta/recipes-devtools/qemu/files/Revert-vmware_vga-Add-back-some-info-in-local-state-.patch
   delete mode 100644 meta/recipes-devtools/qemu/files/arm-bgr.patch
   delete mode 100644
 meta/recipes-devtools/qemu/files/fallback-to-safe-mmap_min_addr.patch
   delete mode 100644 meta/recipes-devtools/qemu/files/linker-flags.patch
   rename meta/recipes-devtools/qemu/{qemu_1.4.1.bb = qemu_1.5.0.bb} (67%)

 diff --git
 a/meta/recipes-devtools/qemu/files/0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
 b/meta/recipes-devtools/qemu/files/0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
 deleted file mode 100644
 index 9435cfe..000
 ---
 a/meta/recipes-devtools/qemu/files/0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
 +++ /dev/null
 @@ -1,213 +0,0 @@
 -From 9a7146ca91c04d05af36684d8b3ca79c1254abc2 Mon Sep 17 00:00:00 2001
 -From: Markus Armbruster arm...@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.ja...@gmail.com
 -Signed-off-by: Markus Armbruster arm...@redhat.com
 -Reviewed-by: Stefan Hajnoczi stefa...@redhat.com
 -Message-id: 1360781383-28635-5-git-send-email-arm...@redhat.com
 -Signed-off-by: Anthony Liguori aligu...@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,
 ---usbenable the USB driver (will be the default
 soon)\n,
 --QEMU_ARCH_ALL)
 - STEXI
 - USB options:
 - @table @option
 -+ETEXI
 -
 -+DEF(usb, 0, QEMU_OPTION_usb,
 -+-usbenable 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
 - @code{-device @var{driver},help}.
 - ETEXI
 -
 -+STEXI
 -+@end table
 -+ETEXI
 - DEFHEADING()
 -
 - DEFHEADING(File system options:)
 -+STEXI
 -+@table @option
 -+ETEXI
 -
 - DEF(fsdev, HAS_ARG, QEMU_OPTION_fsdev,
 - -fsdev
 

[OE-core] [PATCH] qemu: update to 1.5.0

2013-06-06 Thread Riku Voipio
Patches removed:

0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
 - applied
0002-docs-Fix-generating-qemu-doc.html-with-texinfo-5.patch
 - fixed different upstream
Revert-vmware_vga-Add-back-some-info-in-local-state-.patch
 - fixed different upstream
arm-bgr.patch
 - this should be also fixed upstream, if still issue please resend.
fallback-to-safe-mmap_min_addr.patch
 - this should be also fixed upstream, if still issue please resend.
linker-flags.patch
 - unneeded with makefile changes

from configure the obsolete --audio-cards-list option has been removed.
---
 ...x-texinfo-table-markup-in-qemu-options.hx.patch |  213 
 ...x-generating-qemu-doc.html-with-texinfo-5.patch |   54 -
 ...re_vga-Add-back-some-info-in-local-state-.patch |  114 ---
 meta/recipes-devtools/qemu/files/arm-bgr.patch |   30 ---
 .../files/fallback-to-safe-mmap_min_addr.patch |   39 
 .../recipes-devtools/qemu/files/linker-flags.patch |   25 ---
 meta/recipes-devtools/qemu/qemu.inc|7 +-
 .../qemu/{qemu_1.4.1.bb = qemu_1.5.0.bb}  |4 +-
 8 files changed, 3 insertions(+), 483 deletions(-)
 delete mode 100644 
meta/recipes-devtools/qemu/files/0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
 delete mode 100644 
meta/recipes-devtools/qemu/files/0002-docs-Fix-generating-qemu-doc.html-with-texinfo-5.patch
 delete mode 100644 
meta/recipes-devtools/qemu/files/Revert-vmware_vga-Add-back-some-info-in-local-state-.patch
 delete mode 100644 meta/recipes-devtools/qemu/files/arm-bgr.patch
 delete mode 100644 
meta/recipes-devtools/qemu/files/fallback-to-safe-mmap_min_addr.patch
 delete mode 100644 meta/recipes-devtools/qemu/files/linker-flags.patch
 rename meta/recipes-devtools/qemu/{qemu_1.4.1.bb = qemu_1.5.0.bb} (67%)

diff --git 
a/meta/recipes-devtools/qemu/files/0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
 
b/meta/recipes-devtools/qemu/files/0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
deleted file mode 100644
index 9435cfe..000
--- 
a/meta/recipes-devtools/qemu/files/0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
+++ /dev/null
@@ -1,213 +0,0 @@
-From 9a7146ca91c04d05af36684d8b3ca79c1254abc2 Mon Sep 17 00:00:00 2001
-From: Markus Armbruster arm...@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.ja...@gmail.com
-Signed-off-by: Markus Armbruster arm...@redhat.com
-Reviewed-by: Stefan Hajnoczi stefa...@redhat.com
-Message-id: 1360781383-28635-5-git-send-email-arm...@redhat.com
-Signed-off-by: Anthony Liguori aligu...@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,
---usbenable the USB driver (will be the default soon)\n,
--QEMU_ARCH_ALL)
- STEXI
- USB options:
- @table @option
-+ETEXI
- 
-+DEF(usb, 0, QEMU_OPTION_usb,
-+-usbenable 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
- @code{-device @var{driver},help}.
- ETEXI
- 
-+STEXI
-+@end table
-+ETEXI
- DEFHEADING()
- 
- DEFHEADING(File system options:)
-+STEXI
-+@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
-+@end table
-+ETEXI
- DEFHEADING()
- 
- DEFHEADING(Virtual File system pass-through options:)
-+STEXI
-+@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 @@ 

Re: [OE-core] [PATCH] qemu: update to 1.5.0

2013-06-06 Thread Saul Wold

On 06/06/2013 05:08 AM, Riku Voipio wrote:

Patches removed:

0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
  - applied
0002-docs-Fix-generating-qemu-doc.html-with-texinfo-5.patch
  - fixed different upstream
Revert-vmware_vga-Add-back-some-info-in-local-state-.patch
  - fixed different upstream
arm-bgr.patch
  - this should be also fixed upstream, if still issue please resend.
fallback-to-safe-mmap_min_addr.patch
  - this should be also fixed upstream, if still issue please resend.
linker-flags.patch
  - unneeded with makefile changes

from configure the obsolete --audio-cards-list option has been removed.


Please describe how this was tested, as Qemu is a core part of OE-core 
we have seen past failures on version updates.  It's important to do 
multi-architecture builds and execution with graphics.


Also will it build target binaries (for example the build appliance uses 
qemu on the target) we have seen failures there also on updates.


Thanks

Sau!


---
  ...x-texinfo-table-markup-in-qemu-options.hx.patch |  213 
  ...x-generating-qemu-doc.html-with-texinfo-5.patch |   54 -
  ...re_vga-Add-back-some-info-in-local-state-.patch |  114 ---
  meta/recipes-devtools/qemu/files/arm-bgr.patch |   30 ---
  .../files/fallback-to-safe-mmap_min_addr.patch |   39 
  .../recipes-devtools/qemu/files/linker-flags.patch |   25 ---
  meta/recipes-devtools/qemu/qemu.inc|7 +-
  .../qemu/{qemu_1.4.1.bb = qemu_1.5.0.bb}  |4 +-
  8 files changed, 3 insertions(+), 483 deletions(-)
  delete mode 100644 
meta/recipes-devtools/qemu/files/0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
  delete mode 100644 
meta/recipes-devtools/qemu/files/0002-docs-Fix-generating-qemu-doc.html-with-texinfo-5.patch
  delete mode 100644 
meta/recipes-devtools/qemu/files/Revert-vmware_vga-Add-back-some-info-in-local-state-.patch
  delete mode 100644 meta/recipes-devtools/qemu/files/arm-bgr.patch
  delete mode 100644 
meta/recipes-devtools/qemu/files/fallback-to-safe-mmap_min_addr.patch
  delete mode 100644 meta/recipes-devtools/qemu/files/linker-flags.patch
  rename meta/recipes-devtools/qemu/{qemu_1.4.1.bb = qemu_1.5.0.bb} (67%)

diff --git 
a/meta/recipes-devtools/qemu/files/0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
 
b/meta/recipes-devtools/qemu/files/0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
deleted file mode 100644
index 9435cfe..000
--- 
a/meta/recipes-devtools/qemu/files/0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
+++ /dev/null
@@ -1,213 +0,0 @@
-From 9a7146ca91c04d05af36684d8b3ca79c1254abc2 Mon Sep 17 00:00:00 2001
-From: Markus Armbruster arm...@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.ja...@gmail.com
-Signed-off-by: Markus Armbruster arm...@redhat.com
-Reviewed-by: Stefan Hajnoczi stefa...@redhat.com
-Message-id: 1360781383-28635-5-git-send-email-arm...@redhat.com
-Signed-off-by: Anthony Liguori aligu...@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,
---usbenable the USB driver (will be the default soon)\n,
--QEMU_ARCH_ALL)
- STEXI
- USB options:
- @table @option
-+ETEXI
-
-+DEF(usb, 0, QEMU_OPTION_usb,
-+-usbenable 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
- @code{-device @var{driver},help}.
- ETEXI
-
-+STEXI
-+@end table
-+ETEXI
- DEFHEADING()
-
- DEFHEADING(File system options:)
-+STEXI
-+@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
-+@end table
-+ETEXI
- DEFHEADING()
-
- DEFHEADING(Virtual File system pass-through options:)
-+STEXI
-+@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