On 25/05/12 11:51, Eric Blake wrote:
On 05/24/2012 09:32 PM, Amos Kong wrote:
Convert 'sendkey' to use. do_sendkey() depends on some variables
in monitor.c, so reserve qmp_sendkey() to monitor.c
Rename 'string' to 'keys', rename 'hold_time' to 'hold-time'
Signed-off-by: Amos
Public bug reported:
Compile qemu from git and do:
./ppc64-softmmu/qemu-system-ppc64
(ie. no parameters). It boots to an OpenBIOS prompt. However the
keyboard doesn't work. After ~10 keypresses, qemu just says:
usb-kbd: warning: key event queue full
usb-kbd: warning: key event queue full
On 05/22/2012 01:05 AM, Alex Williamson wrote:
Fill in many missing definitions and add sizeof fields for many
sections allowing for more extensive config parsing.
Signed-off-by: Alex Williamsonalex.william...@redhat.com
---
overall, i'm very glad to see defines instead of hardcoded numbers
On Thu, 2012-05-24 at 17:49 -0400, Don Dutile wrote:
On 05/22/2012 01:05 AM, Alex Williamson wrote:
Fill in many missing definitions and add sizeof fields for many
sections allowing for more extensive config parsing.
Signed-off-by: Alex Williamsonalex.william...@redhat.com
---
On Wed, May 23, 2012 at 2:31 AM, Michael Tokarev m...@tls.msk.ru wrote:
On 22.05.2012 14:03, ronnie sahlberg wrote:
[]
Doh, now I remember. Whenever you change the aio handlers you need to
call qemu_notify_event() afterwards, if the handler may fire right away.
Thanks. I just confirmed
On 05/22/2012 01:05 AM, Alex Williamson wrote:
In a PCI environment, transactions aren't always required to reach
the root bus before being re-routed. Intermediate switches between
an endpoint and the root bus can redirect DMA back downstream before
things like IOMMUs have a chance to
On 05/22/2012 01:04 AM, Alex Williamson wrote:
Add back group support for AMD Intel. amd_iommu already tracks
devices and has init and uninit routines to manage groups.
intel-iommu does this on the fly, so we make use of the notifier
support built into iommu groups to create and remove groups.
On Thu, 2012-05-24 at 17:38 -0400, Don Dutile wrote:
On 05/22/2012 01:05 AM, Alex Williamson wrote:
x86 is probably the wrong name for this VFIO IOMMU driver, but x86
is the primary target for it. This driver support a very simple
usage model using the existing IOMMU API. The IOMMU is
Il 24/05/2012 19:59, zwu.ker...@gmail.com ha scritto:
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
net/hub.c | 35 ---
net/hub.h |2 ++
net/queue.c |5 +
3 files changed, 39
Il 24/05/2012 23:34, Andreas Färber ha scritto:
-static ObjectProperty *object_property_find(Object *obj, const char *name)
+ObjectProperty *object_property_find(Object *obj, const char *name)
{
ObjectProperty *prop;
Any reason not to expose a bool object_property_exists()
On Thu, 2012-05-24 at 17:01 -0400, Don Dutile wrote:
On 05/22/2012 01:04 AM, Alex Williamson wrote:
Add back group support for AMD Intel. amd_iommu already tracks
devices and has init and uninit routines to manage groups.
intel-iommu does this on the fly, so we make use of the notifier
On 05/22/2012 01:04 AM, Alex Williamson wrote:
Version 2 incorporating acks and feedback from v1. The PCI DMA quirk
and ACS check are reworked, sysfs iommu groups ABI Documentation
added as well as numerous other fixes, including patches from Alexey
Kardashevskiy towards supporting POWER usage
On Thu, May 24, 2012 at 04:08:30PM -0600, Arturo CV wrote:
Hello,
Am new around here and am working with the QEMU in a project.
I would like to ask if there is anyone that can let me know how to
compile or build the images to be used to run the QEMU from the source
code. I already got the
Hello,
Am new around here and am working with the QEMU in a project.
I would like to ask if there is anyone that can let me know how to
compile or build the images to be used to run the QEMU from the source
code. I already got the source code from the wiki.qemu.org and I have
the version 1.0.1.
On 05/22/2012 01:05 AM, Alex Williamson wrote:
x86 is probably the wrong name for this VFIO IOMMU driver, but x86
is the primary target for it. This driver support a very simple
usage model using the existing IOMMU API. The IOMMU is expected to
support the full host address space with no
On Thu, 2012-05-24 at 17:30 -0400, Don Dutile wrote:
On 05/22/2012 01:05 AM, Alex Williamson wrote:
In a PCI environment, transactions aren't always required to reach
the root bus before being re-routed. Intermediate switches between
an endpoint and the root bus can redirect DMA back
On Fri, May 25, 2012 at 02:20:33PM +0800, Amos Kong wrote:
On 25/05/12 11:51, Eric Blake wrote:
On 05/24/2012 09:32 PM, Amos Kong wrote:
Convert 'sendkey' to use. do_sendkey() depends on some variables
in monitor.c, so reserve qmp_sendkey() to monitor.c
Rename 'string' to 'keys', rename
Some adapters (like NEC PCI USB controller) do not flush their config
on a sioftware reset and remember DMA config, etc.
If we use such an adapter with QEMU, then crash QEMU (stop it with
ctrl-A ctrl-X), and try to use it in QEMU again, it may start working
immediately with previous config when
On Fri, May 25, 2012 at 3:04 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 24/05/2012 19:59, zwu.ker...@gmail.com ha scritto:
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
net/hub.c | 35 ---
Paolo, list
Please find two patches. Both are big so maybe best to only add to the post 1.1
branches.
The first patch tries to be more intelligent when setting up the fd events and
only call these functions if something has changed.
The second patch adds support for passthrough of SCSI
Also first call out to the socket write functions director, and only set up the
write event if the socket is full.
This means that we will only need to invoke these two functions very rarely
which will improve performance.
Signed-off-by: Ronnie Sahlberg ronniesahlb...@gmail.com
---
Update scsi-generic to allow passthrough of SG_IO scsi commands
to iscsi devices too in addition to the real scsi-generic devices.
Implement both bdrv_ioctl() and bdrv_aio_ioctl() in the iscsi backend,
emulate the SG_IO ioctl and pass the SCSI commands across to the
iscsi target.
This allows
On Fri, May 25, 2012 at 3:04 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 24/05/2012 19:59, zwu.ker...@gmail.com ha scritto:
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
net/hub.c | 35 ---
On Fri, May 25, 2012 at 3:42 AM, Charles.Tsai-蔡清海-研究發展部
charles.t...@cloudena.com wrote:
I had a problem to launch the VM using the script that contains the Qemu
options. My script used to work before updating the latest Qemu code
suggested by Hans. I also tried to latest code from
On Fri, May 25, 2012 at 3:04 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 24/05/2012 19:59, zwu.ker...@gmail.com ha scritto:
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
net/hub.c | 35 ---
On Thu, May 24, 2012 at 03:41:29PM +0200, Paolo Bonzini wrote:
changes from v1:
- added per-job iostatus
- added description of persistent dirty bitmap
The same content is also at
http://wiki.qemu.org/Features/LiveBlockMigration/1.2
QMP changes for error handling
On Fri, 2012-05-25 at 17:35 +1000, Alexey Kardashevskiy wrote:
Some adapters (like NEC PCI USB controller) do not flush their config
on a sioftware reset and remember DMA config, etc.
If we use such an adapter with QEMU, then crash QEMU (stop it with
ctrl-A ctrl-X), and try to use it in QEMU
On 25.05.2012, at 05:53, Benjamin Herrenschmidt b...@kernel.crashing.org
wrote:
This adds a qemu-specific hypervisor call to the pseries machine
which allows to do what amounts to memmove, memcpy and xor over
regions of physical memory such as the framebuffer.
This is the simplest way to
On Fri, 2012-05-25 at 10:30 +0200, Alexander Graf wrote:
+while (count--) {
+switch (esize) {
+case 0: tmp = ldub_phys(src);
I'm surprised checkpatch didn't complain here. Please do
case x:
foo();
break();
break;
+case 1: tmp =
Am 25.05.2012 10:28, schrieb Stefan Hajnoczi:
On Thu, May 24, 2012 at 03:41:29PM +0200, Paolo Bonzini wrote:
changes from v1:
- added per-job iostatus
- added description of persistent dirty bitmap
The same content is also at
http://wiki.qemu.org/Features/LiveBlockMigration/1.2
QMP
Il 24/05/2012 18:57, Eric Blake ha scritto:
On 05/24/2012 07:41 AM, Paolo Bonzini wrote:
changes from v1:
- added per-job iostatus
- added description of persistent dirty bitmap
The same content is also at
http://wiki.qemu.org/Features/LiveBlockMigration/1.2
* query-block-jobs:
On 25.05.2012, at 10:36, Benjamin Herrenschmidt b...@kernel.crashing.org
wrote:
On Fri, 2012-05-25 at 10:30 +0200, Alexander Graf wrote:
+while (count--) {
+switch (esize) {
+case 0: tmp = ldub_phys(src);
I'm surprised checkpatch didn't complain here. Please do
Il 24/05/2012 17:32, Dor Laor ha scritto:
I didn't understand whether the persistent dirty bitmap needs to be
flushed. This bitmap actually control the persistent known state of the
destination image. Since w/ mirroring we always have the source in full
state condition, we can choose to lazy
Stefan,
I made two test cases here.
1) case one:
A 32-bit Windows 7 VM with 8G virtual disk size.
In this test, the virtual disk is almost full.
Like what you said, the instance VM size only increased 2%
initially and only a little
On Fri, 2012-05-25 at 10:54 +0200, Alexander Graf wrote:
case x:
foo();
break();
break;
+case 1: tmp = lduw_phys(src); break;
+case 2: tmp = ldl_phys(src); break;
+case 3: tmp = ldq_phys(src); break;
+default:
+return
On Thu, May 24, 2012 at 03:41:29PM +0200, Paolo Bonzini wrote:
Persistent dirty bitmap
===
A persistent dirty bitmap can be used by management for two reasons.
When mirroring is used for continuous replication of storage, to record
I/O operations that happened while the
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/usb/hcd-xhci.c | 18 ++
trace-events |6 ++
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
index c50e407..7e823da 100644
--- a/hw/usb/hcd-xhci.c
+++
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/usb/hcd-xhci.c | 22 +-
trace-events |5 +
2 files changed, 10 insertions(+), 17 deletions(-)
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
index 08fdf94..c50e407 100644
--- a/hw/usb/hcd-xhci.c
+++
Il 25/05/2012 11:44, Gerd Hoffmann ha scritto:
usb-storage can't handle requests in one go as the data transfer can be
splitted into lots of usb packets. Because of that there can be
normal in-flight requests at savevm time and we need to handle that.
With other scsi hba's this happens only
Repace the running buffer pointer (scsi_buf) with a buffer offset
field (scsi_off). The later is alot easier to live-migrate.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/usb/dev-storage.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git
Il 25/05/2012 09:43, Ronnie Sahlberg ha scritto:
Also first call out to the socket write functions director, and only set up
the write event if the socket is full.
This means that we will only need to invoke these two functions very rarely
which will improve performance.
Signed-off-by:
Add a property for the uhci bandwidth. Can be used to make uhci
emulation run faster than real hardware.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/usb/hcd-uhci.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/usb/hcd-uhci.c b/hw/usb/hcd-uhci.c
index
On Fri, May 25, 2012 at 7:59 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 25/05/2012 09:43, Ronnie Sahlberg ha scritto:
Also first call out to the socket write functions director, and only set up
the write event if the socket is full.
This means that we will only need to invoke these two
On Thu, May 24, 2012 at 05:53:21PM -0300, Luiz Capitulino wrote:
On Fri, 25 May 2012 01:59:06 +0800
zwu.ker...@gmail.com wrote:
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
The patchset implements network hub stead of vlan. The main work was done
by stefan, and i rebased it to latest
Il 25/05/2012 09:48, Zhi Yong Wu ha scritto:
static ssize_t net_hub_receive(NetHub *hub, NetHubPort *source_port,
const uint8_t *buf, size_t len)
{
NetHubPort *port;
+ssize_t ret = 0;
QLIST_FOREACH(port, hub-ports, next) {
if (port
Il 25/05/2012 11:44, Gerd Hoffmann ha scritto:
Repace the running buffer pointer (scsi_buf) with a buffer offset
field (scsi_off). The later is alot easier to live-migrate.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/usb/dev-storage.c |8
1 files changed, 4
Il 25/05/2012 09:43, Ronnie Sahlberg ha scritto:
Update scsi-generic to allow passthrough of SG_IO scsi commands
to iscsi devices too in addition to the real scsi-generic devices.
Implement both bdrv_ioctl() and bdrv_aio_ioctl() in the iscsi backend,
emulate the SG_IO ioctl and pass the SCSI
On 25.05.2012, at 11:24, Benjamin Herrenschmidt b...@kernel.crashing.org
wrote:
On Fri, 2012-05-25 at 10:54 +0200, Alexander Graf wrote:
case x:
foo();
break();
break;
+case 1: tmp = lduw_phys(src); break;
+case 2: tmp = ldl_phys(src); break;
+case 3:
Hi,
This patch series brings some bandwidth management tweaks for uhci, and
also a little uhci migration fix.
It also brings live migration support for usb-storage, including an
update for scsi-disk live migration support. Paolo, feel free to
cherry-pick the scsi patch, I'll go drop it for
Hi,
Can usb-storage have multiple requests in flight (in principle, i.e.
according to the USB protocol)?
No. Well, not with the protocol emulated here.
There is a new one for usb storage devices, designed with USB 3.0 in
mind and using streams (usb 3.0 feature) to handle multiple requests
Cancel transactions before saving vmstate is pretty pointless and just
causes disruptions. We need to cancel them before *loading* vmstate,
but in that case uhci_reset() handles it already and no special action
is needed.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/usb/hcd-uhci.c |
Paolo,
Please find an updated patch that implements your suggestion.
This patch updates how iscsi sets up the read and write events so that we only
call qemu_aio_set_fd_handler() and qemu_notify_event() when we actually need
to.
regards
ronnie sahlberg
Also first call out to the socket write functions director, and only set up the
write event if the socket is full.
This means that we will only need to invoke these two functions very rarely
which will improve performance.
Signed-off-by: Ronnie Sahlberg ronniesahlb...@gmail.com
---
On 2012-05-24 23:47, Alexey Kardashevskiy wrote:
On 25/05/12 12:29, Jan Kiszka wrote:
On 2012-05-24 22:18, Alexey Kardashevskiy wrote:
On 24/05/12 22:02, Jan Kiszka wrote:
On 2012-05-24 04:44, Alexey Kardashevskiy wrote:
[Found while debugging VFIO on POWER but it is platform independent]
With all scsi migration support bits in place the
final step is pretty simple ;)
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/usb/dev-storage.c | 23 +--
1 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/hw/usb/dev-storage.c b/hw/usb/dev-storage.c
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Only when all other hub port's *peer* .can_receive() all return 1, the source
hub port .can_receive() return 1.
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
net/hub.c | 27 ---
1 files changed, 24 insertions(+), 3
On Fri, May 25, 2012 at 6:08 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 25/05/2012 09:48, Zhi Yong Wu ha scritto:
static ssize_t net_hub_receive(NetHub *hub, NetHubPort *source_port,
const uint8_t *buf, size_t len)
{
NetHubPort *port;
+ ssize_t
Hi,
A bunch of xhci updates. Nothing earth-shaking: A little reset fix
from Jan and support for tracepoints. Scheduled for post-freeze
merging.
cheers,
Gerd
Gerd Hoffmann (7):
xhci: trace: mmio reads+writes
xhci: trace: run+stop
xhci: trace: irq + events
xhci: trace: ring fetch
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/usb/hcd-xhci.c |5 ++---
trace-events |2 ++
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
index 84d714a..43875aa 100644
--- a/hw/usb/hcd-xhci.c
+++ b/hw/usb/hcd-xhci.c
@@
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/usb/hcd-xhci.c | 12
trace-events |3 +++
2 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
index 43875aa..6890888 100644
--- a/hw/usb/hcd-xhci.c
+++
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
trace-events |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/trace-events b/trace-events
index f848bee..73583f3 100644
--- a/trace-events
+++ b/trace-events
@@ -266,10 +266,10 @@ usb_uhci_frame_start(uint32_t num)
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/usb/hcd-xhci.c | 10 ++
trace-events |1 +
2 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
index 6890888..08fdf94 100644
--- a/hw/usb/hcd-xhci.c
+++ b/hw/usb/hcd-xhci.c
@@
Il 25/05/2012 12:52, zwu.ker...@gmail.com ha scritto:
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Only when all other hub port's *peer* .can_receive() all return 1, the source
hub port .can_receive() return 1.
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
---
net/hub.c | 27
Schedule bottom half on completion of async packets instead of calling
uhci_process_frame directly. This way we run uhci_process_frame only
once in case multiple packets finish in a row. Also check whenever
there is bandwidth left before scheduling uhci_process_frame.
Signed-off-by: Gerd
usb-storage can't handle requests in one go as the data transfer can be
splitted into lots of usb packets. Because of that there can be
normal in-flight requests at savevm time and we need to handle that.
With other scsi hba's this happens only in case i/o is stopped due to
errors and there are
uhci_process_frame() can be invoked multiple times per frame, so
accounting usb bandwith in a local variable doesn't fly, use a variable
in UHCIState instead. Also check the limit more frequently.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/usb/hcd-uhci.c | 22 --
On Fri, May 25, 2012 at 7:05 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 25/05/2012 12:52, zwu.ker...@gmail.com ha scritto:
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Only when all other hub port's *peer* .can_receive() all return 1, the
source hub port .can_receive() return 1.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/usb/hcd-xhci.c | 12 ++--
trace-events |6 ++
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
index 7e823da..6c2ff02 100644
--- a/hw/usb/hcd-xhci.c
+++
Il 22/05/2012 14:25, Paolo Bonzini ha scritto:
The following changes since commit 76ee152a86d5f2533443ce4d2be6fe253cfb3c45:
Update version to 1.1.0-rc2 (2012-05-14 17:56:50 -0500)
are available in the git repository at:
git://github.com/bonzini/qemu.git scsi-next
for you to fetch
Il 25/05/2012 12:25, Ronnie Sahlberg ha scritto:
This patch updates how iscsi sets up the read and write events so
that we only call qemu_aio_set_fd_handler() and qemu_notify_event()
when we actually need to.
Applied, thanks.
Paolo
Factor out packet completion to a separate function which
cares to get the MSDState-packet update right.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/usb/dev-storage.c | 28
1 files changed, 16 insertions(+), 12 deletions(-)
diff --git
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/usb/hcd-xhci.c | 163 ++---
trace-events | 12
2 files changed, 117 insertions(+), 58 deletions(-)
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
index 4bc1e0e..84d714a 100644
Il 25/05/2012 11:43, Stefan Hajnoczi ha scritto:
On Thu, May 24, 2012 at 03:41:29PM +0200, Paolo Bonzini wrote:
Persistent dirty bitmap
===
A persistent dirty bitmap can be used by management for two reasons.
When mirroring is used for continuous replication of storage,
Stefan Hajnoczi stefa...@linux.vnet.ibm.com writes:
On Thu, May 24, 2012 at 05:53:21PM -0300, Luiz Capitulino wrote:
On Fri, 25 May 2012 01:59:06 +0800
zwu.ker...@gmail.com wrote:
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
The patchset implements network hub stead of vlan. The main
From: Jan Kiszka jan.kis...@siemens.com
Properly register reset function via the device class.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/usb/hcd-xhci.c |9 -
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git
We have the field twice, once in MSDState directly and one in the status
word struct. Drop one.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/usb/dev-storage.c | 10 --
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/hw/usb/dev-storage.c b/hw/usb/dev-storage.c
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
target-unicore32/translate.c | 33 -
1 files changed, 24 insertions(+), 9 deletions(-)
diff --git a/target-unicore32/translate.c b/target-unicore32/translate.c
index d76fff0..1f0ba4f 100644
---
We need to specify the exception type in proper situations.
Then it could make exceptions generated correctly and timely.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
cpu-exec.c |1 +
linux-user/main.c |3 ++-
target-unicore32/cpu.h |6 --
3 files changed,
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.
OCD (on-chip-debugger) is used for faked console, so we could output chars to
this console without graphic card.
Signed-off-by: Guan
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
MAINTAINERS |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index b45f075..5b6b031 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -394,6 +394,13 @@ M: Alexander Graf ag...@suse.de
S:
This patch adds configure and makefile support for unicore32-softmmu.
All puv3-soc devices are put into hw/pkunity directory, so this dir
will be added when unicore32-softmmu is selected.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
Makefile.target |5 +
These patches implement softmmu support on unicore32 architecture.
UniCore32 CPU is embedded in PKUnity-3 SoC, so we add hw/pkunity dir
to contain all puv3 devices simulation codes together.
Only minimal system control modules are simulated, to make linux kernel
boot and busybox run in initramfs.
This patch seperates softmmu functions from the old user-only ones.
So the full exception handlers and page table walking could work now.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
target-unicore32/helper.c | 25 ++--
target-unicore32/uc32_softmmu.c | 267
This patch only add minimal necessary system-control modules simulation
for successfully kernel booting and busybox running.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
hw/pkunity/puv3.c | 130 +
hw/pkunity/puv3.h | 49
25.05.2012 20:43, Jan Kiszka написал:
On 2012-05-24 23:47, Alexey Kardashevskiy wrote:
On 25/05/12 12:29, Jan Kiszka wrote:
On 2012-05-24 22:18, Alexey Kardashevskiy wrote:
On 24/05/12 22:02, Jan Kiszka wrote:
On 2012-05-24 04:44, Alexey Kardashevskiy wrote:
[Found while debugging VFIO on
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
target-unicore32/cpu.c | 17 +
target-unicore32/cpu.h |2 +-
2 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/target-unicore32/cpu.c b/target-unicore32/cpu.c
index de63f58..62c0a22 100644
---
On Wed, May 23, 2012 at 2:11 PM, Michael Tokarev m...@tls.msk.ru wrote:
On 23.05.2012 16:57, Stefan Hajnoczi wrote:
[]
However, the qcow2 file should not grow much beyond its virtual disk
size. So if you find the qcow2 is 3G but the virtual disk size is 1G,
then there is a bug. But from
This patch adds generic cpu state save/load functions for UniCore32 ISA.
All architecture related registers are saved or loaded, and no optimization.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
target-unicore32/machine.c | 99
1 files
On Fri, 2012-05-25 at 19:28 +0800, Guan Xuetao wrote:
These patches implement softmmu support on unicore32 architecture.
I'm really sorry for the subject.
The subject is: softmmu implementation on UniCore32 ISA
Thanks.
Guan Xuetao
On 2012-05-25 08:26, Alexey Kardashevskiy wrote:
25.05.2012 20:43, Jan Kiszka написал:
On 2012-05-24 23:47, Alexey Kardashevskiy wrote:
On 25/05/12 12:29, Jan Kiszka wrote:
On 2012-05-24 22:18, Alexey Kardashevskiy wrote:
On 24/05/12 22:02, Jan Kiszka wrote:
On 2012-05-24 04:44, Alexey
On Thu, May 24, 2012 at 11:40 AM, Charles.Tsai-蔡清海-研究發展部
charles.t...@cloudena.com wrote:
Stefan,
Can you explain why a 64KB could be allocated for each sector write?
The default cluster size in qcow2 is 64 KB. qcow2 manages space in 64
KB pieces. Therefore, when you write to a region
Am 24.05.2012 18:51, schrieb Richard W.M. Jones:
Compile qemu from git and do:
./ppc64-softmmu/qemu-system-ppc64
(ie. no parameters). It boots to an OpenBIOS prompt. However the
keyboard doesn't work. After ~10 keypresses, qemu just says:
usb-kbd: warning: key event queue full
Am 25.05.2012 13:29, schrieb Guan Xuetao:
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
target-unicore32/cpu.c | 17 +
target-unicore32/cpu.h |2 +-
2 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/target-unicore32/cpu.c b/target-unicore32/cpu.c
Am 25.05.2012 13:29, schrieb Guan Xuetao:
This patch adds generic cpu state save/load functions for UniCore32 ISA.
All architecture related registers are saved or loaded, and no optimization.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
target-unicore32/machine.c | 99
Hi Guan,
+void cpu_save(QEMUFile *f, void *opaque)
+{
+int i;
+CPUUniCore32State *env = (CPUUniCore32State *)opaque;
+
+for (i = 0; i 32; i++) {
+qemu_put_be32(f, env-regs[i]);
+}
+qemu_put_be32(f, cpu_asr_read(env));
+qemu_put_be32(f, env-bsr);
+
On Fri, May 25, 2012 at 10:20 AM, Charles.Tsai-蔡清海-研究發展部
charles.t...@cloudena.com wrote:
Stefan,
I made two test cases here.
1) case one:
A 32-bit Windows 7 VM with 8G virtual disk size.
In this test, the virtual disk is almost full.
Am 25.05.2012 13:29, schrieb Guan Xuetao:
This patch only add minimal necessary system-control modules simulation
for successfully kernel booting and busybox running.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
hw/pkunity/puv3.c | 130 +
Am 25.05.2012 13:29, schrieb Guan Xuetao:
This patch adds configure and makefile support for unicore32-softmmu.
All puv3-soc devices are put into hw/pkunity directory, so this dir
will be added when unicore32-softmmu is selected.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
The multifunction ich9 ehci controller with uhci companions uses a
different interrupt pin for each function. The three uhci devices
get pins A, B and C, whereas ehci uses pin D. This way the guest
can assign different IRQ lines to each controller.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
Any code that depends on a particular CPU type can now go through
callbacks on the QOM UniCore32CPUClass.
Signed-off-by: Andreas Färber afaer...@suse.de
---
target-unicore32/cpu.h |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/target-unicore32/cpu.h
1 - 100 of 228 matches
Mail list logo