• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hajee / easy_type / 47
88%
master: 83%

Build:
Build:
LAST BUILD BRANCH: jenkins
DEFAULT BRANCH: master
Ran 12 Jan 2016 08:56AM UTC
Jobs 18
Files 46
Run time 11min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
47

push

travis-ci

Alexander Graf
ppc: fix -mem-path failure

commit e938ba0c tried to enable -mem-path for ppc but breaked some ppc
boards.

The problems are:

1. it fails when allocating memory for rom, sram whose sizes are less
   than huge page size:

   ./ppc-softmmu/qemu-system-ppc  -m 512 -mem-path /hugepages/ \
   -kernel /home/hutao/Downloads/vmlinux-ppc -initrd \
   /home/hutao/Downloads/initrd-ppc.gz
   qemu-system-ppc: /mnt/data/projects/qemu/exec.c:1184: qemu_ram_set_idstr: Assertion `new_block' failed.

2. if there is a numa node backed by memory backend object, qemu fails
   with message:

   ./ppc-softmmu/qemu-system-ppc  -m 512 \
   -object memory-backend-file,size=512M,mem-path=/hugepages,id=f0 \
   -numa node,nodeid=0,memdev=f0 \
   -kernel /home/hutao/Downloads/vmlinux-ppc \
   -initrd /home/hutao/Downloads/initrd-ppc.gz
   qemu-system-ppc: memory backend f0 is used multiple times. Each -numa option must use a different memdev value.

This patch does following:

1. replaces memory_region_allocate_system_memory() with
   memory_region_init_ram() for rom, sram. Then only system memory
   is backed by hugepages when specifying mem-path.

2. for memory banks, allocates all ram with
   one memory_region_allocate_system_memory(), and use
   memory_region_init_alias() to initialize memory banks.

Tested machines: default(g3beige), mac99, taihu, bamboo, ref405ep.

Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Signed-off-by: Alexander Graf <agraf@suse.de>

1596 of 1813 relevant lines covered (88.03%)

119.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 47.1 (TARGETS=alpha-softmmu,alpha-linux-user) 12 Jan 2016 08:56AM UTC 0
87.95
Travis Job 47.1
2 47.2 (TARGETS=arm-softmmu,arm-linux-user) 12 Jan 2016 08:58AM UTC 0
87.95
Travis Job 47.2
3 47.3 (TARGETS=aarch64-softmmu,aarch64-linux-user) 12 Jan 2016 08:57AM UTC 0
87.95
Travis Job 47.3
4 47.4 (TARGETS=cris-softmmu) 12 Jan 2016 08:59AM UTC 0
87.95
Travis Job 47.4
5 47.5 (TARGETS=i386-softmmu,x86_64-softmmu) 12 Jan 2016 09:01AM UTC 0
87.95
Travis Job 47.5
6 47.6 (TARGETS=lm32-softmmu) 12 Jan 2016 09:00AM UTC 0
87.95
Travis Job 47.6
7 47.7 (TARGETS=m68k-softmmu) 12 Jan 2016 09:01AM UTC 0
87.95
Travis Job 47.7
8 47.8 (TARGETS=microblaze-softmmu,microblazeel-softmmu) 12 Jan 2016 09:02AM UTC 0
87.95
Travis Job 47.8
9 47.9 (TARGETS=mips-softmmu,mips64-softmmu,mips64el-softmmu,mipsel-softmmu) 12 Jan 2016 09:04AM UTC 0
87.95
Travis Job 47.9
10 47.10 (TARGETS=moxie-softmmu) 12 Jan 2016 09:03AM UTC 0
87.95
Travis Job 47.10
11 47.11 (TARGETS=or32-softmmu,) 12 Jan 2016 09:04AM UTC 0
87.95
Travis Job 47.11
12 47.12 (TARGETS=ppc-softmmu,ppc64-softmmu,ppcemb-softmmu) 12 Jan 2016 09:05AM UTC 0
87.95
Travis Job 47.12
13 47.13 (TARGETS=s390x-softmmu) 12 Jan 2016 09:05AM UTC 0
87.95
Travis Job 47.13
14 47.14 (TARGETS=sh4-softmmu,sh4eb-softmmu) 12 Jan 2016 09:06AM UTC 0
87.95
Travis Job 47.14
15 47.15 (TARGETS=sparc-softmmu,sparc64-softmmu) 12 Jan 2016 09:06AM UTC 0
87.95
Travis Job 47.15
16 47.16 (TARGETS=unicore32-softmmu) 12 Jan 2016 09:07AM UTC 0
87.95
Travis Job 47.16
17 47.17 (TARGETS=xtensa-softmmu,xtensaeb-softmmu) 12 Jan 2016 09:07AM UTC 0
87.95
Travis Job 47.17
18 47.18 (TARGETS=alpha-softmmu,alpha-linux-user) 12 Jan 2016 09:08AM UTC 0
87.95
Travis Job 47.18
Source Files on build 47
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #47
  • d2994668 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc