From: Li Liu
The outputed stream format is compatile with
'dtc -I dtb -O dts xxx.dtb'.
Signed-off-by: Li Liu
---
device_tree.c | 80 +
1 file changed, 80 insertions(+)
diff --git a/device_tree.c b/device_tree.c
index 14d4015..1e407d2 1
From: Li Liu
dts property's value can be multiple strings. So introduce a function
to check a data with a given length to see if it is all printable and
has a valid terminator. It can contain either a single string, or
multiple strings each of non-zero length.
Signed-off-by: Li Liu
---
device_
From: Li Liu
This patchset let qemu can convert dtb file to dts for two demands:
Some archtectures may generate the dtb file dynamically through
qemu device tree functions. So this let it's possiable to dump final
dtb to dts and save it as a reference.
For novices to debugging the issues caused
From: Li Liu
dump three kind data types 'strings', 'cell' and 'bytes' of dts
to a file desciptor.
Signed-off-by: Li Liu
---
device_tree.c | 39 +++
1 file changed, 39 insertions(+)
diff --git a/device_tree.c b/device_tree.c
index 29d9acc..14d4015 100644
-
From: Li Liu
add the main function to analyse the parameter 'dumpdts' as a
filename the dts will be dumped to.
Signed-off-by: Li Liu
---
device_tree.c| 21 +
include/sysemu/device_tree.h |1 +
2 files changed, 22 insertions(+)
diff --git a/device_tree
From: Li Liu
Signed-off-by: Li Liu
---
vl.c |4
1 file changed, 4 insertions(+)
diff --git a/vl.c b/vl.c
index b796c67..853f748 100644
--- a/vl.c
+++ b/vl.c
@@ -357,6 +357,10 @@ static QemuOptsList qemu_machine_opts = {
.type = QEMU_OPT_STRING,
.help = "Dump
From: Li Liu
By calling qemu_fdt_dumdts before qemu_fdt_dumpdtb.
Signed-off-by: Li Liu
---
hw/arm/boot.c |1 +
1 file changed, 1 insertion(+)
diff --git a/hw/arm/boot.c b/hw/arm/boot.c
index e32f2f4..18cc8ac 100644
--- a/hw/arm/boot.c
+++ b/hw/arm/boot.c
@@ -394,6 +394,7 @@ static int loa
From: Li Liu
Signed-off-by: Li Liu
---
device_tree.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/device_tree.c b/device_tree.c
index ca83504..ccdb039 100644
--- a/device_tree.c
+++ b/device_tree.c
@@ -79,7 +79,7 @@ void *load_device_tree(const char *filename_p
From: Li Liu
Reviewed-by: Peter Crosthwaite
Signed-off-by: Li Liu
---
changes v1 -> v2:
1) fix indent issue as peter suggested.
2) dump all err mesages with error_report.
---
device_tree.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/device_tree.c b/d
From: Li Liu
Signed-off-by: Li Liu
---
device_tree.c | 40
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/device_tree.c b/device_tree.c
index 9d47195..df9eed9 100644
--- a/device_tree.c
+++ b/device_tree.c
@@ -60,13 +60,13 @@ void *cre
From: Li Liu
Eeay to reproduce, just try "qemu -monitor stdio -nographic"
and type "quit", then the terminal will be crashed.
There are two pathes try to call tcgetattr of stdio in vl.c:
1) Monitor_parse(optarg, "readline");
.
qemu_opts_foreach(qemu_find_opts("chardev"),
From: Li Liu
qtest_log_fp should be inited before qemu_chr_add_handlers.
If not the log dumped from callback functions may be lost.
easy to reproduce it by command:
"QTEST_LOG=1 QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64
gtester -k --verbose -m=quick tests/qdev-monitor-test"
The log "[
From: Li Liu
This irq handler will get the interrupt reason from a
shared memory. And will be assigned only while irqfd
enabled.
Signed-off-by: Li Liu
---
drivers/virtio/virtio_mmio.c | 34 --
1 file changed, 32 insertions(+), 2 deletions(-)
diff --git a/driv
From: Li Liu
This set of patches try to implemet irqfd support of vhost-net
based on virtio-mmio.
I had posted a mail to talking about the status of vhost-net
on kvm-arm refer to http://www.spinics.net/lists/kvm-arm/msg10804.html.
Some dependent patches are listed in the mail too. Basically th
From: Li Liu
Add a new register offset VIRTIO_MMIO_ISRMEM which help to
estblish a shared memory region between virtio-mmio driver
and qemu with two purposes:
1.Guest virtio-mmio driver can get the interrupt reason.
2.Check irqfd enabled or not to register different irq handler.
Signed-off-by:
From: Li Liu
All qerror_report_err returned none NULL pointers need to
be freed, otherwise will cause memory leaking.
Although this place did not cause real memory leaking by exit,
obviously it's not correct to use qerror_report_err
without error_free it.
Signed-off-by: Li Liu
---
numa.c |
From: Li Liu
qtest_log_fp should be inited before qemu_chr_add_handlers.
If not the log dumped from callback functions may be lost.
easy to reproduce it by command:
"QTEST_LOG=1 QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64
gtester -k --verbose -m=quick tests/qdev-monitor-test"
The log "[
From: Li Liu
Eeay to reproduce, just try "qemu -monitor stdio -nographic"
and type "quit", then the terminal will be crashed.
There are two pathes try to call tcgetattr of stdio in vl.c:
1) Monitor_parse(optarg, "readline");
.
qemu_opts_foreach(qemu_find_opts("chardev"),
libfdt_env.h is missing in some stable installs (<1.3.0-3),
some released linux distributions(e.g. Ubuntu 12.04) depending
on it still complain missing libfdt even if already installed.
So give more detailed hint for such OS users.
Signed-off-by: Liu Li
---
configure |4 +++-
1 file changed,
On 2014/4/22 17:38, john.liuli wrote:
"john.liuli" writes:
libfdt_env.h is missing in some stable installs (<1.3.0-3), some
released linux distributions(e.g. Ubuntu 12.04) depending on it still
complain missing libfdt even if already installed.
So give more detailed hint for
On 2014/4/22 19:56, john.liuli wrote:
On 21 April 2014 07:18, john.liuli wrote:
libfdt_env.h is missing in some stable installs (<1.3.0-3), some
released linux distributions(e.g. Ubuntu 12.04) depending on it still
complain missing libfdt even if already installed.
So give more detailed h
libfdt_env.h is missing in some stable installs (<1.3.0-3),
some released linux distributions(e.g. Ubuntu 12.04) depending
on it still complain missing libfdt even if already installed.
So give more detailed hint for such OS users.
Signed-off-by: Liu Li
---
configure |5 +++--
1 file change
22 matches
Mail list logo