On 13.12.2011, at 07:19, Paul Brook wrote:
>>> When compiling qemu statically with multilib on PPC, we hit the
>>> same issue that commit 845f2c2812d9ed24b36c02a3d06ee83aeafe8b49
>>> is fixing. Do the same here.
>>
>> How many of these ld files can we get rid of if we use -Ttext-segment
>> inst
On 12/13/2011 02:02 AM, q...@buildbot.b1-systems.de wrote:
The Buildbot has detected a new failure on builder default_mingw32 while
building qemu.
Full details are available at:
http://buildbot.b1-systems.de/qemu/builders/default_mingw32/builds/114
Buildbot URL: http://buildbot.b1-systems.de/
> > When compiling qemu statically with multilib on PPC, we hit the
> > same issue that commit 845f2c2812d9ed24b36c02a3d06ee83aeafe8b49
> > is fixing. Do the same here.
>
> How many of these ld files can we get rid of if we use -Ttext-segment
> instead? Generally all we're really caring about is m
From: Wen Congyang
Subject: Re: [Qemu-devel] [RFC][PATCT 0/5 v2] dump memory when host pci device
is used by guest
Date: Tue, 13 Dec 2011 11:35:53 +0800
> Hi, hatayama-san
>
> At 12/13/2011 11:12 AM, HATAYAMA Daisuke Write:
>> Hello Wen,
>>
>> From: Wen Congyang
>> Subject: [Qemu-devel] [RFC]
Am 12.12.2011 20:12, schrieb Stefan Berger:
The following series of patches adds TPM (Trusted Platform Module) support
to Qemu. An emulator for the TIS (TPM Interface Spec) interface is
added that provides the basis for accessing a 'backend' implementing the actual
TPM functionality. The TIS emul
There is a device tree property "/chosen/linux,stdout-path" which indicates
which device should be used as stdout - ie. "the console".
Currently we don't specify anything, which means both firmware and Linux
choose something arbitrarily. Use the routine we added in the last patch
to pick a default
From: Bharata B Rao
Add NUMA specific properties to guest's device tree to boot a multi-node
guests. This patch adds the following properties:
ibm,associativity
ibm,architecture-vec-5
ibm,associativity-reference-points
With this, it becomes possible to use -numa option on pseries targets.
Sign
In vty_lookup() we have a special case for supporting early debug in
the kernel. This accepts reg == 0 as a special case to mean "any vty".
We implement this by searching the vtys on the bus and returning the
first we find. This means that the vty we chose depends on the order
the vtys are specifi
From: Michael Ellerman
Check that devices on the spapr vio bus aren't given duplicate
addresses. Currently we will not run with duplicate devices, the
fdt code will spot it, but the error reporting is not great. With
this patch we can report the error nicely in terms of the device
names given by
> >> +tpm_passthrough="no"
> >
> > Same as before, please probe for existence.
>
> We would be probing for /dev/tpm0. Is that really what we want that this
> driver only gets compiled if /dev/tpm0 is (currently) available?
If what you say is true then this code should always be enabled.
Paul
> The full set of devices names and properties used in this example are
> below:
>
> Type: I440FX
> Is-a: Device
> Implements: PciBus
> Name: i440fx
> Properties:
>piix3: Composition
>slot[1.0]: Backlink
>
> Type: PIIX3
> Isa-a: PciDevice
> Implements: IsaBus
> Name: i44
For forgotten historical reasons, PAPR hypercalls for specific virtual IO
devices (oh which there are quite a number) are registered via a callback
in the VIOsPAPRDeviceInfo structure.
This is kind of ugly, so this patch instead registers hypercalls from
device_init() functions for each device typ
Although in theory the device tree has no inherent ordering, in practice
the order of nodes in the device tree does effect the order that devices
are detected by software.
Currently the ordering is determined by the order the devices appear on
the QEMU command line. Although that does give the use
From: Nishanth Aravamudan
When run with a PPC Book3S (server) CPU Currently 'info tlb' in the
qemu monitor reports "dump_mmu: unimplemented". However, during
bringup work, it can be quite handy to have the SLB entries, which are
available in the CPUPPCState. This patch adds an implementation of
Now that qemu 1.0 is out there, here are a number of cleanups and
minor bugfixes for the pseries machine to queue up for post 1.0. Many
of these fix problems with non-default device configurations exposed
by the w.i.p. port of libvirt for powerkvm.
Hi Gerd,
I'd strongly suggest to move forward to qemu 1.0. Memory region
handling has seen a major rewrite in 1.0 (memory api patches by avi).
Chances are good that the 64bit bar bugs in qemu have been fixed meanwhile.
Thanks, will try it. Hope it will be better.
I have experimental patches
The variable is deleted by 1bcef683bf840a928d633755031ac572d5fdb851
So remove its declaration.
Cc: Luiz Capitulino
Signed-off-by: Isaku Yamahata
---
migration.h |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/migration.h b/migration.h
index 999d60f..372b066 100644
---
Hi, hatayama-san
At 12/13/2011 11:12 AM, HATAYAMA Daisuke Write:
> Hello Wen,
>
> From: Wen Congyang
> Subject: [Qemu-devel] [RFC][PATCT 0/5 v2] dump memory when host pci device is
> used by guest
> Date: Fri, 09 Dec 2011 15:57:26 +0800
>
>> Hi, all
>>
>> 'virsh dump' can not work when host pc
On Mon, Dec 12, 2011 at 08:25:51PM -0600, Anthony Liguori wrote:
> On 12/12/2011 08:22 PM, Michael Ellerman wrote:
> >On Mon, 2011-12-12 at 20:10 -0600, Anthony Liguori wrote:
> >>On 12/12/2011 08:04 PM, Michael Ellerman wrote:
> >>>On Mon, 2011-12-12 at 14:19 -0600, Anthony Liguori wrote:
> Th
Hello Wen,
From: Wen Congyang
Subject: [Qemu-devel] [RFC][PATCT 0/5 v2] dump memory when host pci device is
used by guest
Date: Fri, 09 Dec 2011 15:57:26 +0800
> Hi, all
>
> 'virsh dump' can not work when host pci device is used by guest. We have
> discussed this issue here:
> http://lists.non
Hi,
I posted this on qemu-discuss and didn't receive any replies; sorry
for posting it twice.
I have OpenSUSE 12.1 and I have a 64-bit Windows 7 VM that recognizes
the emulated ICH6 sound (HDA audio device). Although Windows
recognizes this sound device just fine, there is no sound from the
Wind
From: Hongyong Zang
The new memory API, named kvm_set_ioeventfd_pio_long, is about ioeventfd for
PIO long.
Signed-off-by: Hongyong Zang
---
kvm-all.c | 23 +++
kvm-stub.c |5 +
kvm.h |1 +
memory.c | 20
4 files changed, 45 inse
From: Hongyong Zang
Signed-off-by: Hongyong Zang
---
docs/specs/ivshmem_device_spec.txt |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/docs/specs/ivshmem_device_spec.txt
b/docs/specs/ivshmem_device_spec.txt
index 23dd2ba..d36c737 100644
--- a/docs/specs/ivshme
From: Hongyong Zang
This patch adds a PIO BAR4 for guest notifying qemu to reduce notification time.
And the new notification way of PIO BAR4 reduces 30% time in comparison with the
original MMIO BAR0 way.
Also, this patch introduces a new feature named IVSHMEM_PIO_NOTIFY to make PIO
BAR4 disapp
From: Hongyong Zang
This patch series, adds a PIO BAR4 for guest notifying qemu. And the new
notification way of PIO BAR4 reduces 30% time in comparison with the original
MMIO BAR0 way.
Meantime, this patch adds a memory API named kvm_set_ioeventfd_pio_long which
is about ioeventfd for PIO long.
On 12/12/2011 08:22 PM, Michael Ellerman wrote:
On Mon, 2011-12-12 at 20:10 -0600, Anthony Liguori wrote:
On 12/12/2011 08:04 PM, Michael Ellerman wrote:
On Mon, 2011-12-12 at 14:19 -0600, Anthony Liguori wrote:
This was doing something evil building a dt tree so we broke the device.
@@ -71
On Mon, 2011-12-12 at 20:10 -0600, Anthony Liguori wrote:
> On 12/12/2011 08:04 PM, Michael Ellerman wrote:
> > On Mon, 2011-12-12 at 14:19 -0600, Anthony Liguori wrote:
> >> This was doing something evil building a dt tree so we broke the device.
> >
> >> @@ -711,8 +711,12 @@ VIOsPAPRBus *spapr_vi
On 12/12/2011 06:16 PM, Anthony Liguori wrote:
On 12/12/2011 01:12 PM, Stefan Berger wrote:
@@ -2735,6 +2736,15 @@ static mon_cmd_t info_cmds[] = {
.help = "show available trace-events& their state",
.mhandler.info = do_trace_print_events,
},
+#if defined(CONFIG_
On 12/12/2011 08:04 PM, Michael Ellerman wrote:
On Mon, 2011-12-12 at 14:19 -0600, Anthony Liguori wrote:
This was doing something evil building a dt tree so we broke the device.
@@ -711,8 +711,12 @@ VIOsPAPRBus *spapr_vio_bus_init(void)
spapr_rtas_register("ibm,set-tce-bypass", rtas_se
On Mon, 2011-12-12 at 14:19 -0600, Anthony Liguori wrote:
> This was doing something evil building a dt tree so we broke the device.
> @@ -711,8 +711,12 @@ VIOsPAPRBus *spapr_vio_bus_init(void)
> spapr_rtas_register("ibm,set-tce-bypass", rtas_set_tce_bypass);
> spapr_rtas_register("quies
We'd like to get the progname for help output, so add an accessor.
Signed-off-by: Michael Ellerman
---
qemu-error.c |5 +
qemu-error.h |1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/qemu-error.c b/qemu-error.c
index 4b20d28..7cd5ffe 100644
--- a/qemu-error.c
+++
In help() we do what boils down to:
printf("%s", "qemu");
This seems to be an artifact of be995c27640a82c7056b6f53d02ec823570114e5
("removed unused code"), which removed some ifdef'ery that used to print
a different name depending on CONFIG_SOFTMMU.
Instead print the actual program name, origi
From: Cao,Bing Bu
Changed From V1:
Use DPRINTF instead of fprintf,because it is not an error.
When testing ipod on QEMU by He Jie Xu,qemu made a
assertion.
We found that the ipod with 2 configurations,and the usb-linux did not parse
the descriptor correctly.
The descr_len returned is the tota
On 13.12.2011, at 01:55, Richard Henderson wrote:
> On 12/12/2011 01:36 PM, Alexander Graf wrote:
>> When compiling qemu statically with multilib on PPC, we hit the
>> same issue that commit 845f2c2812d9ed24b36c02a3d06ee83aeafe8b49
>> is fixing. Do the same here.
>
> How many of these ld files c
On 12/12/2011 01:36 PM, Alexander Graf wrote:
> When compiling qemu statically with multilib on PPC, we hit the
> same issue that commit 845f2c2812d9ed24b36c02a3d06ee83aeafe8b49
> is fixing. Do the same here.
How many of these ld files can we get rid of if we use -Ttext-segment instead?
Generally
The Buildbot has detected a new failure on builder default_mingw32 while
building qemu.
Full details are available at:
http://buildbot.b1-systems.de/qemu/builders/default_mingw32/builds/114
Buildbot URL: http://buildbot.b1-systems.de/qemu/
Buildslave for this Build: kraxel_rhel61
Build Reason:
On 12/12/2011 06:30 PM, Anthony Liguori wrote:
On 12/12/2011 01:12 PM, Stefan Berger wrote:
Enable the passing of a file descriptor via fd=<..> to access the
host's
TPM device using the TPM passthrough driver.
Signed-off-by: Stefan Berger
[...]
-tb->s.tpm_pt->tpm_fd = open(tb->s.tpm_pt
On 12/12/2011 06:27 PM, Anthony Liguori wrote:
On 12/12/2011 01:12 PM, Stefan Berger wrote:
Introduce --enable-tpm-passthrough configure option.
Signed-off-by: Stefan Berger
---
configure | 16 +++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/configure b/con
On 12/12/2011 06:27 PM, Anthony Liguori wrote:
On 12/12/2011 01:12 PM, Stefan Berger wrote:
From Andreas Niederl's original posting with adaptations where
necessary:
This patch is based of off version 9 of Stefan Berger's patch series
"Qemu Trusted Platform Module (TPM) integration"
and ad
On 12/12/2011 06:24 PM, Anthony Liguori wrote:
On 12/12/2011 01:12 PM, Stefan Berger wrote:
Build the TPM frontend code that has been added so far.
Signed-off-by: Stefan Berger
---
Makefile.target |1 +
configure | 11 +++
2 files changed, 12 insertions(+), 0 deletions(-
On 12/12/2011 06:23 PM, Anthony Liguori wrote:
On 12/12/2011 01:12 PM, Stefan Berger wrote:
This patch adds the main code of the TPM frontend driver, the TPM TIS
interface, to Qemu. The code is largely based on the previous
implementation
for Xen but has been significantly extended to meet the
On 12 December 2011 06:43, Evgeny Voevodin wrote:
> From: Maksim Kozlov
>
> Add basic support of exynos4210 UART
>
> Conflicts:
>
> Makefile.target
Don't leave git's conflicts notes in the commit logs :-)
>
> Signed-off-by: Evgeny Voevodin
> ---
> Makefile.target | 2 +-
> hw/e
On 12/12/2011 05:03 PM, Anthony Liguori wrote:
On 12/07/2011 10:33 AM, Adam Litke wrote:
Currently the make variable qapi-dir refers to the qapi-generated
directory in
absolute terms. This causes the harmless but ugly make output below. By
changing this variable to the relative path the output c
The Buildbot has detected a new failure on builder default_x86_64_rhel5 while
building qemu.
Full details are available at:
http://buildbot.b1-systems.de/qemu/builders/default_x86_64_rhel5/builds/98
Buildbot URL: http://buildbot.b1-systems.de/qemu/
Buildslave for this Build: kraxel_rhel5
Build
On 12/12/2011 10:21 AM, Paolo Bonzini wrote:
Patches introducing qemu_thread_join have floated around multiple times.
Now I found a bug that requires it to be fixed, so perhaps this time
it will be more successful.
For the actual bug, see patch 4.
v1->v2: remove spurious submodule change, fix b
On 12/06/2011 10:03 PM, Michael Roth wrote:
This adds a command-line option, -b/--blacklist, that accepts a
comma-seperated list of RPCs to disable, or prints a list of
available RPCs if passed "?".
In consequence this also adds general blacklisting and RPC listing
facilities to the new QMP disp
On 12/12/2011 04:58 AM, Peter Maydell wrote:
Add a .mailmap file so 'git shortlog' can map the unfriendly
pre-git-conversion author entries to real names.
Signed-off-by: Peter Maydell
Applied. Thanks.
Regards,
Anthony Liguori
---
v1->v2:
fixed Andrzej's email to match MAINTAINERS file
This patch uses the possibility to add a vendor-specific register and
adds a debug register useful for dumping the TIS's internal state. This
register is only active in a debug build (#define DEBUG_TIS).
Signed-off-by: Stefan Berger
---
v9:
- prefixing all function with tpm_tis_ and all consta
On 12/07/2011 09:01 AM, Stefan Hajnoczi wrote:
There is no consistent policy on closing the socket file descriptor when
net/socket.c initialization fails. This has been on my TODO list for a while
and I had a few minutes to fix it now.
Applied all. Thanks.
Regards,
Anthony Liguori
Stefan
This patch adds the main code of the TPM frontend driver, the TPM TIS
interface, to Qemu. The code is largely based on the previous implementation
for Xen but has been significantly extended to meet the standard's
requirements, such as the support for changing of localities and all the
functionalit
On 12/12/2011 05:16 PM, Juan Quintela wrote:
Hi
Please send in any agenda items you are interested in covering.
- QOM merge plan
I'd also like to do a code walk through of QOM at the first call of the new
year.
Regards,
Anthony Liguori
Thanks, Juan.
On 12/12/2011 01:12 PM, Stefan Berger wrote:
Enable the passing of a file descriptor via fd=<..> to access the host's
TPM device using the TPM passthrough driver.
Signed-off-by: Stefan Berger
---
v13:
- Only accepting a character device's file descriptor
v12:
- added documentation part
-
On 12/12/2011 01:12 PM, Stefan Berger wrote:
Introduce --enable-tpm-passthrough configure option.
Signed-off-by: Stefan Berger
---
configure | 16 +++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index 25995bc..ffb599e 100755
--- a/confi
On 12/12/2011 01:12 PM, Stefan Berger wrote:
From Andreas Niederl's original posting with adaptations where necessary:
This patch is based of off version 9 of Stefan Berger's patch series
"Qemu Trusted Platform Module (TPM) integration"
and adds a new backend driver for it.
This patch adds
On 12/12/2011 01:12 PM, Stefan Berger wrote:
Build the TPM frontend code that has been added so far.
Signed-off-by: Stefan Berger
---
Makefile.target |1 +
configure | 11 +++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/Makefile.target b/Makefile.targe
On 12/12/2011 01:12 PM, Stefan Berger wrote:
This patch adds the main code of the TPM frontend driver, the TPM TIS
interface, to Qemu. The code is largely based on the previous implementation
for Xen but has been significantly extended to meet the standard's
requirements, such as the support for
The following series of patches adds TPM (Trusted Platform Module) support
to Qemu. An emulator for the TIS (TPM Interface Spec) interface is
added that provides the basis for accessing a 'backend' implementing the actual
TPM functionality. The TIS emulator serves as a 'frontend' enabling for
examp
Hi
Please send in any agenda items you are interested in covering.
Thanks, Juan.
On 12/12/2011 01:12 PM, Stefan Berger wrote:
This patch adds support for TPM command line options.
The command line options supported here are
./qemu-... -tpmdev passthrough,path=,id=
-device tpm-tis,tpmdev=
and
./qemu-... -tpmdev ?
where the latter works similar to -soundhw ? and
>From Andreas Niederl's original posting with adaptations where necessary:
This patch is based of off version 9 of Stefan Berger's patch series
"Qemu Trusted Platform Module (TPM) integration"
and adds a new backend driver for it.
This patch adds a passthrough backend driver for passing command
On 12/06/2011 11:34 AM, Paolo Bonzini wrote:
Extract qemu-file.h and vmstate.h from it. Last for this week, promised.
This conflicts badly for me. Can you rebase?
Regards,
Anthony Liguori
Paolo Bonzini (2):
ptimer: move declarations to ptimer.h
vmstate: extract declarations out of
On 12/07/2011 10:33 AM, Adam Litke wrote:
Currently the make variable qapi-dir refers to the qapi-generated directory in
absolute terms. This causes the harmless but ugly make output below. By
changing this variable to the relative path the output conforms to the norm and
the build works fine.
This patch adds support for TPM command line options.
The command line options supported here are
./qemu-... -tpmdev passthrough,path=,id=
-device tpm-tis,tpmdev=
and
./qemu-... -tpmdev ?
where the latter works similar to -soundhw ? and shows a list of
available TPM backends (for exa
Introduce --enable-tpm-passthrough configure option.
Signed-off-by: Stefan Berger
---
configure | 16 +++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index 25995bc..ffb599e 100755
--- a/configure
+++ b/configure
@@ -186,6 +186,7 @@ zlib="y
Build the TPM frontend code that has been added so far.
Signed-off-by: Stefan Berger
---
Makefile.target |1 +
configure | 11 +++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index 39b2e5a..37d5d10 100644
--- a/Makefile.ta
Enable the passing of a file descriptor via fd=<..> to access the host's
TPM device using the TPM passthrough driver.
Signed-off-by: Stefan Berger
---
v13:
- Only accepting a character device's file descriptor
v12:
- added documentation part
---
hw/tpm_passthrough.c | 73 +
When compiling qemu statically with multilib on PPC, we hit the
same issue that commit 845f2c2812d9ed24b36c02a3d06ee83aeafe8b49
is fixing. Do the same here.
Signed-off-by: Alexander Graf
---
ppc.ld | 16 ++--
ppc64.ld | 16 ++--
2 files changed, 28 insertions(+), 4
---
hw/ac97.c | 39 +--
hw/acpi_piix4.c | 43 ++---
hw/apb_pci.c| 54 +
hw/bonito.c | 30 +++-
hw/cirrus_vga.c | 29 +++
hw/dec_pci.c| 56 ++
Signed-off-by: Anthony Liguori
---
scripts/qapi-commands.py |1 +
scripts/qapi-types.py|1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/scripts/qapi-commands.py b/scripts/qapi-commands.py
index f7def16..54d1f5d 100644
--- a/scripts/qapi-commands.py
+++ b/scripts/qa
This can be used to list properties in the device model.
Signed-off-by: Anthony Liguori
---
qapi-schema.json | 48
qmp-commands.hx |6 ++
qmp.c| 28
3 files changed, 82 insertions(+), 0 deletio
This is based on Jan's suggestion for how to do unique naming. The root device
is the root of composition. All devices are reachable via child<> links from
this device.
Signed-off-by: Anthony Liguori
---
Makefile.objs |2 +-
hw/container.c | 20
hw/qdev.c | 1
---
hw/scsi-bus.c | 14 +++---
hw/scsi-generic.c |2 +-
hw/usb-bus.c | 12 ++--
hw/usb-ccid.c |4 ++--
4 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/hw/scsi-bus.c b/hw/scsi-bus.c
index e8eb521..731c1f3 100644
--- a/hw/scsi-bus.c
+++ b/hw/
---
hw/usb-bus.c | 81 +---
hw/usb-desc.c | 18 ++--
hw/usb.c | 24 +++--
hw/usb.h | 22 +++
4 files changed, 117 insertions(+), 28 deletions(-)
diff --git a/hw/usb-bus.c b/hw/usb-bus.c
index 89
Signed-off-by: Anthony Liguori
---
Makefile.objs |2 +
hw/qobject.c | 463
hw/qobject.h | 471 +
3 files changed, 936 insertions(+), 0 deletions(-)
create mode 100644 hw/qobje
---
hw/smbus.c| 55 +++--
hw/smbus.h| 35 +++--
hw/smbus_eeprom.c | 27 -
3 files changed, 61 insertions(+), 56 deletions(-)
diff --git a/hw/smbus.c b/hw/smbus.c
index 2711229
On 12 December 2011 06:43, Evgeny Voevodin wrote:
> From: Maksim Kozlov
>
> Add initial code for support of NURI and SMDKC210 boards
This patch doesn't compile:
/home/pm215/src/qemu/qemu/hw/exynos4210.c: In function ‘exynos4210_init’:
/home/pm215/src/qemu/qemu/hw/exynos4210.c:98:14: error: vari
There are two types of supported paths--absolute paths and partial paths.
Absolute paths are derived from the root device and can follow child<> or
link<> properties. Since they can follow link<> properties, they can be
arbitrarily long. Absolute paths look like absolute filenames and are prefix
This is a follow up to my previous series to get us started in the QOM
direction. A few things are different this time around. Most notably:
1) Devices no longer have names. Instead, path names are always used to
identify devices.
2) In order to support (1), dynamic properties are now su
---
hw/spapr_llan.c |4 ++--
hw/spapr_vscsi.c |4 ++--
hw/spapr_vty.c |4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/hw/spapr_llan.c b/hw/spapr_llan.c
index abe1297..958702c 100644
--- a/hw/spapr_llan.c
+++ b/hw/spapr_llan.c
@@ -484,7 +484,7 @@ static void v
Expose all legacy properties through the new QOM property mechanism. The qdev
property types are exposed through the 'legacy<>' namespace. They are always
visited as strings since they do their own string parsing.
Signed-off-by: Anthony Liguori
---
v1 -> v2
- add bus properties (Gerd)
---
hw/
---
hw/i2c.c |9 +++--
hw/i2c.h |1 +
hw/smbus.c |2 +-
3 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/hw/i2c.c b/hw/i2c.c
index cdf88f2..fcb7269 100644
--- a/hw/i2c.c
+++ b/hw/i2c.c
@@ -177,12 +177,17 @@ static int i2c_slave_qdev_init(DeviceState *dev,
DeviceI
Signed-off-by: Anthony Liguori
---
hw/qdev.c |7 +++
hw/qdev.h | 14 ++
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/hw/qdev.c b/hw/qdev.c
index 0fc20fc..83913c7 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -110,6 +110,8 @@ static DeviceState *qdev_create_fro
Signed-off-by: Anthony Liguori
---
hw/e1000.c |2 +-
hw/eepro100.c|2 +-
hw/hda-audio.c |2 +-
hw/intel-hda.c |2 +-
hw/ne2000-isa.c |2 +-
hw/ne2000.c |2 +-
hw/pci.c |2 +-
hw/pcnet.c |2 +-
hw/qde
To ensure that a device isn't removed from the graph until all of its links are
broken.
Signed-off-by: Anthony Liguori
---
hw/qdev.c | 16
hw/qdev.h | 26 ++
2 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/hw/qdev.c b/hw/qdev.c
index 1
The full tree search was a bit unreasonable.
Signed-off-by: Anthony Liguori
---
hw/qdev.c | 56
hw/qdev.h |4
2 files changed, 28 insertions(+), 32 deletions(-)
diff --git a/hw/qdev.c b/hw/qdev.c
index 5348f26..1102efd 100644
-
Signed-off-by: Anthony Liguori
---
hw/qdev.c | 59 +++
hw/qdev.h | 22 ++
2 files changed, 81 insertions(+), 0 deletions(-)
diff --git a/hw/qdev.c b/hw/qdev.c
index 4004860..0fc20fc 100644
--- a/hw/qdev.c
+++ b/hw/qd
Signed-off-by: Anthony Liguori
---
v1 -> v2
- comments (Stefan)
---
hw/pc_piix.c | 11 +++
hw/piix_pci.c |3 +++
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 970f43c..2d5ea2c 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -205,
---
hw/es1370.c |5 -
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/hw/es1370.c b/hw/es1370.c
index c5c16b0..8a7ca65 100644
--- a/hw/es1370.c
+++ b/hw/es1370.c
@@ -1041,13 +1041,8 @@ static PCIDeviceInfo es1370_info = {
.vendor_id= PCI_VENDOR_ID_ENSONIQ,
.dev
---
hw/qdev.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/qdev.c b/hw/qdev.c
index 1102efd..4004860 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -1228,7 +1228,7 @@ void qdev_property_add_child(DeviceState *dev, const char
*name,
qdev_property_add(dev, name, type
Signed-off-by: Anthony Liguori
---
v1 -> v2
- comments (Stefan)
---
hw/pc_piix.c | 11 +++
hw/piix_pci.c |3 +++
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 970f43c..2d5ea2c 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -205,
Signed-off-by: Anthony Liguori
---
hw/qdev.c | 59 +++
hw/qdev.h | 22 ++
2 files changed, 81 insertions(+), 0 deletions(-)
diff --git a/hw/qdev.c b/hw/qdev.c
index 4004860..0fc20fc 100644
--- a/hw/qdev.c
+++ b/hw/qd
---
hw/scsi-bus.c | 12 +-
hw/scsi-disk.c| 64 ++--
hw/scsi-generic.c | 16 ++--
hw/scsi.h |7 +-
4 files changed, 47 insertions(+), 52 deletions(-)
diff --git a/hw/scsi-bus.c b/hw/scsi-bus.c
index cabdb
qdev properties are settable only during construction and static to classes.
This isn't flexible enough for QOM.
This patch introduces a property interface for qdev that provides dynamic
properties that are tied to objects, instead of classes. These properties are
Visitor based instead of string
On 12/12/2011 03:35 PM, Paolo Bonzini wrote:
On 12/12/2011 05:36 PM, Anthony Liguori wrote:
Even for files are licensed GPLv2-only, let's not play catch with
ourselves, and explicitly declare that future contributions to those
files will also be available as "any later version".
Signed-off-by
---
hw/object.h |4 ++--
hw/qdev.h |6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/hw/object.h b/hw/object.h
index 1ac2f92..834e89e 100644
--- a/hw/object.h
+++ b/hw/object.h
@@ -11,8 +11,8 @@
*
*/
-#ifndef QOBJECT_H
-#define QOBJECT_H
+#ifndef QEMU_OBJECT
---
hw/hda-audio.c | 58 ++-
hw/intel-hda.c | 43 +++--
hw/intel-hda.h | 26
3 files changed, 81 insertions(+), 46 deletions(-)
diff --git a/hw/hda-audio.c b/hw/hda-audio.c
index
---
hw/i2c.c | 15 +++
hw/i2c.h | 13 +
2 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/hw/i2c.c b/hw/i2c.c
index 9efe70c..cdf88f2 100644
--- a/hw/i2c.c
+++ b/hw/i2c.c
@@ -194,3 +194,18 @@ DeviceState *i2c_create_slave(i2c_bus *bus, const char
*name, ui
This can be used to list properties in the device model.
Signed-off-by: Anthony Liguori
---
qapi-schema.json | 48
qmp-commands.hx |6 ++
qmp.c| 28
3 files changed, 82 insertions(+), 0 deletio
This really shows the power of dynamic object properties compared to qdev
static properties.
This property represents a complex structure who's format is preserved over the
wire. This is enabled by visitors.
It also shows an entirely synthetic property that is not tied to device state.
Signed-o
Signed-off-by: Anthony Liguori
---
Makefile.objs |3 +
Makefile.target |2 +-
hw/piix3.c | 181 ++
hw/piix3.h | 37 +
hw/piix_pci.c | 236 +--
5 files changed, 242 inserti
1 - 100 of 261 matches
Mail list logo