> -Original Message-
> From: Roy Tam [mailto:roy...@gmail.com]
> Sent: Thursday, March 24, 2011 2:40 PM
> To: Guan Xuetao
> Cc: qemu-devel@nongnu.org
> Subject: Re: [Qemu-devel] target-unicore32: New ISA support for QEMU
>
> Hi,
>
> 2011/3/24 Guan Xuetao :
> > Hi,
> > I want to add new
this bug is fixed in the latest qemu-kvm.git:
2c9bb5d4e5ae3b12ad71bd6a0c1b32003661f53a
** Changed in: qemu
Status: New => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/739088
Tit
this bug is fixed in the latest qemu-kvm.git:
2c9bb5d4e5ae3b12ad71bd6a0c1b32003661f53a
** Changed in: qemu
Status: New => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/739092
Tit
Anthony Liguori writes:
> On 03/22/2011 08:01 AM, Markus Armbruster wrote:
>> Type checking macros are feasible (see [*] for an existence proof), but
>> things do get hairy, and the resulting error messages can be less than
>> clear at times.
>
> That just gives you a warning. You can do much be
On 24.03.2011, at 05:41, David Gibson wrote:
> On Wed, Mar 23, 2011 at 10:29:04PM +0100, Alexander Graf wrote:
>>
>> On 23.03.2011, at 22:08, Benjamin Herrenschmidt wrote:
>>
>>> On Wed, 2011-03-23 at 15:45 +0100, Alexander Graf wrote:
What's the magic to start a guest? I tried passi
On 03/23/2011 07:11 AM, Benjamin Poirier wrote:
Hello,
Here is version 7 of my patchset to add vlan support to the emulated rtl8139
nic.
Changes since v6:
* added check against guest requesting tagging on frames with len< 12
* simplified tag extraction in receive function. dot1
On 16.03.2011, at 18:08, Alexander Graf wrote:
> On 03/07/2011 11:32 PM, Michael Walle wrote:
>> This is the second (and last) patchset of the LatticeMico32 support. It
>> adds almost complete support for the opensource and openhardware Milkymist
>> One board [1].
>>
>> [1] http://www.milkymist.
The patch set adds new unicore32-linux-user support for qemu-stable-0.14
Patch 1 adds target-unicore32 directory
Patch 2 adds linux-user/unicore32 directory
Patch 3 adds necessary modifications for other files
Signed-off-by: Guan Xuetao
---
GuanXuetao (3):
unicore32: add target-un
unicore32: necessary modifications for other files to support unicore32
Signed-off-by: Guan Xuetao
---
configure| 11 +++-
cpu-exec.c | 12 -
default-configs/unicore32-linux-user.mak |1 +
elf.h
Am 24.03.2011 04:05, schrieb Anthony Liguori:
>> ie. lguest and S/390 don't trap writes to config space.
>>
>> Or perhaps they should? But we should be explicit about needing it...
> I don't think we ever operated on the assumption that config space writes
> would trap.
>
> I don't think adding
unicore32: add necessary headers in linux-user/unicore32 for unicore32 support
Signed-off-by: Guan Xuetao
---
linux-user/unicore32/syscall.h | 55 +
linux-user/unicore32/syscall_nr.h| 371 ++
linux-user/unicore32/target_signal.h | 26 +++
linux-
Hi All,
When we moved from the spicevmc device (which directly implemented a virtio
serial port) to doing spicevmc as a chardev backend we lost the notification
of the guest opening / closing the port to spice server. This causes the
server to not fall back to server mouse mode when the agent insi
Some frontends know when the guest has opened the "channel" and is actively
listening to it, for example virtio-serial. This patch adds 2 new qemu-chardev
functions which can be used by frontends to signal guest open / close, and
allows interested backends to listen to this.
Signed-off-by: Hans de
Signed-off-by: Hans de Goede
---
hw/virtio-console.c | 18 ++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/hw/virtio-console.c b/hw/virtio-console.c
index c235b27..e635771 100644
--- a/hw/virtio-console.c
+++ b/hw/virtio-console.c
@@ -27,6 +27,22 @@ static ssi
Note the vmc_register_interface() in spice_chr_write is left in place
in case someone uses spice-chardev with a frontend which does not have
guest open / close notification.
Signed-off-by: Hans de Goede
---
spice-qemu-char.c | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-
Add very basic implementation of collie PDA emulation. The system lacks
LoCoMo and graphics/sound emulation. Linux kernel boots up to mounting
rootfs (theoretically it can be provided in pflash images).
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/collie.c | 70 +++
Currently target-arm/ assumes at least ARMv5 core. Add support for
handling also ARMv4/ARMv4T. This changes the following instructions:
BX(v4T and later)
BKPT, BLX, CDP2, CLZ, LDC2, LDRD, MCRR, MCRR2, MRRC, MCRR, MRC2, MRRC,
MRRC2, PLD QADD, QDADD, QDSUB, QSUB, STRD, SMLAxy, SMLALxy, SMLAWxy,
SMU
On 03/18/2011 12:42 AM, Glauber Costa wrote:
According to Avi's comments over my last submission, I decided to take a
different, and more correct direction - we hope.
This patch is now using the features provided by KVM_GET_SUPPORTED_CPUID
directly to
mask out features from guest-visible cpuid.
Basic implementation of DEC/Intel SA-1100/SA-1110 chips emulation.
Implemented:
- IRQs
- GPIO
- PPC
- RTC
- UARTs (no IrDA/etc.)
- OST reused from pxa25x
Everything else is TODO (esp. PM/idle/sleep!) - see the todo in the
hw/strongarm.c
V2:
* removed all strongarm variants except latest
On 03/18/2011 12:42 AM, Glauber Costa wrote:
This patch is a follow up to an earlier one that aims to enable
kvmclock newer msr set. This time I'm doing it through a more sane
mechanism of consulting the kernel about the supported msr set.
Thanks, applied.
--
error compiling committee.c: too m
On 03/24/2011 12:37 PM, Avi Kivity wrote:
On 03/18/2011 12:42 AM, Glauber Costa wrote:
This patch is a follow up to an earlier one that aims to enable
kvmclock newer msr set. This time I'm doing it through a more sane
mechanism of consulting the kernel about the supported msr set.
Thanks, appl
Dmitry Eremin-Solenikov wrote:
> Basic implementation of DEC/Intel SA-1100/SA-1110 chips emulation.
> Implemented:
> - IRQs
> - GPIO
> - PPC
> - RTC
> - UARTs (no IrDA/etc.)
> - OST reused from pxa25x
>
> Everything else is TODO (esp. PM/idle/sleep!) - see the todo in the
> hw/strongarm.c
>
On Thu, Mar 24, 2011 at 11:12:01AM +0100, Hans de Goede wrote:
> Hi All,
>
> When we moved from the spicevmc device (which directly implemented a virtio
> serial port) to doing spicevmc as a chardev backend we lost the notification
> of the guest opening / closing the port to spice server. This ca
On 3/24/11, Juan Quintela wrote:
> Dmitry Eremin-Solenikov wrote:
>> Basic implementation of DEC/Intel SA-1100/SA-1110 chips emulation.
>> Implemented:
>> - IRQs
>> - GPIO
>> - PPC
>> - RTC
>> - UARTs (no IrDA/etc.)
>> - OST reused from pxa25x
>>
>> Everything else is TODO (esp. PM/idle/sle
On Wed, Mar 23, 2011 at 03:32:41PM -0700, Jordan Justen wrote:
> 2011/3/23 Gleb Natapov :
> > On Tue, Mar 22, 2011 at 02:53:16PM -0700, Jordan Justen wrote:
> >> To support a boot override for UEFI, this full path would be needed.
> >> For the purposes of a UEFI boot override, could the user could
Whoops, almost missed this. Best to cc: me to avoid that.
Ryan Harper writes:
> * Markus Armbruster [2011-03-15 04:48]:
>> Sorry for the long delay, I was out of action for a week.
>>
>> Ryan Harper writes:
>>
>> > When removing a drive from the host-side via drive_del we currently have
>>
On 23 March 2011 23:32, Jordan Justen wrote:
> 2011/3/23 Gleb Natapov :
>> On Tue, Mar 22, 2011 at 02:53:16PM -0700, Jordan Justen wrote:
>>> To support a boot override for UEFI, this full path would be needed.
>>> For the purposes of a UEFI boot override, could the user could provide
>>> the part
Am 23.03.2011 21:50, schrieb Stefan Hajnoczi:
> On Wed, Mar 23, 2011 at 8:27 PM, Juan Quintela wrote:
>> Stefan Hajnoczi wrote:
>>> +
>>> +if (s->fd == -1) {
>>> +s->fd = qemu_open(bs->filename, s->open_flags, 0644);
>>
>> Everything else on that file uses plain "open" not "qemu_open"
Using ubuntu natty narwhal installed today (2011-03-24) I tried to do a
snapshot with the help of libvirt. Here are the results using natty
version of qemu-kvm and libvirt and using presented slowdown packages.
root@koberec:~# time virsh snapshot-create 1
Domain snapshot 1300968929 created
real
On Thu, Mar 24, 2011 at 01:27:39PM +0100, Michal Suchanek wrote:
> On 23 March 2011 23:32, Jordan Justen wrote:
> > 2011/3/23 Gleb Natapov :
> >> On Tue, Mar 22, 2011 at 02:53:16PM -0700, Jordan Justen wrote:
> >>> To support a boot override for UEFI, this full path would be needed.
> >>> For the
missing cursor and smartcard channels, and missing a note about
tunnel and smartcard channels not always being available.
---
qemu-options.hx |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index 540f5c2..ebd98af 100644
--- a/qemu-o
Thanks, Anthony. Does that mean that the bug should be 'Invalid',
or perhaps just 'Wontfix' (for the IDE case)?
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/658610
Title:
Check whether images hav
Thanks for that info. That is unexpected. Could you send the xml
description of the domain you were snapshotting, as well as the format
of the backing file (i.e. qemu-img info filename.img) and what
filesystem it is stored on (or whether it is LVM)? I'd like to try to
reproduce it.
Since you ar
To be clear, please re-install the stock natty packages, do a virsh
snapshot-create, and then do 'ubuntu-bug libvirt-bin' to file a new bug.
Then please give the info I asked for in comment 25 in that bug.
Thanks!
--
You received this bug notification because you are a member of qemu-
devel-ml,
We can always improve the information to the user for something like so
I've marked this as wishlist.
** Changed in: qemu
Importance: Undecided => Wishlist
** Changed in: qemu
Status: New => Confirmed
--
You received this bug notification because you are a member of qemu-
devel-ml, wh
** Changed in: qemu
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/418112
Title:
qemu-img should give reasons for failing
Status in QEMU:
Fix Released
S
From: Ulrich Hecht
S390x uses the QuadU type, so let's enable it.
Signed-off-by: Ulrich Hecht
---
cpu-all.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cpu-all.h b/cpu-all.h
index 87b0f86..5a26d7a 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -138,7 +138,7 @@ typedef
From: Ulrich Hecht
S390x user emulation can do nptl. Reflect this in the configure script.
Signed-off-by: Ulrich Hecht
---
configure |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index a166de0..6b421d8 100755
--- a/configure
+++ b/configure
@@ -
The KVM interrupt injection path is non-generic for now. So we need to push
knowledge of how to inject a device interrupt using KVM into the actual device
code.
Signed-off-by: Alexander Graf
---
hw/s390-virtio-bus.c | 10 --
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git
The ivshmem depends on PCI and KVM, not only KVM. Reflect this
in the Makefile, so we don't get build errors on s390x.
Signed-off-by: Alexander Graf
---
Makefile.target |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index f0df98e
This patch adds some code paths for running s390x guest OSs without the
need for KVM.
Signed-off-by: Alexander Graf
---
cpu-exec.c |8
target-s390x/exec.h | 20
2 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/cpu-exec.c b/cpu-exec.c
in
For emulation (and migration) we need to know about the guest's storage keys.
These are separate from actual RAM contents, so we need to allocate them in
parallel to RAM.
While touching the file, this patch also adjusts the hypercall function
to a new syntax that aligns better with tcg emulated co
This patch enables building of s390x-softmmu and s390x-linux-user
targets by default.
Signed-off-by: Alexander Graf
---
configure|2 ++
default-configs/s390x-linux-user.mak |1 +
2 files changed, 3 insertions(+), 0 deletions(-)
create mode 100644 default-conf
We've had support for running s390x guests with KVM for a
while now. This patch set also enables support for running
s390x guests in system as well as linux-user mode in emulation!
Within this scope, I again want to stress that this is _not_
supposed to replace Hercules - the s390 emulator - in an
We have successfully lazilized cc computation, so we need to manually
trigger its calculation when gdb wants to fetch it. We also changed the
variable name, so writing it writes into a different field now.
Signed-off-by: Alexander Graf
---
gdbstub.c |8 ++--
1 files changed, 6 insertions
We have two different virtio buses: pci and s390. The abstraction path
taken in qemu is to have generic aliases for each device type in the
architecture specific qdev devices.
So let's make use of these aliases whenever we can and define them
whenever we can.
Signed-off-by: Alexander Graf
---
b
We need to add some more logic to the CPU description to leverage emulation
of an s390x CPU. This patch adds all the required helpers, fields in CPUState
and constant definitions required for user and system emulation.
Signed-off-by: Alexander Graf
---
target-s390x/cpu.h | 759 +
We're now finally emulating an s390x CPU, so we can move quite some logic
from the kvm code out into generic CPU code.
This patch does this and adjusts the interfaces according to what the code
around now expects to be able to call.
Signed-off-by: Alexander Graf
---
target-s390x/kvm.c | 60 ++
From: Ulrich Hecht
Quite a number of syscalls are only defined on systems with USE_UID16
defined; this patch defines them on other systems as well.
Fixes a large number of uid/gid-related testcases on the s390x target
(and most likely on other targets as well)
Signed-off-by: Ulrich Hecht
---
From: Ulrich Hecht
This patch adds support for running s390x binaries in the linux-user emulation
code.
Signed-off-by: Ulrich Hecht
---
linux-user/elfload.c | 18 ++
linux-user/main.c| 89 ++
linux-user/s390x/syscall.h | 25 +++
linux-user/s390x/
From: Ulrich Hecht
This patch enables the instruction disassembler when using an
S390x target.
Signed-off-by: Ulrich Hecht
---
disas.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/disas.c b/disas.c
index c76f36f..17b4ce4 100644
--- a/disas.c
+++ b/disas.c
@@ -2
When running system emulation, we need to transverse through the MMU and
deliver interrupts according to the specification.
This patch implements those two pieces and in addition adjusts the CPU
initialization code to account for the new fields in CPUState.
Signed-off-by: Alexander Graf
---
tar
2011/3/24 Gleb Natapov :
> On Wed, Mar 23, 2011 at 03:32:41PM -0700, Jordan Justen wrote:
>> By the way, today OVMF attempts to store NV-Var data in a file on the
>> disk, but this cannot support variables at runtime. (This is why I
>> sent in the patch for using -pflash on x86/x86-64.)
>>
> And t
On 24 March 2011 15:58, Alexander Graf wrote:
> --- a/cpu-all.h
> +++ b/cpu-all.h
> @@ -138,7 +138,7 @@ typedef union {
> uint64_t ll;
> } CPU_DoubleU;
>
> -#ifdef TARGET_SPARC
> +#if defined(TARGET_SPARC) || defined(TARGET_S390X)
> typedef union {
> float128 q;
> #if defined(HOST_WORDS
On 24.03.2011, at 17:52, Peter Maydell wrote:
> On 24 March 2011 15:58, Alexander Graf wrote:
>> --- a/cpu-all.h
>> +++ b/cpu-all.h
>> @@ -138,7 +138,7 @@ typedef union {
>> uint64_t ll;
>> } CPU_DoubleU;
>>
>> -#ifdef TARGET_SPARC
>> +#if defined(TARGET_SPARC) || defined(TARGET_S390X)
>>
On 03/24/2011 10:29 AM, Peter Maydell wrote:
> On 24 March 2011 15:58, Alexander Graf wrote:
>
> This is more random comments in passing than a thorough review; sorry.
>
>> +#if HOST_LONG_BITS == 64 && defined(__GNUC__)
>> +/* assuming 64-bit hosts have __uint128_t */
>> +__uint1
On 24 March 2011 15:58, Alexander Graf wrote:
This is more random comments in passing than a thorough review; sorry.
> +#if HOST_LONG_BITS == 64 && defined(__GNUC__)
> + /* assuming 64-bit hosts have __uint128_t */
> + __uint128_t dividend = (((__uint128_t)env->regs[r1]) << 64) |
>
Am 24.03.2011 um 18:41 schrieb Richard Henderson :
> On 03/24/2011 10:29 AM, Peter Maydell wrote:
>> On 24 March 2011 15:58, Alexander Graf wrote:
>>
>> This is more random comments in passing than a thorough review; sorry.
>>
>>> +#if HOST_LONG_BITS == 64 && defined(__GNUC__)
>>> +/*
Am 24.03.2011 um 18:29 schrieb Peter Maydell :
> On 24 March 2011 15:58, Alexander Graf wrote:
>
> This is more random comments in passing than a thorough review; sorry.
>
>> +#if HOST_LONG_BITS == 64 && defined(__GNUC__)
>> +/* assuming 64-bit hosts have __uint128_t */
>> +__u
On Thu, Mar 24, 2011 at 09:46:09AM -0700, Jordan Justen wrote:
> 2011/3/24 Gleb Natapov :
> > On Wed, Mar 23, 2011 at 03:32:41PM -0700, Jordan Justen wrote:
> >> By the way, today OVMF attempts to store NV-Var data in a file on the
> >> disk, but this cannot support variables at runtime. (This is
On Thu, Mar 24, 2011 at 12:42 PM, Kevin Wolf wrote:
> Am 23.03.2011 21:50, schrieb Stefan Hajnoczi:
>> On Wed, Mar 23, 2011 at 8:27 PM, Juan Quintela wrote:
>>> Stefan Hajnoczi wrote:
+
+ if (s->fd == -1) {
+ s->fd = qemu_open(bs->filename, s->open_flags, 0644);
>>>
>>>
This simply moves code which is used three times
into a new function thus improving readability.
Signed-off-by: Stefan Weil
---
qemu-timer.c | 17 ++---
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/qemu-timer.c b/qemu-timer.c
index 50f1943..c3ad72a 100644
--- a/q
In reply to question #26
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/741887
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/524447
Title:
virsh save is very slow
Status in libvirt virtual
In reply to question #25: everything is included in #27. Is it enough?
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/524447
Title:
virsh save is very slow
Status in libvirt virtualization API:
U
Stefan Hajnoczi wrote:
> On Thu, Mar 24, 2011 at 12:42 PM, Kevin Wolf wrote:
>> Am 23.03.2011 21:50, schrieb Stefan Hajnoczi:
>>> On Wed, Mar 23, 2011 at 8:27 PM, Juan Quintela wrote:
Stefan Hajnoczi wrote:
> +
> + if (s->fd == -1) {
> + s->fd = qemu_open(bs->filename
Yes, thanks.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/524447
Title:
virsh save is very slow
Status in libvirt virtualization API:
Unknown
Status in QEMU:
Fix Released
Status in “libvirt”
Alexander Graf wrote:
> The ivshmem depends on PCI and KVM, not only KVM. Reflect this
> in the Makefile, so we don't get build errors on s390x.
>
> Signed-off-by: Alexander Graf
> ---
> Makefile.target |8 +++-
> 1 files changed, 7 insertions(+), 1 deletions(-)
>
> diff --git a/Makefile
Currently target-arm/ assumes at least ARMv5 core. Add support for
handling also ARMv4/ARMv4T. This changes the following instructions:
BX(v4T and later)
BKPT, BLX, CDP2, CLZ, LDC2, LDRD, MCRR, MCRR2, MRRC, MCRR, MRC2, MRRC,
MRRC2, PLD QADD, QDADD, QDSUB, QSUB, STRD, SMLAxy, SMLALxy, SMLAWxy,
SMU
Basic implementation of DEC/Intel SA-1100/SA-1110 chips emulation.
Implemented:
- IRQs
- GPIO
- PPC
- RTC
- UARTs (no IrDA/etc.)
- OST reused from pxa25x
Everything else is TODO (esp. PM/idle/sleep!) - see the todo in the
hw/strongarm.c
V2:
* removed all strongarm variants except latest
Add very basic implementation of collie PDA emulation. The system lacks
LoCoMo and graphics/sound emulation. Linux kernel boots up to mounting
rootfs (theoretically it can be provided in pflash images).
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.target |1 +
hw/collie.c | 70 +
The new format is rbd:pool/image[@snapshot][:option1=value1[:option2=value2...]]
Each option is used to configure rados, and may be any Ceph option, or "conf".
The "conf" option specifies a Ceph configuration file to read.
This allows rbd volumes from more than one Ceph cluster to be used by
speci
librbd stacks on top of librados to provide access
to rbd images.
Using librbd simplifies the qemu code, and allows
qemu to use new versions of the rbd format
with few (if any) changes.
Signed-off-by: Josh Durgin
Signed-off-by: Yehuda Sadeh
---
block/rbd.c | 784 ++--
This patch series adds a "pseries" machine to qemu, allowing it to
emulate IBM pSeries logical partitions. More specifically it
implements the interface defined by the "PowerPC Architecture Platform
Requirements" document (PAPR, or sPAPR for short).
Along the way we add a bunch of support for mor
PowerPC and POWER chips since the POWER4 and 970 have a special
hypervisor mode, and a corresponding form of the system call
instruction which traps to the hypervisor.
qemu currently has stub implementations of hypervisor mode. That
is, the outline is there to allow qemu to run a PowerPC hypervis
Currently the SLB information when emulating a PowerPC 970 is
storeed in a structure with the unhelpfully named fields 'tmp'
and 'tmp64'. While the layout in these fields does match the
description of the SLB in the architecture document, it is not
convenient either for looking up the SLB, or for
From: David Gibson
qemu already includes support for the popcntb instruction introduced
in POWER5 (although it doesn't actually allow you to choose POWER5).
However, the logic is slightly incorrect: it will generate results
truncated to 32-bits when the CPU is in 32-bit mode. This is not
normal
From: David Gibson
Currently qemu_devtree_setprop() expects the new property value to be
given as a uint32_t *. While property values consisting of u32s are
common, in general they can have any bytestring value.
Therefore, this patch alters the function to take a void * instead,
allowing caller
On ppc machines with hash table MMUs, the special purpose register SDR1
contains both the base address of the encoded size (hashed) page tables.
At present, we interpret the SDR1 value within the address translation
path. But because the encodings of the size for 32-bit and 64-bit are
different t
This patch adds a "pseries" machine to qemu. This aims to emulate a
logical partition on an IBM pSeries machine, compliant to the
"PowerPC Architecture Platform Requirements" (PAPR) document.
This initial version is quite limited, it implements a basic machine
and PAPR hypercall emulation. So fa
On pSeries logical partitions, excepting the old POWER4-style full system
partitions, the guest does not have direct access to the hardware page
table. Instead, the pagetable exists in hypervisor memory, and the guest
must manipulate it with hypercalls.
However, our current pSeries emulation more
For a 64-bit PowerPC target, qemu correctly implements translation
through the segment lookaside buffer. Likewise it supports the
slbmte instruction which is used to load entries into the SLB.
However, it does not emulate the slbmfee and slbmfev instructions
which read SLB entries back into regis
Traditionally, the "segments" used for the two-stage translation used on
powerpc MMUs were 256MB in size. This was the only option on all hash
page table based 32-bit powerpc cpus, and on the earlier 64-bit hash page
table based cpus. However, newer 64-bit cpus also permit 1TB segments
This patc
This adds emulation support for the recent POWER7 cpu to qemu. It's far
from perfect - it's missing a number of POWER7 features so far, including
any support for VSX or decimal floating point instructions. However, it's
close enough to boot a kernel with the POWER7 PVR.
Signed-off-by: David Gibs
On pSeries machines, operating systems can instantiate "RTAS" (Run-Time
Abstraction Services), a runtime component of the firmware which implements
a number of low-level, infrequently used operations. On logical partitions
under a hypervisor, many of the RTAS functions require hypervisor
privilege
Now that we have implemented the PAPR "xics" virtualized interrupt
controller, we can add interrupts in PAPR VIO devices. This patch adds
interrupt support to the PAPR virtual tty/console device.
Signed-off-by: David Gibson
---
hw/spapr.c |6 --
hw/spapr_vio.h |3 ++-
hw/spapr_v
This patch implements the PAPR specified Inter Virtual Machine Logical
LAN; that is the virtual hardware used by the Linux ibmveth driver.
Signed-off-by: Paul Mackerras
Signed-off-by: David Gibson
Conflicts:
Makefile.target
---
Makefile.target |2 +-
hw/spapr.c | 21 ++-
hw
This patch adds infrastructure to support interrupts from PAPR virtual IO
devices. This includes correctly advertising those interrupts in the
device tree, and implementing the H_VIO_SIGNAL hypercall, used to
enable and disable individual device interrupts.
Signed-off-by: David Gibson
---
hw/sp
From: Ben Herrenschmidt
Usually, PAPR virtual IO devices use a virtual IOMMU mechanism, TCEs,
to mediate all DMA transfers. While this is necessary for some sorts of
operation, it can be complex to program and slow for others.
This patch implements a mechanism for bypassing TCE translation, tre
This patch implements the infrastructure and hypercalls necessary for the
PAPR specified CRQ (Command Request Queue) mechanism. This general
request queueing system is used by many of the PAPR virtual IO devices,
including the virtual scsi adapter.
Signed-off-by: Ben Herrenschmidt
Signed-off-by:
This patch implements the infrastructure and hypercalls necessary for
the PAPR specified Virtual SCSI interface. This is the normal method
for providing (virtual) disks to PAPR partitions.
Signed-off-by: Ben Herrenschmidt
Signed-off-by: David Gibson
Conflicts:
Makefile.target
---
Mak
This patch implements the necessary infrastructure and hypercalls for
sPAPR's TCE (Translation Control Entry) IOMMU mechanism. This is necessary
for all virtual IO devices which do DMA (i.e. nearly all of them).
Signed-off-by: Ben Herrenschmidt
Signed-off-by: David Gibson
---
hw/spapr.c |
PAPR defines an interrupt control architecture which is logically divided
into ICS (Interrupt Control Presentation, each unit is responsible for
presenting interrupts to a particular "interrupt server", i.e. CPU) and
ICS (Interrupt Control Source, each unit responsible for one or more
hardware inte
This patch adds several small utility hypercalls and RTAS methods to
the pSeries platform emulation. Specifically:
* 'display-character' rtas call
This just prints a character to the console, it's occasionally used
for early debug of the OS. The support includes a hack to make this
RTAS call re
The PURR (Processor Utilization Resource Register) is a register found
on recent POWER CPUs. The guts of implementing it at least enough to
get by are already present in qemu, however some of the helper
functions needed to actually wire it up are missing.
This patch adds the necessary glue, so th
Currently the path handling hash page table translation in get_segment()
has a mix of common and 32 or 64 bit specific code. However the
division is not done terribly well which results in a lot of messy code
flipping between common and divided paths.
This patch improves the organization, consoli
Currently, get_segment() has a variable called hash. However it doesn't
(quite) get the hash value for the ppc hashed page table. Instead it
gets the hash shifted - effectively the offset of the hash bucket within
the hash page table.
As well, as being different to the normal use of plain "hash"
This extends the "pseries" (PAPR) machine to include a virtual IO bus
supporting the PAPR defined hypercall based virtual IO mechanisms.
So far only one VIO device is provided, the vty / vterm, providing
a full console (polled only, for now).
Signed-off-by: David Gibson
---
Makefile.target |
Shared-processor partitions are those where a CPU is time-sliced between
partitions, rather than being permanently dedicated to a single
partition. qemu emulated partitions, since they are just scheduled with
the qemu user process, behave mostly like shared processor partitions.
In order to bette
The slb_lookup() function, used in the ppc translation path returns a
number of slb entry fields in reference parameters. However, only one
of the two callers of slb_lookup() actually wants this information.
This patch, therefore, makes slb_lookup() return a simple pointer to the
located SLB entr
When a port returns an error for not consuming data, we can only handle
the -EAGAIN error type. Any other error isn't handled. Print out a
message indicating this and the error returned.
Signed-off-by: Amit Shah
---
hw/virtio-serial-bus.c |1 +
1 files changed, 1 insertions(+), 0 deletions
1 - 100 of 103 matches
Mail list logo