From: Orit Wasserman
Change XBZRLE cache size in bytes (the size should be a power of 2, it will be
rounded down to the nearest power of 2).
If XBZRLE cache size is too small there will be many cache miss.
Signed-off-by: Benoit Hudzia
Signed-off-by: Petter Svard
Signed-off-by: Aidan Shribman
It literally does the following:
1. POWERPC IOMMU support (the kernel counterpart is required)
2. The patch assumes that IOAPIC calls are going to be replaced
with something generic.
3. vfio_group_iommu_ioctl() has been added to let sPAPR IOMMU
handler to call VFIO IOMMU driver.
4. Change sPAPR
Peter Maydell wrote:
> On 1 July 2012 11:16, Juan Quintela wrote:
>> Stefan Weil wrote:
>>> this mail and the other mails from this patch series trigger
>>> an alert in my mail filter:
>>> X-Amavis-Alert: BAD HEADER SECTION Duplicate header field: "References"
>
>> You are right, I also have du
From: Orit Wasserman
It will return 0 if the page is unmodifed.
Signed-off-by: Orit Wasserman
Signed-off-by: Juan Quintela
---
arch_init.c | 26 --
1 file changed, 20 insertions(+), 6 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 8cbf8f4..78cdf50 100644
On 07/12/2012 03:39 PM, Peter Maydell wrote:
On 12 July 2012 14:22, Igor Mammedov wrote:
This patch:
- moves decision to designate BSP from board into cpu, making cpu
self-sufficient in this regard. Later it will allow to cleanup hw/pc.c
and remove cpu_reset and wrappers from there.
- store
We should send pages on interate phase, not in setup one. This was a
"bug". Just removing the loop does what we want. Tested that it
works with current ram_load().
Signed-off-by: Juan Quintela
---
arch_init.c | 34 --
1 file changed, 34 deletions(-)
diff --g
Public bug reported:
$ qemu-system-x86_64 -M isapc
This displays blank SDL window. It has been this way since forever I
guess, at least according to http://bugs.debian.org/605525 (a Debian
bugreport about it). However, this:
$ qemu-system-x86_64 -M isapc -enable-kvm
works (at least in current
** Changed in: qemu (Debian)
Status: Unknown => Confirmed
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1024248
Title:
qemu -M isapc displays blank screen
Status in QEMU:
Confirmed
Status
This patch splits stage 1 to its own function for both save_live
users, ram and block. It is just a copy of the function, removing the
parts of the other stages. Optimizations would came later.
Signed-off-by: Juan Quintela
---
arch_init.c | 87 +++---
We were doing the same loop that stage2, and a new one for stage3. We
only need the one for stage3.
Signed-off-by: Juan Quintela
---
arch_init.c | 32
1 file changed, 32 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 2a6fc77..3c38a52 100644
--- a/a
We only need to synchronize the bitmap when the number of dirty pages is low.
Not every time that we call the function.
Signed-off-by: Juan Quintela
---
arch_init.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 3c38a52..b08c615 1
From: Orit Wasserman
Implement Unsigned Little Endian Base 128.
Signed-off-by: Orit Wasserman
Signed-off-by: Juan Quintela
---
cutils.c | 33 +
qemu-common.h |8
2 files changed, 41 insertions(+)
diff --git a/cutils.c b/cutils.c
index b0bdd
From: Orit Wasserman
Signed-off-by: Orit Wasserman
Signed-off-by: Juan Quintela
---
docs/xbzrle.txt | 136 +++
1 file changed, 136 insertions(+)
create mode 100644 docs/xbzrle.txt
diff --git a/docs/xbzrle.txt b/docs/xbzrle.txt
new file mod
Already outdated :)
On 10/07/12 23:46, Alexey Kardashevskiy wrote:
> Normally when the host driver gets called via interrupt, it disables IRQ
> first, then handles it and enables back. In the case of PCI pass through,
> the actual handling is done by the guest so the host driver needs to know
> wh
On 13 July 2012 04:37, Rusty Russell wrote:
> Recent kernels use this to set the cpu and features (currently, only
> the A15 is supported).
>
> Note that this causes the registers in the CPU to be initialized, so
> it's important that all CPUs are created first (they are, as it turns
> out).
>
> T
Optimize stage3 (complete), to use the page cached if it is there, but
not update the cache with new pages (they will never be reused).
Signed-off-by: Juan Quintela
---
arch_init.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/arch_init.c b/arch_init.c
inde
On 13 July 2012 05:35, Jia Liu wrote:
> +static inline uint32_t field(uint32_t val, int start, int length)
> +{
> +val >>= start;
> +val &= ~(~0 << length);
> +return val;
> +}
extract32() is in bitops.h now, so it would be better to
use that instead. Thanks for prodding us to actuall
This would make easier to add more operations in the next patches.
Signed-off-by: Juan Quintela
---
savevm.c | 54 +-
vmstate.h |7 +++
2 files changed, 32 insertions(+), 29 deletions(-)
diff --git a/savevm.c b/savevm.c
index a15c16
From: Orit Wasserman
Add LRU page cache mechanism.
The page are accessed by their address.
Signed-off-by: Benoit Hudzia
Signed-off-by: Petter Svard
Signed-off-by: Aidan Shribman
Signed-off-by: Orit Wasserman
Signed-off-by: Juan Quintela
---
Makefile.objs |1 +
cutils.c
It was used only once, just unfold.
Signed-off-by: Juan Quintela
---
vmstate.h |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/vmstate.h b/vmstate.h
index 4bce53b..5e1a7cc 100644
--- a/vmstate.h
+++ b/vmstate.h
@@ -26,13 +26,12 @@
#ifndef QEMU_VMSTATE_H
#define QEMU_VM
From: Orit Wasserman
Signed-off-by: Benoit Hudzia
Signed-off-by: Petter Svard
Signed-off-by: Aidan Shribman
Signed-off-by: Orit Wasserman
Signed-off-by: Juan Quintela
---
arch_init.c | 66 ++
hmp.c| 13 +++
mig
Hi Peter,
On Fri, Jul 13, 2012 at 4:09 PM, Peter Maydell wrote:
> On 13 July 2012 05:35, Jia Liu wrote:
>> +static inline uint32_t field(uint32_t val, int start, int length)
>> +{
>> +val >>= start;
>> +val &= ~(~0 << length);
>> +return val;
>> +}
>
> extract32() is in bitops.h now,
Hi
This includes ram_save_live split + XBZRE changes.
Changes for the previous posts of this series:
ram_save_split:
- recalculate expected_time (Igor).
- Use PRIu64 consistently everywhere
XBZRE:
- rebased on top of previous series
- remove stage3 optimization, now XBZRE don't know about stage
Notice that the live migration users never unregister, so no problem
about freeing the ops structure.
Signed-off-by: Juan Quintela
---
arch_init.c |9 +++--
block-migration.c | 10 --
migration.h |4 ++--
savevm.c | 18 +++---
vl.c
Peter Crosthwaite writes:
> Hi Markus,
>
> I consolidated this discussion into a new RFC which proposes a few
> solutions the the bdrv_read() from init() problem.
>
> http://lists.gnu.org/archive/html/qemu-devel/2012-07/msg00237.html
>
> Are you able to comment on those ideas WRT your latest thou
Peter Crosthwaite writes:
> Hi All,
>
> This RFC comes from the recent discussion Re coroutines and the block
> layer - the current topic of disucussion there has shifted to
> "bdrv_read() from device init", so rather than continuing the
> discussion as a tangent to the unrelated original topic I
We split it into 2 functions, foo_live_iterate, and foo_live_complete.
At this point, we only remove the bits that are for the other stage,
functionally this is equivalent to previous code.
Signed-off-by: Juan Quintela
---
arch_init.c | 72 +-
block-mi
Am 12.07.2012 19:14, schrieb Peter Maydell:
> On 12 July 2012 15:27, Kevin Wolf wrote:
>> valgrind tends to get confused and report false positives when you
>> switch stacks and don't tell it about it.
>
> Does the sigaltstack backend need anything similar?
Don't know, I never used valgrind with
From: Orit Wasserman
Add migration capabilities that can be queried by the management.
The management can query the source QEMU and the destination QEMU in order to
verify both support some migration capability (currently only XBZRLE).
The management can enable a capability for the next migration
From: Orit Wasserman
In the outgoing migration check to see if the page is cached and
changed than send compressed page by using save_xbrle_page function.
In the incoming migration check to see if RAM_SAVE_FLAG_XBZRLE is set
and decompress the page (by using load_xbrle function).
Signed-off-by:
Enable the creation of a method to tell migration if that section is
active and should be migrate. We use it for blk-migration, that is
normally not active. We don't create the method for RAM, as setups
without RAM are very strange O:-)
Signed-off-by: Juan Quintela
---
block-migration.c | 13
Tested-by: Wei-Ren Chen
On Fri, Jul 13, 2012 at 02:55:13AM -0400, 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
[snip]
Regards,
chenwj
--
Wei-Ren Chen
Am 12.07.2012 19:07, schrieb Stefan Weil:
> Great that you address this issue!
> I have two annotations, please see below.
>
>
> Am 12.07.2012 16:27, schrieb Kevin Wolf:
>> valgrind tends to get confused and report false positives when you
>> switch stacks and don't tell it about it.
>>
>> Signed
Here - http://git.qemu.org/qemu.git - is no mention of 1.1.0-1. The master
branch from there seems
working for me, just checked. Please try the latest master.
This is what my guest prints. Both devices work.
root@erif_root:~# lspci -v
00:00.0 Ethernet controller: Qumranet, Inc. Virtio network de
Intead of abusing stage with value -1.
Signed-off-by: Juan Quintela
---
arch_init.c | 11 ++-
block-migration.c | 10 ++
savevm.c |4 ++--
vmstate.h |1 +
4 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/arch_init.c b/arch_init.c
From: Orit Wasserman
For performance we are encoding long word at a time.
For nzrun we use long-word-at-a-time NULL-detection tricks from strcmp():
using ((lword - 0x0101010101010101) & (~lword) & 0x8080808080808080) test
to find out if any byte in the long word is zero.
Signed-off-by: Benoit Hu
It was used only once, just unfold.
Signed-off-by: Juan Quintela
---
vmstate.h |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/vmstate.h b/vmstate.h
index 5e1a7cc..0e24834 100644
--- a/vmstate.h
+++ b/vmstate.h
@@ -27,13 +27,12 @@
#define QEMU_VMSTATE_H 1
typedef void
Am 13.07.2012 10:45, schrieb Kevin Wolf:
> Am 12.07.2012 19:07, schrieb Stefan Weil:
>> Great that you address this issue!
>> I have two annotations, please see below.
>>
>>
>> Am 12.07.2012 16:27, schrieb Kevin Wolf:
>>> valgrind tends to get confused and report false positives when you
>>> switch
1st: we were synchonizing the dirty bitmap before calling
memory_global_dirty_log_start().
2nd: We are marking all pages as dirty anywhere, no reason to go
through all the bitmap to "mark" dirty same pages twice.
So, call removed.
Signed-off-by: Juan Quintela
---
arch_init.c |2
Am 12.07.2012 22:21, schrieb Blue Swirl:
> On Wed, Jul 11, 2012 at 12:49 PM, Kevin Wolf wrote:
>> Am 08.07.2012 21:22, schrieb blauwir...@gmail.com:
>>> From: Blue Swirl
>>>
>>> Use 'unsigned int' for bit numbers instead of 'unsigned long' or
>>> 'int'. Adjust asserts.
>>>
>>> Signed-off-by: Blue
Am 12.07.2012 22:28, schrieb Blue Swirl:
> On Wed, Jul 11, 2012 at 12:54 PM, Kevin Wolf wrote:
>> Am 08.07.2012 14:09, schrieb Andreas Schwab:
>>> blauwir...@gmail.com writes:
>>>
+pstrcpy(bs->backing_format, sizeof(bs->backing_format),
+backing_fmt ? backing_file : "");
On Tue, Jul 10, 2012 at 09:18:01AM +0200, Paolo Bonzini wrote:
> Il 10/07/2012 07:37, Wenchao Xia ha scritto:
> >>
> >> For getting the other metadata about the disk image you mention, another
> >> possibility to is just make 'qemu-img info' return the data in a machine
> >> parseable format, ie JS
On Mon, Jul 09, 2012 at 04:36:07PM +0200, Christoph Hellwig wrote:
> On Mon, Jul 09, 2012 at 04:54:08PM +0800, Wenchao Xia wrote:
> > Hi, Paolo and folks,
> > qemu have good capabilities to access different virtual disks, I want
> > to expose its block layer API to let 3rd party program linked in
Am 12.07.2012 22:41, schrieb Blue Swirl:
> On Thu, Jul 12, 2012 at 8:07 AM, Kevin Wolf wrote:
>> Am 11.07.2012 18:00, schrieb Paolo Bonzini:
>>> Il 15/06/2012 18:45, Eric Blake ha scritto:
Pre-existing, but do we have any policy on US (canceled) vs. UK
(cancelled) spelling? Obviously, o
On Tue, Jul 10, 2012 at 09:17:05AM +0200, Paolo Bonzini wrote:
> Il 10/07/2012 07:04, Wenchao Xia ha scritto:
> > 于 2012-7-9 17:13, Paolo Bonzini 写道:
> >> Il 09/07/2012 10:54, Wenchao Xia ha scritto:
> >>> Following is my implementing plan draft:
> >>>1 introduce libqblock.so in sub directory i
On Fri, Jul 13, 2012 at 10:12:47AM +0100, Stefan Hajnoczi wrote:
> On Tue, Jul 10, 2012 at 09:18:01AM +0200, Paolo Bonzini wrote:
> > Il 10/07/2012 07:37, Wenchao Xia ha scritto:
> > >>
> > >> For getting the other metadata about the disk image you mention, another
> > >> possibility to is just mak
Hi.
On Fri, Jul 13, 2012 at 8:34 AM, Jia Liu wrote:
> Add OpenRISC int instruction helpers.
>
> Signed-off-by: Jia Liu
> ---
> target-openrisc/Makefile.objs |2 +-
> target-openrisc/helper.h |5 +++
> target-openrisc/int_helper.c | 87
> +
On Fri, Jul 13, 2012 at 6:33 PM, Markus Armbruster wrote:
> Peter Crosthwaite writes:
>
>> Hi All,
>>
>> This RFC comes from the recent discussion Re coroutines and the block
>> layer - the current topic of disucussion there has shifted to
>> "bdrv_read() from device init", so rather than continu
On Fri, Jul 13, 2012 at 8:35 AM, Jia Liu wrote:
> Add OpenRISC system instructions.
>
> Signed-off-by: Jia Liu
> ---
> target-openrisc/Makefile.objs |2 +-
> target-openrisc/cpu.h |3 +
> target-openrisc/helper.h |4 +
> target-openrisc/sys_helper.c | 287
> ++
On Fri, Jul 13, 2012 at 10:13:15AM +0100, Stefan Hajnoczi wrote:
> How is that different from all the qemu-io commands?
qemu-io has no modes to just dumb the output without additional
information / statistics or for the write case just take user input
instead of a pattern. I actually tried to add
Am 13.07.2012 11:18, schrieb Peter Crosthwaite:
> On Fri, Jul 13, 2012 at 6:33 PM, Markus Armbruster wrote:
>> Peter Crosthwaite writes:
>>> One policy suggested is to ban bdrv_read() from init period and
>>> require devices to Lazy init. That is, on the first load, do the read
>>> you were going
On Fri, Jul 13, 2012 at 11:27:55AM +0200, Christoph Hellwig wrote:
> On Fri, Jul 13, 2012 at 10:13:15AM +0100, Stefan Hajnoczi wrote:
> > How is that different from all the qemu-io commands?
>
> qemu-io has no modes to just dumb the output without additional
> information / statistics or for the w
On Fri, Jul 13, 2012 at 10:16:40AM +0100, Daniel P. Berrange wrote:
> On Fri, Jul 13, 2012 at 10:12:47AM +0100, Stefan Hajnoczi wrote:
> > On Tue, Jul 10, 2012 at 09:18:01AM +0200, Paolo Bonzini wrote:
> > > Il 10/07/2012 07:37, Wenchao Xia ha scritto:
> > > >>
> > > >> For getting the other metada
[ Whoops, forgot qemu-devel in my original mail, added now ]
Am 12.07.2012 20:11, schrieb Anthony Liguori:
> Kevin Wolf writes:
>
>> While trying to hotplug an if=scsi disk with drive_add, I didn't pay
>> attention to using a valid slot (it doesn't matter with the usual
>> if=none...), and so I
Il 13/07/2012 11:16, Stefan Hajnoczi ha scritto:
>> "Working around the QEMU block layer license" is not a goal per se,
>> especially because you haven't a) assessed _what_ is the GPL code that
>> the library would use; b) told us why the library should not be under
>> the GPL.
>>
>> Please design
Hi.
On Thu, Jul 12, 2012 at 7:30 PM, Евгений Олегович
wrote:
[...]
> We have developed rough disassembler based on Intel encoding table (from
> information in documentation volume "Instruction optimization"). And now we
> need to compare speed of our disassembler with others (with Yours too). A
On 13.07.2012, at 05:37, Rusty Russell wrote:
> Recent kernels use this to set the cpu and features (currently, only
> the A15 is supported).
>
> Note that this causes the registers in the CPU to be initialized, so
> it's important that all CPUs are created first (they are, as it turns
> out).
On 12 July 2012 16:30, Евгений Олегович wrote:
> We will be very glad and grateful, if You can send to us pure DisAsm code
> (DLL with parse function or another files), which speed we can measure. If
> You have another materials(maybe any speed grafics, or a tests set that can
> help us) or thinki
Signed-off-by: Gerd Hoffmann
---
hw/usb/dev-storage.c |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/hw/usb/dev-storage.c b/hw/usb/dev-storage.c
index 251e7de..f1d8082 100644
--- a/hw/usb/dev-storage.c
+++ b/hw/usb/dev-storage.c
@@ -383,6 +383,9 @@ static int usb_
Commit 59310659073d85745854f2f10c4292555c5a1c51 is incomplete,
we'll arrive in the scsi command complete callback in CSW state
and must handle that case correctly.
Signed-off-by: Gerd Hoffmann
---
hw/usb/dev-storage.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/hw/
Changes so translation of remote address to the host's ip address in
the virtual network happens for all addresses in the 127.0.0.0/8
network, not just 127.0.0.1.
This fixes so that hostfwd bound to addresses such as 127.0.0.2 works.
Signed-off-by: Anders Waldenborg
---
Thanks for the review!
From: Amos Kong
Currently qemu outputs some low-level error in qemu-sockets.c
when failed to start vnc server.
eg. 'getaddrinfo(127.0.0.1,5902): Name or service not known'
Some libvirt users could not know what's happened with this
unclear error message. This patch added a more descriptive
error
From: Hannes Reinecke
Suggested by blue swirl. Patch is on top of Paolo's
scsi-next tree.
Signed-off-by: Hannes Reinecke
Cc: Paolo Bonzini
Cc: Blue Swirl
Signed-off-by: Stefan Hajnoczi
---
hw/megasas.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/megasas.c b/hw/
From: Michael Tokarev
As mentioned in http://bugs.debian.org/660154 , finnish keyboard mapping
is kind of broken. Fix it as Timo Sirainen suggests in #660154.
Signed-off-by: Michael Tokarev
Signed-off-by: Stefan Hajnoczi
---
pc-bios/keymaps/fi |2 --
1 file changed, 2 deletions(-)
diff
Am 13.07.2012 11:43, schrieb Stefan Hajnoczi:
> On Fri, Jul 13, 2012 at 11:27:55AM +0200, Christoph Hellwig wrote:
>> On Fri, Jul 13, 2012 at 10:13:15AM +0100, Stefan Hajnoczi wrote:
>>> How is that different from all the qemu-io commands?
>>
>> qemu-io has no modes to just dumb the output without
From: Stefan Weil
It is not needed, because the 'all' rule does the same.
Signed-off-by: Stefan Weil
Signed-off-by: Stefan Hajnoczi
---
Makefile |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 34d6a9e..6eeabd0 100644
--- a/Makefile
+++ b/
From: Stefan Weil
Signed-off-by: Stefan Weil
Reviewed-by: Peter Maydell
Signed-off-by: Stefan Hajnoczi
---
bitops.h |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/bitops.h b/bitops.h
index b967ef3..c456232 100644
--- a/bitops.h
+++ b/bitops.h
@@ -319,8 +319,8 @
This patch makes the sclp ascii default for S390.
Signed-off-by: Christian Borntraeger
---
hw/s390-virtio.c |1 -
vl.c | 40
2 files changed, 40 insertions(+), 1 deletion(-)
diff --git a/hw/s390-virtio.c b/hw/s390-virtio.c
index 577fcee
Invalid sccb addresses will cause specification or addressing exception.
Lets add those checks. Furthermore, the good case (cc=0) was incorrect
for KVM, we did not set the CC at all.
Signed-off-by: Christian Borntraeger
---
target-s390x/kvm.c |5 +++--
target-s390x/op_helper.c | 27 +
From: Heinz Graalfs
This code adds console support by implementing SCLP's ASCII Console
Data event.
This is the same console as LPARs ASCII console or z/VMs sysascii.
When data is received from the character layer it creates a service
interrupt to trigger a Read Event Data command from the gues
From: Heinz Graalfs
Several SCLP features are considered to be events. Those events don't
provide SCLP commands on their own, instead they are all based on
Read Event Data, Write Event Data, Write Event Mask and the service
interrupt. Follow-on patches will provide SCLP's Signal Quiesce (via
syst
From: Heinz Graalfs
This implements the sclp signal quiesce event via the SCLP Event
Facility.
This allows to gracefully shutdown a guest by using system_powerdown.
It creates a service interrupt that will trigger a Read Event Data
command from the guest. This code will then add an event that is
From: Heinz Graalfs
This adds a more generic infrastructure for handling Service-Call
requests on s390. Currently we only support a small subset of Read
SCP Info directly in target-s390x. This patch provides the base
infrastructure for supporting more commands and moves Read SCP
Info.
In the futu
This patch-set improve the Service-Call Logical Processor support for s390.
We tried to implement most of the comments that we got from the first patch
review.
We still have code in hw/ since sclp supports features like console etc.
target-s390/op_helper.c now handles the basic checks for the inst
On Fri, Jul 13, 2012 at 12:42:41PM +0200, Kevin Wolf wrote:
> It still feels a bit more like qemu-io-style operations. Not sure what
> your use case looks like exactly, but adding a qemu-io command that
> reads data from a file and writes it at a given offset into the images
> (or vice versa) shoul
The following changes since commit c0958559b1a589a0d189c45ea1adaa6b345f4256:
iov: Fix do_send_recv() for MinGW (also fixes a build breakage) (2012-07-11
08:51:50 -0500)
are available in the git repository at:
git://github.com/stefanha/qemu.git trivial-patches
for you to fetch changes up to
From: Andreas Färber
Any code that depends on a particular CPU type can now go through
callbacks on the QOM UniCore32CPUClass.
Signed-off-by: Andreas Färber
---
target-unicore32/cpu.h |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/target-unicore32/cpu.h b/target-un
This patch adds puv3 pm (power management) support,
include pm device simulation for kernel booting.
Thank Blue Swirl for pointing out the missing "break".
Signed-off-by: Guan Xuetao
---
hw/Makefile.objs |1 +
hw/puv3.c|1 +
hw/puv3_pm.c | 149 +++
This patch implements softmmu specific functions, include tlb_fill,
switch_mode, do_interrupt and uc32_cpu_handle_mmu_fault.
So the full exception handlers and page table walking could work now.
Signed-off-by: Guan Xuetao
---
target-unicore32/op_helper.c | 22 -
target-unicore32/softmmu.c
This patch adds ps2/keyboard support, and enables CONFIG_PCKBD.
Signed-off-by: Guan Xuetao
---
default-configs/unicore32-softmmu.mak |1 +
hw/puv3.c |5 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/default-configs/unicore32-softmmu.mak
This patch adds puv3 ostimer support, include os timer
device simulation and ptimer support in puv3 machine.
Signed-off-by: Guan Xuetao
---
default-configs/unicore32-softmmu.mak |1 +
hw/Makefile.objs |1 +
hw/puv3.c |3 +
hw/puv3_ost.
This patch adds puv3 gpio (General Purpose Input/Output) support,
include gpio device simulation and its interrupt support.
Signed-off-by: Guan Xuetao
---
hw/Makefile.objs |1 +
hw/puv3.c|6 ++
hw/puv3_gpio.c | 141 ++
3 file
Am 13.07.2012 12:55, schrieb Christoph Hellwig:
> On Fri, Jul 13, 2012 at 12:42:41PM +0200, Kevin Wolf wrote:
>> It still feels a bit more like qemu-io-style operations. Not sure what
>> your use case looks like exactly, but adding a qemu-io command that
>> reads data from a file and writes it at a
This patch initializes the cpuid to exactly correct value because
linux kernel will check it.
In addition, the exception types are specified in proper situations.
Then it could make exceptions generated correctly and timely.
Signed-off-by: Guan Xuetao
---
cpu-exec.c |1 +
linux-u
As a matter of course, we need to access user space in kernel code,
so we need to correct load/store decoders to indicate correct memory
region.
Signed-off-by: Guan Xuetao
---
target-unicore32/translate.c | 36 ++--
1 files changed, 26 insertions(+), 10 deletion
This patch only add puv3 soc/board support, which introduces puv3
machine description, and specifies console type.
Signed-off-by: Guan Xuetao
---
default-configs/unicore32-softmmu.mak |1 +
hw/puv3.c | 93 +
hw/puv3.h
This patch adds puv3 dma (Direct Memory Access) support,
include dma device simulation for kernel booting.
Signed-off-by: Guan Xuetao
---
hw/Makefile.objs |1 +
hw/puv3.c|1 +
hw/puv3_dma.c| 109 ++
3 files changed, 111 ins
This patch adds unicore32-softmmu build support, include configure,
makefile, arch_init, and all missing functions needed by softmmu.
Although all missing functions are empty, unicore32-softmmu could
be build successfully.
Signed-off-by: Guan Xuetao
---
arch_init.c |
Signed-off-by: Guan Xuetao
---
MAINTAINERS |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 30ed56d..35dbbad 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -405,6 +405,14 @@ M: Alexander Graf
S: Maintained
F: hw/s390-*.c
+UniCore3
This patch adds puv3 interrupt support, include interrupt controler
device simulation and interrupt handler in puv3 machine.
Signed-off-by: Guan Xuetao
---
hw/Makefile.objs |3 +
hw/puv3.c| 23 +-
hw/puv3_intc.c | 135 +
Il 13/07/2012 11:51, Paolo Bonzini ha scritto:
> Il 13/07/2012 11:16, Stefan Hajnoczi ha scritto:
>>> "Working around the QEMU block layer license" is not a goal per se,
>>> especially because you haven't a) assessed _what_ is the GPL code that
>>> the library would use; b) told us why the library
Coprocessor 0 is system control coprocessor, and we need get/set its contents.
Also, all cache/tlb ops shoule be implemented here, but just ignored with no
harm.
Coprocessor 1 is OCD (on-chip-debugger), which is used for faked console,
so we could output chars to this console without graphic card
These patches implement softmmu support on unicore32 architecture.
Based on master branch of qemu, the patches can be fetched from:
git://github.com/gxt/QEMU.git unicore32
UniCore32 CPU is embedded in PKUnity-3 SoC, so we add necessary puv3
devices simulation codes together.
Only minimal syste
On 07/12/2012 10:14 PM, siddharth srivastava wrote:
> Hi
>
> I also see that qemu 0.13 has live migration in inbuilt.Does it also
> uses libvirt behind the scenes to create live ram snapshot ?
No, you've got it backwards. Qemu does not use libvirt. Rather,
libvirt wraps qemu features to expose
Public bug reported:
$ qemu -daemonize -nographic
$ _
After this, the terminal is switched to some weird mode, not processing
cr/lf, and not showing the characters being typed (it is fixable by
using `stty sane').
Something is seriously wrong here: When -daemonize is given, qemu not
touch tty
FWIW, it has been present at least since version 0.10 of qemu, and still
present in current 1.1 version.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1024275
Title:
bad iteraction between -daemoni
** Changed in: qemu (Debian)
Status: Unknown => New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1024275
Title:
bad iteraction between -daemonize and -nographic
Status in QEMU:
Confirmed
2012/7/13 Guan Xuetao :
> This patch only add puv3 soc/board support, which introduces puv3
> machine description, and specifies console type.
>
> Signed-off-by: Guan Xuetao
> ---
> default-configs/unicore32-softmmu.mak |1 +
> hw/puv3.c | 93
> +
On Fri, Jul 13, 2012 at 3:43 AM, Rusty Russell wrote:
> Recent kernels use this to set the CP15 registers, rather than putting
> them in 'struct kvm_regs'. The changed size of that struct changes the
> ioctl number, so we have a temporary hack to try both.
>
> Signed-off-by: Rusty Russell
>
> di
On Fri, Jul 13, 2012 at 5:24 AM, Alexey Kardashevskiy wrote:
> Two comments below.
>
> On 13/07/12 06:54, Blue Swirl wrote:
>> On Thu, Jul 12, 2012 at 8:52 AM, Alexey Kardashevskiy wrote:
>>> It literally does the following:
>>>
>>> 1. POWERPC IOMMU support (the kernel counterpart is required)
>>
1 - 100 of 157 matches
Mail list logo