Il 01/08/2012 18:59, Hervé Poussineau ha scritto:
> +
> +static void dc390_class_init(ObjectClass *klass, void *data)
> +{
> +DeviceClass *dc = DEVICE_CLASS(klass);
> +PCIDeviceClass *k = PCI_DEVICE_CLASS(klass);
> +
> +k->init = dc390_scsi_init;
> +k->romfile = "INT13.BIN";
Is thi
Il 01/08/2012 21:51, Anthony Liguori ha scritto:
>> > The next two patches clean up the state of the RTC to eliminate a useless
>> > duplication, and the tenth completes migration support. Still, backwards
>> > migration is broken because the algorithms in the new device model are
>> > pretty much
Am 02.08.2012 02:48, schrieb Andreas Färber:
qemu_cpu_is_self(), passing the return value through, will later be
adapted to return bool as well.
Signed-off-by: Andreas Färber
---
qemu-thread-posix.c |2 +-
qemu-thread-win32.c |2 +-
qemu-thread.h |3 ++-
3 files changed,
Public bug reported:
I am trying out examples from StellarisWare.
When I try the uart_echo example, that initially tries to talk to the
display, I get this:
$ .../qemu-1.1.1/bin/qemu-system-arm -M lm3s811evb -kernel
uart_echo/gcc/uart_echo.bin
qemu: hardware error: strllaris_i2c_
I applied the patch from "Bug #1028260". Now I get the same behaviour
with the git version as I get from 1.1.1., i.e.
qemu: hardware error: strllaris_i2c_read: Bad offset 0xfc0
...
/Lars
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscri
On Thu, Aug 02, 2012 at 11:46:13AM +0930, Kevin Shanahan wrote:
> On Thu, Aug 02, 2012 at 11:02:42AM +0930, Kevin Shanahan wrote:
> > Set the block driver read_only flag for cdrom devices so that
> > qmp_change_blockdev does not attempt to open cdrom files in read-write
> > mode when changing media
- Original Message -
> From: "Eric Blake"
> To: "Miroslav Rezanina"
> Cc: qemu-devel@nongnu.org, "Paolo Bonzini"
> Sent: Wednesday, August 1, 2012 3:21:03 PM
> Subject: Re: [Qemu-devel] [PATCH][RFC] Add compare subcommand for qemu-img
>
> On 08/01/2012 04:03 AM, Miroslav Rezanina wrot
On Wed, Aug 01, 2012 at 06:35:22PM +, Blue Swirl wrote:
> > +
> > +if (!transport) {
> > +uri->transport = strdup("socket");
>
> g_strdup
Sorry about that, pitfalls of developing the parsing code out of line :(
> > +static int qemu_gluster_parseuri(GlusterURI *uri, const char *fi
On Wed, 2012-08-01 at 21:37 -0500, Anthony Liguori wrote:
>
> But all of the DT initialization stuff that is leading to this
> discussion in the first place is a gross hack to make a PV
> architecture
> work that took far too many short cuts.
>
> Building a DT in memory representing hardware inst
Signed-off-by: Dong Xu Wang
---
qemu-img.c | 27 ---
1 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/qemu-img.c b/qemu-img.c
index 80cfb9b..13db7a2 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -1567,14 +1567,19 @@ static int img_resize(int argc, char **a
> Am 01.08.2012 05:09, schrieb g...@mprc.pku.edu.cn:
>
> Why is a TCG helper missing with curses directly? Shouldn't that use
> QEMU's console infrastructure and leave it to the user whether to use
> curses as a backend at runtime?
>
> What is the problem you are trying to solve? If you just need s
This commit changes the way hmp_change() checks if an encryption key
is required for the device to be inserted.
Instead of checking for QERR_DEVICE_ENCRYPTED, hmp_change() now checks
if the device was successfully inserted, is encrypted and is missing
an encryption key.
This change is needed beca
This error is currently returned by inet_connect_opts(), however
it causes the follow spurious message on HMP:
(qemu) migrate tcp:0:
migrate: Connection can not be completed immediately
(qemu)
But migration succeeds.
inet_connect_opts() has a 'in_progress' argument that callers c
Marcelo,
Anthony pointed out that you explicitly added this fallback in
618a568da4eda5c2e41fc4e58059546806afff6b. I'd like to know your
reasoning as to why - as noted below this causes problems for us, and
a situation where the fallback is desirable is not clear to me.
On Wed, Aug 01, 2012 at 02
IMPORTANT: this BREAKS qemu-ga compatibility for the error response.
Instead of returning something like:
{ "error": { "class": "InvalidParameterValue",
"data": {"name": "mode", "expected": "halt|powerdown|reboot" } } }
qemu-ga now returns:
{ "error": { "class": "GenericError",
Signed-off-by: Andreas Färber
---
cpu-defs.h |1 -
cpus.c | 40 +++-
include/qemu/cpu.h |1 +
3 files changed, 24 insertions(+), 18 deletions(-)
diff --git a/cpu-defs.h b/cpu-defs.h
index d0dd781..be89684 100644
--- a/cpu-defs.h
+
Some typedef'ed their state to PCIHostState. Use a proper struct,
and use PCIHostState and PCI_HOST_BRIDGE() where appropriate.
Signed-off-by: Andreas Färber
---
hw/alpha_typhoon.c |4 ++--
hw/bonito.c| 22 +++---
hw/dec_pci.c |4 ++--
hw/grackle_pci.c |
Next commit wants to use this.
Signed-off-by: Luiz Capitulino
---
This patch is an interesting case, because one of the goal of the error
format that's being replaced was that callers could use it to know the
error cause (with error_is_type().
However, the new error format doesn't allow this as
Introduce type constant and cast macro. Don't access DeviceState
or PCIHostState indirectly through parent fields.
Signed-off-by: Andreas Färber
---
hw/alpha_typhoon.c | 20 +---
1 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/hw/alpha_typhoon.c b/hw/alpha_typho
IMPORTANT: this BREAKS QMP's compatibility for the error response.
This commit changes QMP's wire protocol to make use of the simpler
error format introduced by previous commits.
There are two important (and mostly incompatible) changes:
1. Almost all error classes have been replaced by Generic
They have never been fully used and conflict with future error
improvements.
Also makes qerror_report() a proper function, as there's no point
in having it as a macro anymore.
Signed-off-by: Luiz Capitulino
---
qerror.c | 20 +++-
qerror.h | 8 +---
2 files changed, 4 inser
qerror_abort() depends on the 'file', 'func' and 'linenr' members of
QError. However, these members are going to be dropped by the next
commit, so let's drop qerror_abort() in favor of printing an error
message to stderr plus a call to abort().
Signed-off-by: Luiz Capitulino
---
qerror.c | 41 ++
This commit changes all QERR_ macros to contain a human message (ie.
the desc string found in qerr_table[]) instead of a json dictionary
in string format.
Before this commit, error_set() and qerror_report() would receive
a json dictionary in string format and build a qobject from it. Now,
both fun
Signed-off-by: Luiz Capitulino
---
qapi-schema.json | 26 ++
1 file changed, 26 insertions(+)
diff --git a/qapi-schema.json b/qapi-schema.json
index 1b2d7f5..6be937b 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3,6 +3,32 @@
# QAPI Schema
##
+# @ErrorClass
Today, the error message is only constructed when it's used. This commit
changes that to construct the error message when the error object is
built (ie. when the error is reported).
This simplifies the Error object.
Signed-off-by: Luiz Capitulino
---
error.c | 8 +---
qerror.c | 4 +---
2
qemu_cpu_is_self(), passing the return value through, will later be
adapted to return bool as well.
Signed-off-by: Andreas Färber
---
qemu-thread-posix.c |2 +-
qemu-thread-win32.c |2 +-
qemu-thread.h |3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/qemu-
Simplifies current and future users.
Signed-off-by: Luiz Capitulino
---
error.c | 5 +
qerror.c | 10 --
qerror.h | 2 +-
3 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/error.c b/error.c
index 58f55a0..3a62592 100644
--- a/error.c
+++ b/error.c
@@ -65,10 +65,7 @@
Corey Minyard writes:
> On 08/01/2012 08:15 PM, Kevin O'Connor wrote:
>>
>> This approach, unfortunately, leads to extra code and "double
>> handling" of infomation.
>>
>> The ultimate consumer of the data wants a binary struct which looks
>> like:
>>
>> struct smbios_type_38 {
>> struct smb
Introduce type constant. Avoid accessing DeviceState or SysBusDevice
indirectly through PCIHostState field.
Drop global state by passing BonitoState as opaque and adding the IRQs
and a pointer to PCIBonitoState to its state.
Signed-off-by: Andreas Färber
---
hw/bonito.c | 146 +
Signed-off-by: Luiz Capitulino
---
qerror.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qerror.c b/qerror.c
index 082de98..b2ed0e3 100644
--- a/qerror.c
+++ b/qerror.c
@@ -81,7 +81,7 @@ static const QErrorStringTable qerror_table[] = {
},
{
.error_fmt =
David Gibson writes:
> At present the qemu_system_reset() function always performs the same basic
> actions on all machines. This includes running all the reset handler
> hooks, however the order in which they run is not controlled by the board
> logic.
Let's be careful here in referring to "bo
Introduce type constant and cast macro. Avoid accessing parent fields
directly.
Also add missing space and braces.
Signed-off-by: Andreas Färber
---
hw/prep_pci.c | 17 -
1 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/hw/prep_pci.c b/hw/prep_pci.c
index a8cdc2
Signed-off-by: Luiz Capitulino
---
block.c | 1 +
qapi-schema.json | 7 +--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/block.c b/block.c
index b38940b..9c113b8 100644
--- a/block.c
+++ b/block.c
@@ -2445,6 +2445,7 @@ BlockInfoList *qmp_query_block(Error **errp)
Helps dropping/modifying qerror functions.
Signed-off-by: Luiz Capitulino
---
qerror.c | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/qerror.c b/qerror.c
index 5efccec..59025ea 100644
--- a/qerror.c
+++ b/qerror.c
@@ -346,10 +346,10 @@ static QErro
qerror will be dropped in a near future, let's reduce its public
exposure by making functions only used in qerror.c static.
Signed-off-by: Luiz Capitulino
---
qerror.c | 10 +-
qerror.h | 5 -
2 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/qerror.c b/qerror.c
index
CPU_COMMON_THREAD was only used for Windows, adding an hThread field
to CPU_COMMON.
Move the field into QOM CPUState and change its type to HANDLE,
which it is assigned from. This requires Windows headers, pulled in
through qemu-thread.h.
Signed-off-by: Andreas Färber
---
cpu-defs.h |
On 01/08/12 21:29, Luiz Capitulino wrote:
On Wed, 01 Aug 2012 19:33:27 +0800
Amos Kong wrote:
On 31/07/12 22:44, Luiz Capitulino wrote:
On Fri, 27 Jul 2012 18:31:41 -0300
Luiz Capitulino wrote:
[Please, read below why this is an RFC]
This series implements the 'Plan for error handling in
Besides of being unused, they operate on the current error format,
which is going to be replaced soon.
Useful replacements for the dropped functions will be added along
with the new error format.
Signed-off-by: Luiz Capitulino
---
error.c | 48 ---
This commit changes hmp_cont() to loop through all block devices
and proactively set an encryption key for any encrypted device
without a valid one.
This change is needed because QERR_DEVICE_ENCRYPTED is going to be
dropped by a future commit.
Signed-off-by: Luiz Capitulino
---
hmp.c | 43 +
They are not used anymore. Also drops error_int.h.
Signed-off-by: Luiz Capitulino
---
error.c | 20
error_int.h | 28
qapi/qmp-dispatch.c | 1 -
qemu-ga.c | 1 -
4 files changed, 50 deletions(-)
delete mode 100644
Introduce type constant. Introduce cast macro to drop dummy busdev field
used with FROM_SYSBUS() macro that would've broken SYS_BUS_DEVICE().
Avoid accessing DeviceState indirectly through PCIHostState.
Signed-off-by: Andreas Färber
---
hw/gt64xxx.c | 35 ---
1
Change field type to bool.
Signed-off-by: Andreas Färber
---
cpu-defs.h |1 -
cpus.c | 14 +-
include/qemu/cpu.h |1 +
3 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/cpu-defs.h b/cpu-defs.h
index be89684..4018b88 100644
--- a/cpu-defs.h
Introduce type constant. Introduce cast macro and drop dummy busdev
field used with FROM_SYSBUS() that would've broken SYS_BUS_DEVICE().
Avoid accessing parent fields directly.
Signed-off-by: Andreas Färber
---
hw/dec_pci.c | 21 +++--
hw/dec_pci.h |2 ++
2 files changed, 1
Today, the error message is only constructed when it's used. This commit
changes qerror to construct the error message when the error object is
built (ie. when the error is reported).
This eliminates the need of storing a pointer to qerror_table[], which
will be dropped soon, and also simplifies t
Hello Anthony,
Please pull a next batch of QOM CPUState refactorings, cherry-picked
from my long-standing QOM CPUState part 4 series.
Some parts of that series (s390 and xen) had already been merged.
This batch now includes actual field movements common to softmmu and *-user.
Patches depending on
On Thu, Aug 02, 2012 at 11:02:42AM +0930, Kevin Shanahan wrote:
> Set the block driver read_only flag for cdrom devices so that
> qmp_change_blockdev does not attempt to open cdrom files in read-write
> mode when changing media.
Hrm, this fixes my simple test case using the kvm monitor directly bu
Several block/ files are relying on qerror.h being provided by
qapi-types.h. Fix this, as a future commit will change qapi-types.h
not to provide qerror.h.
Signed-off-by: Luiz Capitulino
---
block_int.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/block_int.h b/block_int.h
index d72317f..
Introduce type constant. Introduce cast macro to drop dummy busdev field
used with FROM_SYSBUS() that would've broken SYS_BUS_DEVICE().
Avoid accessing parent fields directly.
Drop no-op reset function.
Signed-off-by: Andreas Färber
---
hw/grackle_pci.c | 57 ++
On 08/01/2012 08:15 PM, Kevin O'Connor wrote:
This approach, unfortunately, leads to extra code and "double
handling" of infomation.
The ultimate consumer of the data wants a binary struct which looks
like:
struct smbios_type_38 {
struct smbios_structure_header header;
u8 interface_t
Uglify the parent field to enforce QOM-style access via casts.
Don't just typedef PCIHostState, either use it directly or embed it.
Signed-off-by: Andreas Färber
---
hw/alpha_typhoon.c |2 +-
hw/dec_pci.c |2 +-
hw/grackle_pci.c |2 +-
hw/gt64xxx.c | 26 ++
A number of things need to occur during reset of the PAPR paravirtualized
platform in a specific order. For example, the hash table needs to be
cleared before the CPUs are reset, so that they initialize their register
state correctly, and the CPUs need to have their main reset called before
we set
Introduce type constant and cast macro. Avoid accessing parent fields
directly.
Signed-off-by: Andreas Färber
---
hw/ppce500_pci.c | 16 +++-
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/hw/ppce500_pci.c b/hw/ppce500_pci.c
index 99748b3..e4f065a 100644
--- a/hw/p
At present the qemu_system_reset() function always performs the same basic
actions on all machines. This includes running all the reset handler
hooks, however the order in which they run is not controlled by the board
logic.
This is incorrect: any modern real hardware will generally have some sor
As discussed with Anthony on a call this morning, there are cases
where the machine really needs to explicitly control the ordering of
various steps of a system_reset. This is currently possible only very
indirectly and to a limited extent. These patches add support for
having the machine take ex
Introduce type constants and cast macros.
Avoid accessing parent fields directly.
Signed-off-by: Andreas Färber
---
hw/unin_pci.c | 133 ++---
1 files changed, 70 insertions(+), 63 deletions(-)
diff --git a/hw/unin_pci.c b/hw/unin_pci.c
index
Introduce type constant. Introduce cast macro to drop bogus busdev field
that would've broken SYS_BUS_DEVICE().
Signed-off-by: Andreas Färber
---
hw/spapr_pci.c | 13 +++--
hw/spapr_pci.h |6 +-
2 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/hw/spapr_pci.c b/hw
The new argument is added to functions qerror_report() and error_set().
It's stored in Error and QError. qerror_report_err() is also updated to
take care of it.
The QERR_ macros are changed to contain a place holder value for the
new argument, so that the value is used on all current calls to
qerr
Am 01.08.2012 18:59, schrieb Hervé Poussineau:
> Difference with AMD PCscsi is that DC-390 contains a EEPROM,
> and that a romfile is available to add INT13 support.
>
> This has been successfully tested on:
> - MS DOS 6.22 (using DC390 ASPI driver)
> - MS Windows 98 SE (using DC390 driver)
> - MS
In the old QMP days, this code was used to find out QMP commands that
might be calling monitor_printf() down its call chain.
This is almost impossible to happen today, because the qapi converted
commands don't even have a monitor object. Besides, it's been more than
a year since I used this last t
Used to store error information, but it's unused now.
Signed-off-by: Luiz Capitulino
---
error.c | 4
qerror.c | 4
qerror.h | 1 -
3 files changed, 9 deletions(-)
diff --git a/error.c b/error.c
index 5c6c90f..b07ffa0 100644
--- a/error.c
+++ b/error.c
@@ -19,7 +19,6 @@
struct Err
On Wed, Aug 01, 2012 at 10:47:35AM +0300, Gleb Natapov wrote:
> On Tue, Jul 31, 2012 at 09:14:13PM -0400, Kevin O'Connor wrote:
> > On Wed, Jul 25, 2012 at 03:45:28PM -0300, Eduardo Habkost wrote:
> > > Changes v2 -> v3:
> > > - Report I/O APIC ID = 0 on MP-table, too
> > >
> > > Changes v1 -> v2
It's used to indicate the special case where a valid file-descriptor
is returned (ie. success) but the connection can't be completed
w/o blocking.
Signed-off-by: Luiz Capitulino
---
migration-tcp.c | 2 +-
nbd.c | 2 +-
qemu-char.c | 2 +-
qemu-sockets.c | 14 +++---
qe
hmp.h is relying on qdict.h being provided by qapi-types.h. Fix this,
as a future commit will change qapi-types.h not to provide qdict.h.
Signed-off-by: Luiz Capitulino
---
hmp.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/hmp.h b/hmp.h
index 8d2b0d7..3275522 100644
--- a/hmp.h
+++ b/hmp
This allows for changing QERR_ macros to initialize two struct members
at the same time. See next commit for more details.
Signed-off-by: Luiz Capitulino
---
qerror.c | 276 +++
qerror.h | 2 +-
2 files changed, 139 insertions(+), 139
From: Andreas Färber
The preceding commits fixed misuses of FROM_SYSBUS() that led people to
add a bogus busdev field. For qdev the field order was less relevant but
for QOM the PCIHostState field (including the SysBusDevice actually
initialized with a value) must be placed first within the state
Introduce type constant and cast macro. Avoid accessing its parent field
directly.
Signed-off-by: Andreas Färber
---
hw/ppc440_bamboo.c |3 ++-
hw/ppc4xx.h|2 ++
hw/ppc4xx_pci.c| 13 -
3 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/hw/ppc440_bam
During the QOM migration they were amended with further info but this is
no longer the case. All static TypeInfos can be const these days.
Signed-off-by: Andreas Färber
---
hw/alpha_typhoon.c |2 +-
hw/bonito.c|4 ++--
hw/dec_pci.c |6 +++---
hw/grackle_pci.c |4 +
Hello Anthony and Michael,
Here's a fixed version of the series making pci_host a first-class QOM type.
MAINTAINERS entries for the ppc devices touched herein are stripped from the
series but being used for sending. They can be applied later through ppc-next.
This series is a prerequisite for th
Alright,
Ive put something together. Will CC on a series that will include it shortly.
Regards,
Peter
On Wed, Aug 1, 2012 at 5:08 AM, Igor Mitsyanko wrote:
> On 07/31/2012 02:20 PM, Peter Crosthwaite wrote:
>>
>> Hi All,
>>
>> A lot of devices have little internal fifos that are often implement
Set the block driver read_only flag for cdrom devices so that
qmp_change_blockdev does not attempt to open cdrom files in read-write
mode when changing media.
Signed-off-by: Kevin Shanahan
---
Proposed fix for https://bugs.launchpad.net/qemu/+bug/1027525
diff -urN qemu-kvm-1.1.1.orig/blockdev.c
Signed-off-by: Luiz Capitulino
---
error.c | 5 +
error.h | 5 +
2 files changed, 10 insertions(+)
diff --git a/error.c b/error.c
index 6c8f7b8..15a2d06 100644
--- a/error.c
+++ b/error.c
@@ -69,6 +69,11 @@ const char *error_get_pretty(Error *err)
return err->msg;
}
+ErrorClass e
This commit replaces the place holder value for the ErrorClass
argument with a proper ErrorClass value for all QERR_ macros.
All current errors are mapped to GenericError, except for errors
CommandNotFound, DeviceNotActive, DeviceNotFound, KVMMissingCap and
MigrationExpected, which are maintained
Of course, I mean "qmp_change_blockdev tries to open the device read-
write".
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1027525
Title:
Unable to insert cd media located on ro nfs mount
Status
Looks like the read_only flag in the block device state never gets set.
This needs to be set otherwise qmp_change_blockdev tries to open the
device read only. This patch works for me.
** Patch added: "Proposed fix"
https://bugs.launchpad.net/qemu/+bug/1027525/+attachment/3245422/+files/cdroms-
Signed-off-by: Andreas Färber
---
Hello Peter, here's my current draft for subjecting more arm devices to the
stricter device checks in libhwX. Please review desired granularity (here:
fine-grained) and naming (e.g., PL310 vs. l2x0).
Since this is preparing for a future armeb-softmmu, Anthony'
On Mon, Jul 30, 2012 at 12:25:16PM -0500, Anthony Liguori wrote:
> Corey Minyard writes:
> > On 07/30/2012 10:37 AM, Anthony Liguori wrote:
> >> miny...@acm.org writes:
> >>> There was no way to directly add a table entry to the SMBIOS table,
> >>> even though the BIOS supports this. So add a fun
They are unused since last commit.
Signed-off-by: Luiz Capitulino
---
qerror.c | 400 ---
qerror.h | 7 --
2 files changed, 407 deletions(-)
diff --git a/qerror.c b/qerror.c
index db6bb47..e1606d3 100644
--- a/qerror.c
+++ b/qerror.c
Next commit will introduce enum strings in camel case.
Signed-off-by: Luiz Capitulino
---
scripts/qapi-types.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/qapi-types.py b/scripts/qapi-types.py
index 9b7da96..cf601ae 100644
--- a/scripts/qapi-types.py
+++ b/script
An enum like GenericError in the schema, should generate
GENERIC_ERROR and not GENERICERROR.
Signed-off-by: Luiz Capitulino
---
scripts/qapi-types.py | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/scripts/qapi-types.py b/scripts/qapi-types.py
index 3ed9f04..9b7d
Use the error code returned by inet_connect() instead. This change
is needed because all QERR_SOCKET_* errors are going to be dropped
by a future commit.
Signed-off-by: Luiz Capitulino
---
migration-tcp.c | 34 --
1 file changed, 20 insertions(+), 14 deletions(-)
qapi-types.h needs only qemu-common.h. Including qapi-types-core.h
causes problems when qerror.h or error.h includes qapi-types.h.
Signed-off-by: Luiz Capitulino
---
scripts/qapi-types.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/qapi-types.py b/scripts/qapi-t
Actually, renames it to 'object'. This must be what the original author
meant to write, as there's no 'object' in the error's data member.
Signed-off-by: Luiz Capitulino
---
qerror.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qerror.c b/qerror.c
index 92c4eff..082de98 10
Quick summary first, long introduction afterwards.
>From the rfc:
o rebased on top of master
o dropped patch "qapi: qapi.py: allow the "'" character be escaped"
o split patch "qerror: drop qerror_abort()" into two patches
o fixed tcp_start_outgoing_migration() not to use QERR_ macros
o fixed
Paolo Bonzini wrote on 2012-08-02:
> The current RTC emulation has two timers firing every second, one
> on each edge of the UIP bit. This will prevent CPUs from staying at
> deep C-states. Intel's measurements from previous submissions show the
> C6 residency reduced by 6% when running 64 idle g
Am 30.07.2012 18:01, schrieb Anthony Liguori:
> I'm not saying that we should remove qxl.c from QEMU. We can continue
> to support that ABI forever.
>
> But there's a lot of value in a new graphics interface that uses virtio
> and negotiates support for the Spice protocol. That way, if QEMU
> do
Ping.
r~
On 2012-07-25 15:10, Richard Henderson wrote:
> Changes v3-v4:
> Split patch 4 as per PMM feedback
> Fix patch 9 is_error usage as per PPM feedback.
>
> Changes v2-v3:
> Fix fcntl translation table in O_CLOEXEC patch. The O_LARGEFILE
> entry could result in an end-of-table {0,0
On 08/01/2012 07:48 AM, Anthony Liguori wrote:
>>> Basic one would be in case a machine has been paused for a long
>>> time. You know as in "hey, you lazy vm! You have been sleeping for two
>>> weeks! Now your clock is way off and poor ntp can't sync it back. So,
>>> here's current date!"
>>
Am 01.08.2012 23:13, schrieb Andreas Färber:
> Despite repeated protest commit 65dee38052597b6285eb208125369f01b29ba6c1
> (target-i386: move cpu_reset and reset callback to cpu.c) moved
> registration of a reset callback from hw/pc.c to target-i386/cpu.c
> while all other CPU reset handlers were st
Am 01.08.2012 23:43, schrieb Peter Maydell:
> On 1 August 2012 22:25, Andreas Färber wrote:
>> Am 01.08.2012 22:47, schrieb Anthony Liguori:
>>> Relying on the CPU list for this isn't very QOM-like. A better approach
>>> would be to make all CPUs appear in a container and then have the reset
>>>
Benjamin Herrenschmidt writes:
> Hi Anthony !
>
> I was looking at virtio-blk.c as an example of some details regarding
> the use of virtio queues. One thing I'm implementing is a
> request/reponse model similar to what it does.
>
> One thing I noticed that sounds off to me but I might have misse
Am 01.08.2012 22:27, schrieb Eduardo Habkost:
> On Wed, Aug 01, 2012 at 10:04:50PM +0200, Andreas Färber wrote:
>> Am 01.08.2012 20:45, schrieb Eduardo Habkost:
>>> This makes the change we discussed on the latest KVM conf call[1], moving
>>> the
>>> existing cpudefs from cpus-x86_64.conf to the C
On 1 August 2012 22:25, Andreas Färber wrote:
> Am 01.08.2012 22:47, schrieb Anthony Liguori:
>> Relying on the CPU list for this isn't very QOM-like. A better approach
>> would be to make all CPUs appear in a container and then have the reset
>> propagate through container.
>
> That doesn't work
Lei Li writes:
> This RFC series attempts to convert the MemCharDriver to use a circular
> buffer for input and output, expose it to users by introducing QMP commands
> memchar_write and memchar_read and via the command line like the other
> CharDriverStates.
>
> Serial ports in qemu always use C
Lei Li writes:
> Signed-off-by: Lei Li
> ---
> qapi-schema.json | 20
> qemu-char.c | 19 +++
> qmp-commands.hx | 29 +
> 3 files changed, 68 insertions(+), 0 deletions(-)
>
> diff --git a/qapi-schema.json b/qapi-schem
Lei Li writes:
> Signed-off-by: Lei Li
> ---
> qemu-char.c | 96 +++---
> qemu-char.h |2 +-
> 2 files changed, 78 insertions(+), 20 deletions(-)
>
> diff --git a/qemu-char.c b/qemu-char.c
> index c2aaaee..087c92d 100644
> --- a/qemu-cha
Am 01.08.2012 22:47, schrieb Anthony Liguori:
> Andreas Färber writes:
>
>> Am 01.08.2012 22:02, schrieb Anthony Liguori:
>>> Devices do one of two things today:
>>>
>>> 1) register a reset callback
>>>
>>> 2) implement a reset method that is invoked through it's parent bus
>>>
>>> Since I don't
Andreas Färber writes:
> Am 01.08.2012 22:02, schrieb Anthony Liguori:
>> Andreas Färber writes:
>>
>>> Am 01.08.2012 20:25, schrieb Anthony Liguori:
Andreas Färber writes:
> Am 01.08.2012 17:43, schrieb Anthony Liguori:
>> Igor Mammedov writes:
>>
>>> v2:
>>>
Despite repeated protest commit 65dee38052597b6285eb208125369f01b29ba6c1
(target-i386: move cpu_reset and reset callback to cpu.c) moved
registration of a reset callback from hw/pc.c to target-i386/cpu.c
while all other CPU reset handlers were still registered from machines.
Instead, improve the s
Am 01.08.2012 22:02, schrieb Anthony Liguori:
> Andreas Färber writes:
>
>> Am 01.08.2012 20:25, schrieb Anthony Liguori:
>>> Andreas Färber writes:
>>>
Am 01.08.2012 17:43, schrieb Anthony Liguori:
> Igor Mammedov writes:
>
>> v2:
>> ommited moving of x86_cpu_realize() f
Andreas Färber writes:
> Am 01.08.2012 22:02, schrieb Anthony Liguori:
>> Devices do one of two things today:
>>
>> 1) register a reset callback
>>
>> 2) implement a reset method that is invoked through it's parent bus
>>
>> Since I don't expect CPUs to exist on a bus, it's not immediately cle
1 - 100 of 339 matches
Mail list logo