Hi all,
Yeah, I know reading the code should be the answer... But anyone would
like give me an overview on how IO emulation is done in QEMU, so that I
can have a start point to dig it out myself? I like to know how much time
QEMU spend on IO emulation, so I have to know where/what function shoul
Changes since v3:
- using bitmap_set() instead of set_bit() in numa_add() routine.
- removed call to bitmak_zero() since bitmap_new() also zeros' the bitmap.
- Rebased to the latest qemu.
Changes since v2:
- Using "unsigned long *" for the node_cpumask[].
- Use bitmap_new() instead
The reason why softmmu condition in configure is that softmmu is thought to be
a logical prerequisite of ldst optimization.
Current patch causes compilation error if removed the condition above.
To avoid compilation error, it needs more macros in other sources, such as,
tcg.c and/or tcg-target.c,
On Mon, Jul 16, 2012 at 10:24 PM, Catalin Patulea wrote:
> I don't think FPREM
> can ever lose precision with respect to its operands.
Sorry, this should be, "FPREM can't _gain_ precision" with respect to
its operands.
Think of the binary representation with infinite precision, where the
exponent
I'm just sending this in as a draft for now. There are two outstanding issues:
1) What is the recommended type for bitfields? A quick grep shows inconsistent
usage of unsigned int/signed int/uintNN_t across the codebase. Note that
mantissa must be 63 bits so int won't do on either 32 or 64-bit bui
Hey all,
I'm having trouble building user mode BSD emulation on FreeBSD. I've tried
1.0.1, 1.1.1, and stable from GIT. I build by doing a: "./configure
--target-list=i386-bsd-user", and then make with "gmake". The first error I get
is in regards to CTLTYPE_QUAD.
/usr/home/qemu-1.0.1/bsd-us
On Mon, 16 Jul 2012 16:24:37 +0200, Paolo Bonzini wrote:
> This adds an event for changes to LUN parameters, for example capacity. These
> are reported in virtio-blk via configuration changes, and we want a similar
> functionality in virtio-scsi too.
Both applied.
Thanks!
Rusty.
Hello,
I used Juan's latest bits to try out migration on large guest configurations.
Workload : a slightly modified SpecJBB.
The following is some very preliminary data... (for the non-XBZRLE case).
FYI...
Vinod
Configuration:
--
Source & Target Host Hardware : 8 Westmere s
On 07/16/2012 02:16 AM, Paolo Bonzini wrote:
Il 15/07/2012 22:25, miny...@acm.org ha scritto:
+/* Clear the property from this device so we can put it elsewhere */
+chr = isa->chr;
+qdev_prop_set_chr(&dev->qdev, "chardev", NULL);
+
+if (chr) {
+ bdev = qdev_create(NULL, "ip
On 07/16/2012 01:24 AM, Paolo Bonzini wrote:
Il 15/07/2012 22:25, miny...@acm.org ha scritto:
From: Corey Minyard
When setting an object, if you don't release the previous object
that was there, it may become unusable. This change allows a
chardev to be removed from one object's properties an
On 07/16/2012 10:46 AM, Eric Blake wrote:
On 07/15/2012 02:24 PM, miny...@acm.org wrote:
From: Corey Minyard
There was no way to directly add a table entry to the SMBIOS table,
even though the BIOS supports this. So add a function to do this.
This is in preparation for the IPMI handler adding
On 16 July 2012 22:37, Stefan Weil wrote:
> Although the rule also allows 'an' for historical reasons,
> 'a' is more common because 'h' is pronounced.
>
> Signed-off-by: Stefan Weil
Reviewed-by: Peter Maydell
-- PMM
Although the rule also allows 'an' for historical reasons,
'a' is more common because 'h' is pronounced.
Signed-off-by: Stefan Weil
---
qemu-doc.texi |2 +-
qemu-tech.texi |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/qemu-doc.texi b/qemu-doc.texi
index 1f20621..
On Mon, Jul 16, 2012 at 01:49:19PM -0700, desi babu wrote:
> Any pointers for debugging ?.
What version of the virtio-win drivers are you using? More specifically,
what's the name of the ISO/package you used? I'm not sure how
"Driver Date" maps to actual virto-win releases.
There is a test utilit
Folks,
I am looking into Qemu and trying to understand device emulation better.
Looking at http://qemu.weilnetz.de/qemu-tech.html#Device-emulation, I see
that the address in the guest space is directly mapped to the physical
address and thus only the offset to it needs to be used in the guest s
On Mon, Jul 16, 2012 at 5:11 PM, Peter Maydell wrote:
> On 16 July 2012 21:00, Catalin Patulea wrote:
>> On Mon, Jul 16, 2012 at 3:08 PM, Peter Maydell
>> wrote:
>>> ccache gcc -m32 -I/home/pm215/src/qemu/qemu/slirp -I.
>>> -I/home/pm215/src/qemu/qemu -I/home/pm215/src/qemu/qemu/fpu -I../..
>>>
I guess I should mention that I'm assuming somebody else is going to review
this patchset. It looks generally OK to me but whether the stream API
has the details of QOM interface use right is a bit out of my area
of expertise.
-- PMM
On 10 July 2012 07:19, Peter Crosthwaite
wrote:
> Ping^2
>
> O
On 16 July 2012 21:11, Catalin Patulea wrote:
> To build/run the tests:
> $ cd $BUILD_PATH/tests/tcg
> $ SRC_PATH=path/to/qemu make
>
> Signed-off-by: Catalin Patulea
> ---
> This should also fix the lock nop error. I just peeked at what bytes my gcc
> (4.4.3) generates.
Yep, this all builds fo
On Mon, 2012-07-16 at 08:21 -0600, Alex Williamson wrote:
> On Sat, 2012-07-14 at 12:34 +1000, Alexey Kardashevskiy wrote:
> > On 14/07/12 01:07, Alex Williamson wrote:
> > > On Fri, 2012-07-13 at 17:26 +1000, Alexey Kardashevskiy wrote:
> > >> It literally does the following:
> > >>
> > >> 1. POWE
On 16 July 2012 21:00, Catalin Patulea wrote:
> On Mon, Jul 16, 2012 at 3:08 PM, Peter Maydell
> wrote:
>> This doesn't seem to be sufficient for test-i386 to compile
>> for me:
>> ccache gcc -m32 -I/home/pm215/src/qemu/qemu/slirp -I.
>> -I/home/pm215/src/qemu/qemu -I/home/pm215/src/qemu/qemu/fp
On Mon, 16 Jul 2012 22:31:26 +0200
Laszlo Ersek wrote:
> On 07/16/12 19:12, Luiz Capitulino wrote:
> > On Fri, 13 Jul 2012 21:11:15 +0200
> > Paolo Bonzini wrote:
>
> >
> >> I think doing it for error_set was just for symmetry and to avoid
> >> introducing excessive complexity.
> >
> > We alr
On 07/16/12 19:12, Luiz Capitulino wrote:
> On Fri, 13 Jul 2012 21:11:15 +0200
> Paolo Bonzini wrote:
>
>> I think doing it for error_set was just for symmetry and to avoid
>> introducing excessive complexity.
>
> We already check if the error is set in several places, and I don't think
> it wi
To build/run the tests:
$ cd $BUILD_PATH/tests/tcg
$ SRC_PATH=path/to/qemu make
Signed-off-by: Catalin Patulea
---
This should also fix the lock nop error. I just peeked at what bytes my gcc
(4.4.3) generates.
tests/tcg/Makefile| 16 ++--
tests/tcg/test-i386.c |5 +++--
t
On Mon, Jul 16, 2012 at 3:08 PM, Peter Maydell wrote:
> You need to have the $(LIBS) after the $^.
Done.
>> test_path.o: test_path.c
>> + $(CC_I386) $(QEMU_INCLUDES) $(GLIB_CFLAGS) $(CFLAGS) $(LDFLAGS) -c
>> -o $@ $^
>
> Ditto.
I don't think I meant to put $(LDFLAGS) in there. This is jus
On 07/16/2012 09:12 AM, Daniel P. Berrange wrote:
On Mon, Jul 16, 2012 at 03:10:25AM +0100, agraham wrote:
On 07/16/2012 01:03 AM, malc wrote:
On Sun, 15 Jul 2012, agraham wrote:
[..snip..]
I've found the root cause and hopefully you should be able to reproduce the
issue.
There was a confi
On 13 July 2012 07:55, Catalin Patulea wrote:
> Not all tests pass, but at least they can be run using 'make test'.
>
> To build individual tests:
> $ cd $BUILD_PATH/tests/tcg
> $ SRC_PATH=path/to/qemu make
I don't know enough about our test makefile structure to
know if this is right (try Antho
On Fri, 13 Jul 2012 21:11:15 +0200
Paolo Bonzini wrote:
> Il 13/07/2012 19:30, Laszlo Ersek ha scritto:
> >>> >> -if (errp == NULL) {
> >>> >> +if (errp == NULL || *errp != NULL) {
> >> >
> >> > I think we should use assert() here.
> >> >
> >> > If the error is already set, that most pr
Hi
Please send in any agenda items you are interested in covering.
Later, Juan.
On 07/16/2012 02:12 AM, Pavel Hrdina wrote:
> On 07/12/2012 07:59 PM, Eric Blake wrote:
>> On 07/12/2012 10:55 AM, Pavel Hrdina wrote:
>>> Signed-off-by: Pavel Hrdina
>>> ---
>>> hmp-commands.hx |2 +-
>>> hmp.c| 10 ++
>>> hmp.h|1 +
>>> qapi-schema.
On Sat, Jul 14, 2012 at 09:14:30AM +, Blue Swirl wrote:
[...]
> >> > diff --git a/tests/Makefile b/tests/Makefile
> >> > index b605e14..89bd890 100644
> >> > --- a/tests/Makefile
> >> > +++ b/tests/Makefile
> >> > @@ -15,6 +15,7 @@ check-unit-y +=
> >> > tests/test-string-output-visitor$(EXESU
On Sat, 14 Jul 2012 00:48:58 +0200
Laszlo Ersek wrote:
> On 07/13/12 18:51, Luiz Capitulino wrote:
> > On Wed, 13 Jun 2012 10:22:36 +0200
> > Laszlo Ersek wrote:
>
> >> Repeating an optarg is supported;
> >
> > I see that the current code supports this too, but why? Something
> > like this shou
On 16.07.2012, at 20:28, Peter Maydell wrote:
> On 16 July 2012 18:24, Alexander Graf wrote:
>> On 07/16/2012 05:40 PM, Peter Maydell wrote:
>>> Hmm, good point -- unlike the actual program compile, failures
>>> due to -Werror inside configure are silent and near-invisible.
>>> Maybe we should b
On 16 July 2012 18:24, Alexander Graf wrote:
> On 07/16/2012 05:40 PM, Peter Maydell wrote:
>> Hmm, good point -- unlike the actual program compile, failures
>> due to -Werror inside configure are silent and near-invisible.
>> Maybe we should back out 417c9d72 ?
>
> So how do we deal with the orig
Peter, do you have a second to look at this? I've got a new test in
tests/tcg that checks fprem correctness (or at least compares with
h/w...) that depends on this.
On Fri, Jul 13, 2012 at 4:44 AM, 陳韋任 (Wei-Ren Chen)
wrote:
> Tested-by: Wei-Ren Chen
>
> On Fri, Jul 13, 2012 at 02:55:13AM -0400,
On Mon, Jul 16, 2012 at 5:14 PM, Avi Kivity wrote:
> (fixed mailing list)
>
> On 07/16/2012 03:37 PM, X O wrote:
>> Hello,
>>
>> I suspect upgrading my system to glibc-2.15 was a mistake. It seems to
>> be qemu-1.0.1, and latter versions including qemu-1.1.1, can't be
>> compiled anymore. Yes, I d
On 5 July 2012 05:04, Peter A. G. Crosthwaite
wrote:
> The Xilinx Zynq device has two SDHCI controllers. Added to the machine model.
>
> Signed-off-by: Peter A. G. Crosthwaite
Reviewed-by: Peter Maydell
-- PMM
On 5 July 2012 05:04, Peter A. G. Crosthwaite
wrote:
> Allows for repeating of -sd arguments in the same way as -pflash and
> -mtdblock.
>
> Signed-off-by: Peter A. G. Crosthwaite
> Acked-by: Igor Mitsyanko
Reviewed-by: Peter Maydell
-- PMM
On 07/16/2012 05:40 PM, Peter Maydell wrote:
On 16 July 2012 16:35, Eric Blake wrote:
On 07/15/2012 07:54 AM, Stefan Weil wrote:
Since commit 417c9d72d48275d19c60861896efd4962d21aca2 all configure tests
normally run with -Werror. Some of these tests now fail because they
raised a compiler warn
On 5 July 2012 05:04, Peter A. G. Crosthwaite
wrote:
> From: Igor Mitsyanko
>
> Custom Exynos4210 SD/MMC host controller, based on SD association standard
> host
> controller ver. 2.00.
>
> Signed-off-by: Igor Mitsyanko
> ---
> changed from v4 (Igor):
> set irq on SLOTINT status instead of inte
Am 16.07.2012 17:39, schrieb Eric Blake:
On 07/15/2012 01:54 PM, Stefan Weil wrote:
Am 15.07.2012 22:26, schrieb Mike Frysinger:
We should not quote the PKG_CONFIG setting as this deviates from the
canonical upstream behavior that gets integrated with all other build
systems, and deviates from
On 07/15/2012 02:24 PM, miny...@acm.org wrote:
> From: Corey Minyard
>
> There was no way to directly add a table entry to the SMBIOS table,
> even though the BIOS supports this. So add a function to do this.
> This is in preparation for the IPMI handler adding it's SMBIOS table
> entry.
>
> Si
On 16 July 2012 16:35, Eric Blake wrote:
> On 07/15/2012 07:54 AM, Stefan Weil wrote:
>> Since commit 417c9d72d48275d19c60861896efd4962d21aca2 all configure tests
>> normally run with -Werror. Some of these tests now fail because they
>> raised a compiler warning.
> Nothing wrong with this patch,
On 07/15/2012 01:54 PM, Stefan Weil wrote:
> Am 15.07.2012 22:26, schrieb Mike Frysinger:
>> We should not quote the PKG_CONFIG setting as this deviates from the
>> canonical upstream behavior that gets integrated with all other build
>> systems, and deviates from how we treat all other toolchain v
On 07/15/2012 07:54 AM, Stefan Weil wrote:
> Since commit 417c9d72d48275d19c60861896efd4962d21aca2 all configure tests
> normally run with -Werror. Some of these tests now fail because they
> raised a compiler warning.
>
> This patch fixes support for capabilities.
>
> Signed-off-by: Stefan Weil
On 14 July 2012 13:34, Blue Swirl wrote:
> bitops.h uses inconsistently 'unsigned long' and 'int' for bit numbers.
>
> Unify to 'unsigned long' because it generates better code on x86_64.
> Adjust asserts accordingly.
Still disagree with this patch, for the record.
-- PMM
On 07/14/2012 08:45 AM, siddharth srivastava wrote:
> Hi
>
> I have been exploring various live migration ways that qemu supports.
> In the Qemu Migration documentation at: [1], it is only mentioned how
> to invoke tcp and exec migration schemes.
> But there is no mention of unix and fd migration
Add a new QError QERR_PROPERTY_SET_AFTER_REALIZE for attempts
to set a QOM or qdev property after the object/device has been
realized. This allows a slightly more informative diagnostic
than the previous "permission denied" message.
Signed-off-by: Peter Maydell
---
Changes since the v1 (which was
On 07/14/2012 03:34 PM, Blue Swirl wrote:
> bitops.h uses inconsistently 'unsigned long' and 'int' for bit numbers.
>
> Unify to 'unsigned long' because it generates better code on x86_64.
> Adjust asserts accordingly.
>
Actually, plain unsigned generates the best code. unsigned longs
require
(fixed mailing list)
On 07/16/2012 03:37 PM, X O wrote:
> Hello,
>
> I suspect upgrading my system to glibc-2.15 was a mistake. It seems to
> be qemu-1.0.1, and latter versions including qemu-1.1.1, can't be
> compiled anymore. Yes, I did search around and that led me to glibc,
> resp. http://sou
Support for START/STOP UNIT right now is limited to CD-ROMs. This is wrong,
since removable hard disks (in the real world: SD card readers) also support
it in pretty much the same way.
Signed-off-by: Paolo Bonzini
---
hw/scsi-disk.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
Linux will not use these, but a very similar mechanism will be used to
report the condition via virtio-scsi events.
Signed-off-by: Paolo Bonzini
---
hw/scsi-bus.c |5 +
hw/scsi-disk.c | 15 +++
hw/scsi.h |2 ++
3 files changed, 18 insertions(+), 4 deletions(-)
di
Signed-off-by: Paolo Bonzini
---
hw/virtio-scsi.c | 16
1 file changed, 16 insertions(+)
diff --git a/hw/virtio-scsi.c b/hw/virtio-scsi.c
index 83dbabd..80a47d7 100644
--- a/hw/virtio-scsi.c
+++ b/hw/virtio-scsi.c
@@ -27,6 +27,7 @@
/* Feature Bits */
#define VIRTIO_SCSI_F_IN
On 16 July 2012 11:15, Jing Huang wrote:
> This patch excludes SO_TIMESTAMP cmsg_type from unsuppoted ancillary data.
"unsupported".
>
> Signed-off-by: Jing Huang
> ---
> linux-user/syscall.c |4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/linux-user/syscall.c
On 07/14/2012 06:34 AM, Blue Swirl wrote:
> Qualifier 'volatile' is not useful for applications, it's too strict
> for single threaded code but does not give the real atomicity guarantees
> needed for multithreaded code.
>
> Drop them and now useless casts.
>
> -static inline void set_bit(int nr
When a device is resized, we will report a unit attention condition
for CAPACITY DATA HAS CHANGED. However, we should ensure that this
condition does not override a more important unit attention condition.
Signed-off-by: Paolo Bonzini
---
hw/scsi-bus.c | 52 ++
Signed-off-by: Paolo Bonzini
---
hw/scsi-bus.c | 10 ++
hw/scsi-disk.c |2 +-
hw/scsi.h |2 ++
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/hw/scsi-bus.c b/hw/scsi-bus.c
index d5e1fb0..77aa946 100644
--- a/hw/scsi-bus.c
+++ b/hw/scsi-bus.c
@@ -1072,6 +107
On 16 July 2012 11:14, Jing Huang wrote:
> This patch makes do_setsockopt() support SOL_RAW ICMP_FILTER socket option.
>
> Signed-off-by: Jing Huang
> ---
> linux-user/syscall.c | 20
> 1 files changed, 20 insertions(+), 0 deletions(-)
>
> diff --git a/linux-user/syscall.c
TODO This needs to be checked against a real drive
Signed-off-by: Kevin Wolf
---
tests/fdc-test.c | 48 +---
1 files changed, 37 insertions(+), 11 deletions(-)
diff --git a/tests/fdc-test.c b/tests/fdc-test.c
index fa74411..56e745a 100644
--- a/test
Readability of the test code has suffered as the test case evolved. This
should improve it a bit again.
Signed-off-by: Kevin Wolf
---
tests/fdc-test.c | 36
1 files changed, 20 insertions(+), 16 deletions(-)
diff --git a/tests/fdc-test.c b/tests/fdc-test.c
Hi Pavel,
you said you have a real floppy drive around. Would you mind giving the cases
from patch 2 a try on it? The spec wasn't entirely clear to me, so the values
in the test case depend more on guessing than on knowledge.
I'm pretty sure that qemu is buggy there, though, so if you like to fix
On 16 July 2012 11:13, Jing Huang wrote:
> This patch pass sockaddr from host to target.
>
> Signed-off-by: Jing Huang
> ---
> linux-user/syscall.c | 10 +-
> 1 files changed, 9 insertions(+), 1 deletions(-)
>
> diff --git a/linux-user/syscall.c b/linux-user/syscall.c
> index 539af3f..
This series adds support for block_resize to virtio-scsi. Events
are reported via a new event type. Patches to the spec are on the
list.
Paolo Bonzini (5):
scsi-disk: removable hard disks support START/STOP
scsi-disk: report resized disk via sense codes
scsi: establish precedence levels fo
This makes some changes to the virtio-scsi event specification, so that
it is now possible to use virtio-scsi events in the implementation of
the QEMU "block_resize" command.
Thanks to Cong Meng for finally implementing virtio-scsi hotplug, which
made me look at block_resize again!
Paolo Bonzini
All currently defined event structs have the same fields. Simplify the
driver by enforcing this also for future structs.
Signed-off-by: Paolo Bonzini
---
virtio-spec.lyx | 69 +++
1 file changed, 65 insertions(+), 4 deletions(-)
diff --git
This adds an event for changes to LUN parameters, for example capacity. These
are reported in virtio-blk via configuration changes, and we want a similar
functionality in virtio-scsi too.
There is no list of supported parameter changes, instead we just refer to
the list of sense codes in the SCSI
On Sat, 2012-07-14 at 12:34 +1000, Alexey Kardashevskiy wrote:
> On 14/07/12 01:07, Alex Williamson wrote:
> > On Fri, 2012-07-13 at 17:26 +1000, Alexey Kardashevskiy wrote:
> >> It literally does the following:
> >>
> >> 1. POWERPC IOMMU support (the kernel counterpart is required)
> >>
> >> 2. Th
Il 16/07/2012 16:09, Jan Kiszka ha scritto:
> On 2012-07-16 16:03, Paolo Bonzini wrote:
>> Il 16/07/2012 15:53, Jan Kiszka ha scritto:
>
> qemu_cond_wait only uses WaitForSingleObject with INFINITE timeout, and
> the algorithm relies on that.
>>> I see. But this doesn't look complex awf
On 2012-07-16 16:03, Paolo Bonzini wrote:
> Il 16/07/2012 15:53, Jan Kiszka ha scritto:
qemu_cond_wait only uses WaitForSingleObject with INFINITE timeout, and
the algorithm relies on that.
>> I see. But this doesn't look complex awfully. Just move the waker
>> signaling from within
Il 16/07/2012 15:53, Jan Kiszka ha scritto:
>> >
>> > qemu_cond_wait only uses WaitForSingleObject with INFINITE timeout, and
>> > the algorithm relies on that.
> I see. But this doesn't look complex awfully. Just move the waker
> signaling from within cond_wait under the mutex as well, maybe add
Now that we have LPAE support and can handle passing 64 bit
RAM sizes to Linux via the device tree, we can lift the
restriction in the Versatile Express A15 daughterboard model
on not having more than 2GB of RAM. Allow up to 30GB, which
is the maximum that can fit in the address map before running
Am 16.07.2012 15:48, schrieb Pavel Hrdina:
> Signed-off-by: Pavel Hrdina
Thanks, applied both to the block branch.
Kevin
From: Michal Novotny
This patch improves the description of -nodefaults QEMU command line
option by adding more information what is being disabled using this
command.
Signed-off-by: Michal Novotny
---
qemu-options.hx |5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/qe
From: Michal Novotny
This is the patch to improve description for -{read|write}config
functions.
Signed-off-by: Michal Novotny
---
qemu-options.hx |8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index e15252e..97245a3 100644
---
On 2012-07-16 15:35, Paolo Bonzini wrote:
> Il 16/07/2012 15:34, Jan Kiszka ha scritto:
>> On 2012-07-16 15:20, Paolo Bonzini wrote:
>>> Il 16/07/2012 14:00, Jan Kiszka ha scritto:
On 2012-07-16 12:42, Paolo Bonzini wrote:
> The new thread pool will use semaphores instead of condition
Signed-off-by: Pavel Hrdina
---
tests/fdc-test.c | 46 +-
1 file changed, 41 insertions(+), 5 deletions(-)
diff --git a/tests/fdc-test.c b/tests/fdc-test.c
index 585fb0e..10d11a4 100644
--- a/tests/fdc-test.c
+++ b/tests/fdc-test.c
@@ -47,9 +47,11 @@
Signed-off-by: Pavel Hrdina
---
hw/fdc.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/hw/fdc.c b/hw/fdc.c
index edf0706..9f84931 100644
--- a/hw/fdc.c
+++ b/hw/fdc.c
@@ -1695,7 +1695,7 @@ static void
fdctrl_handle_drive_specification_command(FDCtrl *fdctrl, in
The legacy ATAGS format for passing information to the kernel only
allows RAM sizes which fit in 32 bits; enforce this restriction
rather than silently doing something weird.
Signed-off-by: Peter Maydell
---
hw/arm_boot.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --gi
Make the RAM size in arm_boot_info a uint64_t so it can express
the larger RAM sizes that may be seen in LPAE systems.
Signed-off-by: Peter Maydell
---
hw/arm-misc.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/arm-misc.h b/hw/arm-misc.h
index 1f96229..bdd8fec 100
Clean up the mix of getting the RAM size from the global ram_size
and from the ram_size field in the arm_boot_info structure, so
that we always use the structure field.
Signed-off-by: Peter Maydell
Reviewed-by: Peter A. G. Crosthwaite
---
hw/arm_boot.c |5 +++--
1 files changed, 3 insertion
Il 16/07/2012 15:34, Jan Kiszka ha scritto:
> On 2012-07-16 15:20, Paolo Bonzini wrote:
>> Il 16/07/2012 14:00, Jan Kiszka ha scritto:
>>> On 2012-07-16 12:42, Paolo Bonzini wrote:
The new thread pool will use semaphores instead of condition
variables, because QemuCond does not have qemu_
From: Peter Maydell
This patchset adds support for booting with >4GB of RAM on the
Versatile Express Cortex-A15 model. There are some caveats:
* you need an LPAE A15 kernel
* you need to be booting with device tree
* your device tree blob needs to specify #address-cells and
#size-cells as 2
On 2012-07-16 15:20, Paolo Bonzini wrote:
> Il 16/07/2012 14:00, Jan Kiszka ha scritto:
>> On 2012-07-16 12:42, Paolo Bonzini wrote:
>>> The new thread pool will use semaphores instead of condition
>>> variables, because QemuCond does not have qemu_cond_timedwait.
>>
>> I'll post an updated patch (
On 07/16/2012 03:26 PM, Pavel Hrdina wrote:
On 07/16/2012 03:24 PM, Kevin Wolf wrote:
Am 16.07.2012 14:25, schrieb Pavel Hrdina:
Signed-off-by: Pavel Hrdina
---
hw/fdc.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
I applied both to the block branch for now. This restores
On 07/16/2012 03:24 PM, Kevin Wolf wrote:
Am 16.07.2012 14:25, schrieb Pavel Hrdina:
Signed-off-by: Pavel Hrdina
---
hw/fdc.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
I applied both to the block branch for now. This restores the behaviour
as it was before 6be01b1e. How
Support the case where the device tree blob specifies that
#address-cells and #size-cells are greater than 1. (This
is needed for device trees which can handle 64 bit physical
addresses and thus total RAM sizes over 4GB.)
Signed-off-by: Peter Maydell
Reviewed-by: Peter A. G. Crosthwaite
---
hw/
Add support for reading device tree properties (both generic
and single-cell ones) to QEMU's convenience wrapper layer.
Signed-off-by: Peter Maydell
---
device_tree.c | 30 ++
device_tree.h |4
2 files changed, 34 insertions(+), 0 deletions(-)
diff --git a
Am 16.07.2012 14:25, schrieb Pavel Hrdina:
> Signed-off-by: Pavel Hrdina
> ---
> hw/fdc.c |6 --
> 1 file changed, 4 insertions(+), 2 deletions(-)
I applied both to the block branch for now. This restores the behaviour
as it was before 6be01b1e. However, I believe it is still wrong: The
Il 16/07/2012 14:00, Jan Kiszka ha scritto:
> On 2012-07-16 12:42, Paolo Bonzini wrote:
>> The new thread pool will use semaphores instead of condition
>> variables, because QemuCond does not have qemu_cond_timedwait.
>
> I'll post an updated patch (according to last round's review comments)
> tha
From: Michal Novotny
The description for set_password and expire_password commands is
incomplete. This patch fixes the man page that is being generated
to match the real behaviour of these functions.
Signed-off-by: Michal Novotny
---
qemu-options.hx | 17 +++--
1 file changed, 15
On (Fri) 06 Jul 2012 [16:07:06], Amit Shah wrote:
> The current virtqueue_avail_bytes() is a weird API: it's oddly-named:
> doesn't tell us what the API is going to do, and also suits just one
> use-case (that in virtio-net.c).
>
> Introduce virtqueue_get_avail_bytes(), which returns the number of
Signed-off-by: Pavel Hrdina
---
hw/fdc.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/fdc.c b/hw/fdc.c
index edf0706..decb1f7 100644
--- a/hw/fdc.c
+++ b/hw/fdc.c
@@ -1705,7 +1705,8 @@ static void fdctrl_handle_relative_seek_out(FDCtrl
*fdctrl, int direction)
Signed-off-by: Pavel Hrdina
---
tests/fdc-test.c | 46 -
1 file changed, 41 insertions(+), 5 deletions(-)
diff --git a/tests/fdc-test.c b/tests/fdc-test.c
index 585fb0e..4bc3515 100644
--- a/tests/fdc-test.c
+++ b/tests/fdc-test.c
@@ -47,9 +
First user will be POSIX compat aio. Windows use cases aren't in sight,
so this remains a POSIX-only service for now.
This version uses CLOCK_MONOTONIC for the timeout to avoid jumps on wall
clock adjustments, provided the host support pthread_condattr_setclock.
Signed-off-by: Jan Kiszka
---
co
On 2012-07-16 12:42, Paolo Bonzini wrote:
> The new thread pool will use semaphores instead of condition
> variables, because QemuCond does not have qemu_cond_timedwait.
I'll post an updated patch (according to last round's review comments)
that adds this service for POSIX. I bet you'll find a way
The Win32 implementation of EventNotifier is a trivial wrapper
around manual-reset events.
Signed-off-by: Paolo Bonzini
---
Makefile.objs |4 +-
event_notifier.c => event_notifier-posix.c |0
event_notifier-win32.c | 59 +
The new thread pool will use semaphores instead of condition
variables, because QemuCond does not have qemu_cond_timedwait.
(I also like it more this way, since semaphores model well the
producer-consumer problem).
Signed-off-by: Paolo Bonzini
---
qemu-thread-posix.c | 74 +
On Thu, Jul 12, 2012 at 2:02 PM, Kevin Wolf wrote:
> Almost all callers of create_iovec() forgot to destroy the qiov when the
> request has completed.
>
> Signed-off-by: Kevin Wolf
> ---
> qemu-io.c |4
> 1 files changed, 4 insertions(+), 0 deletions(-)
Reviewed-by: Stefan Hajnoczi
The Win32 implementation only accepts EventNotifiers, thus a few
drivers are disabled under Windows. It is possible to use the
same techniques in main-loop.c and reenable them; alternatively,
the drivers can be changed to use threads instead of non-blocking
I/O.
Signed-off-by: Paolo Bonzini
---
Since linux-aio already uses an eventfd, converting it to use the
EventNotifier-based API simplifies the code even though it is not
meant to be portable.
Signed-off-by: Paolo Bonzini
---
linux-aio.c | 49 +++--
1 file changed, 19 insertions(+), 30 de
This adds to aio.c a platform-independent API based on EventNotifiers, that
can be used by the portable thread pool.
Signed-off-by: Paolo Bonzini
---
aio.c |9 +
qemu-aio.h | 19 ++-
2 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/aio.c b/aio.c
i
1 - 100 of 131 matches
Mail list logo