On 03.09.2014 18:44, Stefan Hajnoczi wrote:
Hi,
QEMU offers both NBD client and server functionality. The NBD protocol
runs unencrypted, which is a problem when the client and server
communicate over an untrusted network.
This is not problem for NBD only, but for the rest of data that qemu
se
On Thu, Aug 28, 2014 at 09:35:27PM +0200, Paolo Bonzini wrote:
> Il 28/08/2014 19:30, Peter Maydell ha scritto:
> > On 28 August 2014 18:14, Paolo Bonzini
> wrote:
[snip]
> > Does PPC hardware do lots of TLB flushes on user-kernel
> > transitions, or does it have some sort of info in the TLB
> > e
On 08/26/2014 04:12 AM, Alexey Kardashevskiy wrote:
> On 08/19/2014 10:21 AM, Michael Roth wrote:
>> Signed-off-by: Michael Roth
>
> I have totally no idea what this patch actually does :) When is this rtas
> call made? Once after the guest received the check exception interrupt? Is
> it all it d
On 08/26/2014 06:36 AM, Alexander Graf wrote:
>
>
> On 19.08.14 02:21, Michael Roth wrote:
>> From: Mike Day
>>
>> Signed-off-by: Mike Day
>> Signed-off-by: Michael Roth
>> ---
>> hw/ppc/spapr_pci.c | 119
>> +
>> include/hw/ppc/spapr.h |
On 09/04/2014 11:34 AM, Michael Roth wrote:
> Quoting Michael Roth (2014-09-04 11:12:15)
>> Quoting Bharata B Rao (2014-09-04 10:08:20)
>>> On Thu, Sep 4, 2014 at 4:33 AM, Michael Roth
>>> wrote:
>> +static int spapr_device_hotplug_add(DeviceState *qdev, PCIDevice *dev)
>> +{
>> +
On Thu, 09/04 21:04, Stefan Hajnoczi wrote:
> vmdk_open_sparse() does not take ownership of buf so the caller always
> needs to free it.
>
> Signed-off-by: Stefan Hajnoczi
> ---
> block/vmdk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/block/vmdk.c b/block/vmdk.c
>
On Thu, 09/04 21:04, Stefan Hajnoczi wrote:
> Signed-off-by: Stefan Hajnoczi
> ---
> block/vmdk.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/block/vmdk.c b/block/vmdk.c
> index 07cb62c..9bf28f3 100644
> --- a/block/vmdk.c
> +++ b/block/vmdk.c
> @@ -834,6 +834,7 @@ static int vmdk
Hi, all
I encounter below error during git clone kvm.git,
# git clone git://git.kernel.org/pub/scm/virt/kvm/kvm.git kvm_0905
Cloning into 'kvm_0905'...
remote: Counting objects: 3819711, done.
remote: Compressing objects: 100% (575699/575699), done.
remote: Total 3819711 (delta 3219203), reused 38
IDE-HD, IDE-ATAPI and IDE-CFATA all fill the
identify buffer in slightly different ways,
this is a relatively minor patch to make them
uniform, to emphasize that:
(1) We build the s->identify_data cache first, then
(2) We copy it to s->io_buffer to fulfill the request.
Signed-off-by: John Snow
-
Currently, if the block device backing the IDE drive is resized,
the information about the device as cached inside of the IDEState
structure is not updated, thus when a guest OS re-queries the drive,
it is unable to see the expanded size.
This patch adds a resize callback that updates the IDENTIFY
This patch series fixes incorrect IDENTIFY data returned
for an IDE drive after a block_resize event by adding
a resize callback for IDE devices.
Inconsistencies between identify routines are also
removed so that they read easier.
V4:
- Added patch that makes the buffer and cache fill order for
Using xen tools 'xl vncviewer' with tigervnc (default on SLE-12),
found that: the display of the guest is unexpected while keep
pressing a key. We expect the same character multiple times, but
it prints only one time. This happens on a PV guest in text mode.
After debugging, found that tigervnc se
> From: Eduardo Habkost [mailto:ehabk...@redhat.com]
> Sent: Friday, September 05, 2014 10:22 AM
> Subject: Re: [PATCH v6 07/27] vl.c: add setter/getter functions for bootindex
> property
>
> On Fri, Sep 05, 2014 at 02:07:23AM +, Gonglei (Arei) wrote:
> [...]
> > > > > Also, this function (the
> From: Eduardo Habkost [mailto:ehabk...@redhat.com]
> Sent: Friday, September 05, 2014 10:20 AM
> Subject: Re: [PATCH v6 02/27] bootindex: add del_boot_device_path function
>
> On Fri, Sep 05, 2014 at 12:44:56AM +, Gonglei (Arei) wrote:
> [...]
> > > can we have a wrapper to reduce code
> > >
On Fri, Sep 05, 2014 at 02:07:23AM +, Gonglei (Arei) wrote:
[...]
> > > > Also, this function (the property setter) is where I expected
> > > > add_boot_device_path() to be called, instead of requiring every device
> > > > to add a reset handler and call add_boot_device_path() manually.
> > > >
On Fri, Sep 05, 2014 at 12:44:56AM +, Gonglei (Arei) wrote:
[...]
> > can we have a wrapper to reduce code
> > duplication? e.g. a:
> > void device_add_bootindex_property(DeviceState *dev, int32_t *field, const
> > char *suffix)
> > function.
> >
> > Then instead of reimplementing set/get/fi
On 09/04/2014 09:13 PM, Aravinda Prasad wrote:
> Whenever there is a physical memory error due to bit
> flips, which cannot be corrected by hardware, the error
> is passed on to the kernel. If the memory address in
> error belongs to guest address space then guest kernel
> is responsible to take ac
> From: Eduardo Habkost [mailto:ehabk...@redhat.com]
> Sent: Friday, September 05, 2014 9:55 AM
> Subject: Re: [PATCH v6 07/27] vl.c: add setter/getter functions for bootindex
> property
>
> On Fri, Sep 05, 2014 at 12:37:35AM +, Gonglei (Arei) wrote:
> > > Subject: Re: [PATCH v6 07/27] vl.c: a
On Fri, Sep 05, 2014 at 12:37:35AM +, Gonglei (Arei) wrote:
> > Subject: Re: [PATCH v6 07/27] vl.c: add setter/getter functions for
> > bootindex
> > property
> >
> > On Sat, Aug 30, 2014 at 06:00:07PM +0800, arei.gong...@huawei.com wrote:
> > > From: Gonglei
> > >
> > > when we remove booti
Ping, any more comments? Thanks.
On 2014/8/27 15:40, Li Liu wrote:
>
>
> On 2014/8/27 14:44, Markus Armbruster wrote:
>> "john.liuli" writes:
>>
>>> From: Li Liu
>>>
>>> Eeay to reproduce, just try "qemu -monitor stdio -nographic"
>>> and type "quit", then the terminal will be crashed.
>>>
>>>
> Subject: Re: [PATCH v6 02/27] bootindex: add del_boot_device_path function
>
> On Thu, Sep 04, 2014 at 03:01:41AM +, Gonglei (Arei) wrote:
> > Hi,
> >
> > > From: Eduardo Habkost [mailto:ehabk...@redhat.com]
> > > Sent: Thursday, September 04, 2014 2:13 AM
> > > Subject: Re: [PATCH v6 02/27]
> Subject: Re: [PATCH v6 07/27] vl.c: add setter/getter functions for bootindex
> property
>
> On Sat, Aug 30, 2014 at 06:00:07PM +0800, arei.gong...@huawei.com wrote:
> > From: Gonglei
> >
> > when we remove bootindex form qdev.property to qom.property,
> > we can use those functions set/get boo
On 08/18/2014 05:21 PM, Michael Roth wrote:
> From: Mike Day
>
> Signed-off-by: Mike Day
> Signed-off-by: Michael Roth
> ---
> hw/ppc/spapr_pci.c | 76
> ++
> 1 file changed, 76 insertions(+)
>
> diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spa
On 08/26/2014 12:55 AM, Alexey Kardashevskiy wrote:
> On 08/19/2014 10:21 AM, Michael Roth wrote:
>> From: Nathan Fontenot
>>
>> This add entries to the root OF node to advertise our PHBs as being
>> DR-capable in according with PAPR specification.
>>
>> Each PHB is given a name of PHB, advertised
> Subject: Re: [PATCH v6 06/27] bootindex: move setting bootindex on reset()
> instead of realize/init()
>
> On Sat, Aug 30, 2014 at 06:00:06PM +0800, arei.gong...@huawei.com wrote:
> > From: Gonglei
> >
> > Only in this way, we can assure the new bootindex take effect
> > during vm rebooting.
>
Quoting Michael Roth (2014-09-02 10:20:50)
> Quoting Michael Roth (2014-08-27 12:35:57)
> > Hi everyone,
> >
> > The following new patches are queued for QEMU stable v2.1.1:
> >
> > https://github.com/mdroth/qemu/commits/stable-2.1-staging
>
> As of now the following additional patches have be
The Friday 05 Sep 2014 à 00:07:04 (+0200), Wouter Verhelst wrote :
> On Thu, Sep 04, 2014 at 04:19:17PM +0200, Benoît Canet wrote:
> > The Wednesday 03 Sep 2014 à 17:44:17 (+0100), Stefan Hajnoczi wrote :
> > > Hi,
> > > QEMU offers both NBD client and server functionality. The NBD protocol
> > >
On 4 September 2014 18:20, Andreas Färber wrote:
> From: Pavel Dovgaluk
>
> This patch adds a subsection with exception_index field to the VMState for
> correct saving the CPU state.
> Without this patch, simulator could miss the pending exception in the saved
> virtual machine state.
>
> Signed-
On 04.09.14 17:32, Jens Freimann wrote:
> From: Cornelia Huck
>
> Add support for format-0 ccws in channel programs. As a format-1 ccw
> contains the same information as format-0 ccws, only supporting larger
> addresses, simply convert every ccw to format-1 as we walk the chain.
>
> Reviewed-b
On 04.09.14 21:53, Tom Musta wrote:
> On 9/4/2014 2:13 PM, Alexander Graf wrote:
>>
>>
>>> Am 04.09.2014 um 20:38 schrieb Peter Maydell :
>>>
On 4 September 2014 18:19, Alexander Graf wrote:
Hi Peter,
This is my current patch queue for ppc. Please pull.
>>>
>>> Hi. I'm afrai
On Thu, Sep 04, 2014 at 04:19:17PM +0200, Benoît Canet wrote:
> The Wednesday 03 Sep 2014 à 17:44:17 (+0100), Stefan Hajnoczi wrote :
> > Hi,
> > QEMU offers both NBD client and server functionality. The NBD protocol
> > runs unencrypted, which is a problem when the client and server
> > communica
[Cc: to nbd-general list added]
On Wed, Sep 03, 2014 at 05:44:17PM +0100, Stefan Hajnoczi wrote:
> Hi,
> QEMU offers both NBD client and server functionality. The NBD protocol
> runs unencrypted, which is a problem when the client and server
> communicate over an untrusted network.
>
> The parti
On Tue, Aug 26, 2014 at 06:45:54AM +, Benoît Canet wrote:
> On Tue, Aug 26, 2014 at 12:42:04PM +0800, Fam Zheng wrote:
> > On Mon, 08/25 12:12, Benoît Canet wrote:
> > > On Mon, Aug 25, 2014 at 05:37:37PM +0800, Fam Zheng wrote:
> > > > On Mon, 08/25 09:06, Benoît Canet wrote:
> > > > > On Mon,
On Thu, Sep 04, 2014 at 08:15:39AM -0700, Andy Grover wrote:
> But in the meantime, do you have a use case or user story for the QMP
> support that might help me understand better how it might all fit together?
From my previous email:
"administrator needs to migrate disk images to a new file syst
On 04.09.2014 22:04, Stefan Hajnoczi wrote:
vmdk_open_sparse() does not take ownership of buf so the caller always
needs to free it.
Signed-off-by: Stefan Hajnoczi
---
block/vmdk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Max Reitz
On 04.09.2014 22:04, Stefan Hajnoczi wrote:
Signed-off-by: Stefan Hajnoczi
---
block/vmdk.c | 2 ++
1 file changed, 2 insertions(+)
Reviewed-by: Max Reitz
Signed-off-by: Stefan Hajnoczi
---
block/vmdk.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/block/vmdk.c b/block/vmdk.c
index 07cb62c..9bf28f3 100644
--- a/block/vmdk.c
+++ b/block/vmdk.c
@@ -834,6 +834,7 @@ static int vmdk_parse_extents(const char *desc,
BlockDriverState *bs,
See patches for the specific leaks.
Stefan Hajnoczi (2):
vmdk: fix vmdk_parse_extents() extent_file leaks
vmdk: fix buf leak in vmdk_parse_extents()
block/vmdk.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--
1.9.3
vmdk_open_sparse() does not take ownership of buf so the caller always
needs to free it.
Signed-off-by: Stefan Hajnoczi
---
block/vmdk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/vmdk.c b/block/vmdk.c
index 9bf28f3..a1cb911 100644
--- a/block/vmdk.c
+++ b/block/vm
On 20.08.2014 13:40, Kevin Wolf wrote:
Am 12.07.2014 um 00:23 hat Max Reitz geschrieben:
Currently, the field "growable" in a BDS is set iff the BDS is opened in
protocol mode (with O_BDRV_PROTOCOL). However, not every protocol block
driver allows growing: NBD, for instance, does not. On the oth
On 9/4/2014 2:13 PM, Alexander Graf wrote:
>
>
>> Am 04.09.2014 um 20:38 schrieb Peter Maydell :
>>
>>> On 4 September 2014 18:19, Alexander Graf wrote:
>>> Hi Peter,
>>>
>>> This is my current patch queue for ppc. Please pull.
>>
>> Hi. I'm afraid this doesn't build (x86, 64bit, gcc
>> 4.8.2,
Just change what I have used and looked into.
There are no other special reasons.
On Fri, Sep 5, 2014 at 2:05 AM, Peter Maydell
wrote:
> On 4 September 2014 19:01, Chih-Min Chao wrote:
> > CPUARMState is one of parameter used by
> > is_a64
> > arm_feature
> > arm_e
CPUARMState is one of parameter used by
is_a64
arm_feature
arm_el_is_aa64
They only read it without any side effect and shold be changed to
const parameter
Signed-off-by: Chih-Min Chao
---
target-arm/cpu.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletio
Don't use internal member but availabel wrapper function to
test status
Signed-off-by: Chih-Min Chao
---
hw/arm/boot.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/arm/boot.c b/hw/arm/boot.c
index e32f2f4..26bc25f 100644
--- a/hw/arm/boot.c
+++ b/hw/arm/boot
make CPUARMState const to attribute checking functions and use them
to reduce internal status exposure
Chih-Min Chao (2):
target-arm : make parameter of feature/status checking function const
target-arm : use aarch64 mode testing wrapper
hw/arm/boot.c| 4 ++--
target-arm/cpu.h |
> Am 04.09.2014 um 20:38 schrieb Peter Maydell :
>
>> On 4 September 2014 18:19, Alexander Graf wrote:
>> Hi Peter,
>>
>> This is my current patch queue for ppc. Please pull.
>
> Hi. I'm afraid this doesn't build (x86, 64bit, gcc
> 4.8.2, non-debug build):
>
> CCppc64abi32-linux-user/l
On Thu, Sep 4, 2014 at 10:54 PM, Marcelo Tosatti wrote:
> On Thu, Sep 04, 2014 at 03:54:01PM -0300, Marcelo Tosatti wrote:
>> On Thu, Sep 04, 2014 at 08:52:00PM +0400, Andrey Korolyov wrote:
>> > On Thu, Sep 4, 2014 at 8:38 PM, Marcelo Tosatti
>> > wrote:
>> > > On Sun, Aug 24, 2014 at 10:51:38P
On Thu, Sep 04, 2014 at 03:54:01PM -0300, Marcelo Tosatti wrote:
> On Thu, Sep 04, 2014 at 08:52:00PM +0400, Andrey Korolyov wrote:
> > On Thu, Sep 4, 2014 at 8:38 PM, Marcelo Tosatti wrote:
> > > On Sun, Aug 24, 2014 at 10:51:38PM +0400, Andrey Korolyov wrote:
> > >> On Sun, Aug 24, 2014 at 8:57
On Thu, Sep 04, 2014 at 08:52:00PM +0400, Andrey Korolyov wrote:
> On Thu, Sep 4, 2014 at 8:38 PM, Marcelo Tosatti wrote:
> > On Sun, Aug 24, 2014 at 10:51:38PM +0400, Andrey Korolyov wrote:
> >> On Sun, Aug 24, 2014 at 8:57 PM, Andrey Korolyov wrote:
> >> > On Sun, Aug 24, 2014 at 8:35 PM, Paolo
On 4 September 2014 18:20, Andreas Färber wrote:
> Hello Peter,
>
> This is my QOM CPU patch queue. Please pull.
>
> Regards,
> Andreas
>
> Cc: Peter Maydell
>
> Cc: Eduardo Habkost
>
> The following changes since commit 01eb313907dda97313b8fea62e5632fca64f069c:
>
> Merge remote-tracking branc
On 4 September 2014 18:19, Alexander Graf wrote:
> Hi Peter,
>
> This is my current patch queue for ppc. Please pull.
Hi. I'm afraid this doesn't build (x86, 64bit, gcc
4.8.2, non-debug build):
CCppc64abi32-linux-user/linux-user/signal.o
/home/petmay01/linaro/qemu-for-merges/linux-user/si
On 4 September 2014 19:01, Chih-Min Chao wrote:
> Don't use internal member but availabel wrapper function to
> test status
>
> Signed-off-by: Chih-Min Chao
> ---
> hw/arm/boot.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/hw/arm/boot.c b/hw/arm/boot.c
>
On 8/28/2014 12:15 PM, Paolo Bonzini wrote:
> These two functions will group together four CR bits into a single
> value, once we change the representation of condition registers.
>
> Signed-off-by: Paolo Bonzini
> ---
> linux-user/elfload.c | 2 +-
> linux-user/main.c| 2 +-
> lin
On 8/28/2014 12:15 PM, Paolo Bonzini wrote:
> This makes comparisons much smaller and faster. The speedup is
> approximately 10% on user-mode emulation on x86 host, 3-4% on PPC.
>
> Note that CRF_* constants are flipped to match PowerPC's big
> bit-endianness. Previously, the CR register was eff
On 4 September 2014 17:01, Aneesh Kumar K.V
wrote:
> The following changes since commit 30eaca3acdf17d7bcbd1213eb149c02037edfb0b:
>
> Merge remote-tracking branch 'remotes/spice/tags/pull-spice-20140902-1'
> into staging (2014-09-02 10:26:10 +0100)
>
> are available in the git repository at:
>
On Thu, Sep 04, 2014 at 07:20:13PM +0200, Andreas Färber wrote:
[...]
> +static uint32_t x86_cpu_get_supported_feature_word(FeatureWord w,
> + bool migratable_only);
> +
> #ifdef CONFIG_KVM
>
> static int cpu_x86_fill_model_id(char *str)
> @@ -1
On Thu, Sep 04, 2014 at 07:08:48PM +0200, Andreas Färber wrote:
> Am 04.09.2014 18:58, schrieb Eduardo Habkost:
> > Move x86_cpu_get_supported_feature_word() prototype outside CONFIG_KVM,
> > to fix build error on linux-user and !CONFIG_KVM.
> >
> > Signed-off-by: Eduardo Habkost
> > ---
> > Can
Hi Semion,
On 09/04/2014 09:40 AM, Semion Prihodko wrote:
> Still don't know how to build/run a simple Hello World kernel on
> qemu-system-aarch64?
>
> Guys, this is a very basic thing, please provide concrete steps. Thanks.
Here you go. Start at the wget.
http://lists.gnu.org/archive/html/qemu
When calling qemu_system_reset after startup on a Cortex-M CPU, the
initial values of PC, MSP and the Thumb bit weren't set correctly. In
particular, since Thumb was 0, a Usage Fault would arise immediately
after trying to excecute any instruction on a Cortex-M.
Signed-off-by: Martin Galvan
---
On 4 September 2014 19:01, Chih-Min Chao wrote:
> CPUARMState is one of parameter used by
> is_a64
> arm_feature
> arm_el_is_aa64
> They only read it without any side effect and shold be changed to
> const parameter
I guess, but we have lots of functions that j
On 04/09/14 17:32, Jens Freimann wrote:
> Cornelia, Christian, Alex,
>
> here are two css patches and a small sclp cleanup.
>
> Patch 1 remove duplicate defines in SCLP code
> Patch 2 adds support for format-0 ccws
> Patch 3 a css bugfix adding a limit of 255 to ccws chains without data
> tran
On 09/04/2014 12:13 PM, Stefan Hajnoczi wrote:
This patch seems to break tests/bios-tables-test.c:
ERROR:tests/bios-tables-test.c:744:test_acpi_one: assertion failed
(signature == SIGNATURE): (0x == 0xdead)
GTester: last random seed: R02S3d881198f35228a485b4c3d116dff3b1
I have run
On 4 September 2014 17:38, Stefan Hajnoczi wrote:
> v2:
> * Dropped netdev qdev change which broke aarch64 qtests
>
> The following changes since commit 30eaca3acdf17d7bcbd1213eb149c02037edfb0b:
>
> Merge remote-tracking branch 'remotes/spice/tags/pull-spice-20140902-1'
> into staging (2014-09
From: Peter Crosthwaite
Obsoleted by automatic object_property_add() arrayification.
Reviewed-by: Paolo Bonzini
Signed-off-by: Peter Crosthwaite
Signed-off-by: Andreas Färber
---
memory.c | 30 +-
1 file changed, 5 insertions(+), 25 deletions(-)
diff --git a/memo
One of the parts of the ARM TrustZone/Security Extensions
which the patchsets we've seen so far haven't attempted to
tackle is the problem of Secure vs NonSecure memory accesses.
Architecturally, every memory transaction should have
an S/NS bit accompanying the physical address, effectively
making
From: Peter Crosthwaite
If "[*]" is given as the last part of a QOM property name, treat that
as an array property. The added property is given the first available
name, replacing the * with a decimal number counting from 0.
First add with name "foo[*]" will be "foo[0]". Second "foo[1]" and so
o
From: Gonglei
Forcefully unrealize all children regardless of errors in earlier
iterations (if any). We should keep going with cleanup operation
rather than report an error immediately. Therefore store the first
child unrealization failure and propagate it at the end. We also
forcefully unregiste
Since commit c4090f8, -object options are no longer handled through
object_set_property(), so clean up -object leftovers by renaming the
function and dropping special-casing of qom-type and id properties.
Cc: Paolo Bonzini
Reviewed-by: Marcel Apfelbaum
Signed-off-by: Andreas Färber
---
vl.c |
From: Gonglei
This error can not happen normally. If it happens, it indicates
something very wrong, we should abort QEMU. Moreover, the
user can only refer to /machine/peripheral or /objects, not
/machine/unattached.
While at it, remove superfluous check about local_err.
Signed-off-by: Gonglei
From: Anton Blanchard
dtc fails on a recent QEMU snapshot:
ERROR (name_properties): "name" property in /hypervisor#1 is incorrect
("hypervisor" instead of base node name)
Looking at the device tree we have a hypervisor property:
# lsprop hypervisor
hypervisor "kvm"
But we also have a h
Hello Peter,
This is my QOM (devices) patch queue. Please pull.
Regards,
Andreas
Cc: Peter Maydell
Cc: Michael S. Tsirkin
The following changes since commit 01eb313907dda97313b8fea62e5632fca64f069c:
Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-2014-09-03'
into staging (
From: Greg Kurz
On sPAPR, virtio devices are connected to the PCI bus and use MSI-X.
Commit cc943c36faa192cd4b32af8fe5edb31894017d35 has modified MSI-X
so that writes are made using the bus master address space and follow
the IOMMU path.
Unfortunately, the IOMMU address space address space does
Mac OS X calibrates a number of frequencies on bootup based on reading
tb values on bootup and comparing them to via cuda timer values.
The only variable we can really steer well (thanks to KVM) is the cuda
frequency. So let's use that one to fake Mac OS X into believing the
bus frequency is tbfre
From: Tom Musta
Eliminate the unecessary ext32s TCG operation and make the multiplication
operation explicitly 32 bit.
Signed-off-by: Tom Musta
Suggested-by: Richard Henderson
Reviewed-by: Richard Henderson
Signed-off-by: Alexander Graf
---
target-ppc/translate.c | 5 ++---
1 file changed,
We messed up the ordering in our default configs for PPC. The top entries
are generic entries, then come sections that indicate that features are only
in because of a special feature (such as PReP).
Fix the ordering again and while at it add eTSEC support to the ppc64 target
so that we can spawn e
From: Anton Blanchard
The last 8 bytes of the buffer list is defined to contain the number
of dropped frames. At the moment we use it to store rx entries,
which trips up ethtool -S:
rx_no_buffer: 9223380832981355136
Fix this by skipping the last buffer list entry.
Signed-off-by: Anton Blanchar
The NVRAM in our Core99 machine really supports 2byte and 4byte accesses
just as well as 1byte accesses. In fact, Mac OS X uses those.
Add support for higher register size granularities.
Signed-off-by: Alexander Graf
---
hw/nvram/mac_nvram.c | 4
1 file changed, 4 insertions(+)
diff --git
From: Tom Musta
Optimize mulldo by using the muls2_i64 operation rather than a helper.
Eliminate
the obsolete helper code.
Signed-off-by: Tom Musta
Suggested-by: Richard Henderson
Reviewed-by: Richard Henderson
Signed-off-by: Alexander Graf
---
target-ppc/helper.h | 1 -
target-ppc/i
From: Tom Musta
Fix the code to properly detect overflow; the 128 bit signed
product must have all zeroes or all ones in the first 65 bits
otherwise OV should be set.
Example:
R3 45F086A5D5887509
R4 0002
mulldo 3,3,4
Should set XER[OV].
Signed-off-by: Tom Musta
Signed-off-by: Ale
From: Tom Musta
Optimize the special case of rlwinm where MB=0 and ME=31. This can
be implemented as a 32-bit ROTL.
Signed-off-by: Tom Musta
Suggested-by: Richard Henderson
Reviewed-by: Richard Henderson
Signed-off-by: Alexander Graf
---
target-ppc/translate.c | 6 ++
1 file changed, 6
From: Tom Musta
Simplify the implementation of mullwo. For 64 bit CPUs, the result is
the concatenation of the upper and lower parts of the muls2_i32 operation,
which may be slightly better than deposit. For 32 bit CPUs, the lower part
of the muls_i32 operation is moved into the target GPR.
Si
From: Tom Musta
Optimize the special case of rlwnm where MB=0 and ME=31. This can
be implemented using a ROTL.
Suggested-by: Richard Henderson
Signed-off-by: Tom Musta
Reviewed-by: Richard Henderson
Signed-off-by: Alexander Graf
---
target-ppc/translate.c | 56 +
From: Tom Musta
The special case of rlwimi where MB <= ME and SH = 31-ME can be implemented
with a single TCG deposit operation. This replaces the less general case
of SH = MB = 0 and ME = 31.
Signed-off-by: Tom Musta
Suggested-by: Richard Henderson
Reviewed-by: Richard Henderson
Signed-off-
From: Gonglei
At present, this function doesn't have partial cleanup implemented,
which will cause resource leaks in some scenarios.
Example:
1. Assume that "dc->realize(dev, &local_err)" executes successful
and local_err == NULL;
2. device hotplug in hotplug_handler_plug() executes but fail
From: Tom Musta
For 64-bit implementations, the mullw result is the 64 bit product
of the sign-extended least significant 32 bits of the source
registers.
Fix the code to properly sign extend the source operands and produce
a 64 bit product.
Example:
R3 002F37A0
R4 41C33D242F816715
mull
From: Tom Musta
For 64 bit implementations, the special case of a shift by zero
should result in the sign extension of the least significant 32 bits
of the source GPR (not a direct copy of the 64 bit source GPR).
Example:
R3 A6212433228F41DC
srawi 3,3,0
R3 expected : 228F41DC
R3 actual
From: Alexey Kardashevskiy
When disabling MSI/MSIX via "ibm,change-msi" RTAS call, no check was made
if MSI or MSIX is actually supported and the MSI message was reset
unconditionally. If this happened on a device which does not support MSI
(but does support MSIX, otherwise "ibm,change-msi" would
From: Nikunj A Dadhania
MAX_CPUS 256 is inconsistent with qemu supporting upto 255 cpus. This
MAX_CPUS number was percolated back to "virsh capabilities" with wrong
max_cpus.
Signed-off-by: Nikunj A Dadhania
Signed-off-by: Alexander Graf
---
hw/ppc/spapr.c | 2 +-
1 file changed, 1 insertion(
From: Alexey Kardashevskiy
Current object_child_foreach() uses QTAILQ_FOREACH() to walk
through children and that makes children removal from the callback
impossible.
This makes object_child_foreach() use QTAILQ_FOREACH_SAFE().
Signed-off-by: Alexey Kardashevskiy
Reviewed-by: Hu Tao
Signed-of
From: Tom Musta
The rlwimi specification includes the ROTL32 operation, which is defined
to be a left rotation of two copies of the least significant 32 bits of
the source GPR.
The current implementation is incorrect on 64-bit implementations in that
it rotates a single copy of the least signifi
From: Bharat Bhushan
This patch allow insert/remove software breakpoint.
When QEMU is not able to handle debug exception then we inject
program exception to guest because for software breakpoint QEMU
uses a ehpriv-1 instruction;
So there cannot be any reason that we are in qemu with exit reason
Mac OS X (at least with -M mac99) searches for a valid NVRAM partition
of a special Apple type. If it can't find that partition in the first
half of NVRAM, it will look at the second half.
There are a few implications from this. The first is that we need to
split NVRAM into 2 halves - one for Open
We already expose the real CPU's tb frequency to the guest via fw_cfg. Soon
we will need to also expose it to the MacIO, so let's move it to a variable
that we can leverage every time we need the frequency.
Signed-off-by: Alexander Graf
---
hw/ppc/mac_newworld.c | 13 ++---
hw/ppc/mac_ol
When running KVM we have to adhere to host page boundaries for memory slots.
Unfortunately the NVRAM on mac99 is a 4k RAM hole inside of an MMIO flash
area.
So if our host is configured with 64k page size, we can't use the mac99 target
with KVM. This is a real shame, as this limitation is not real
From: Tom Musta
Fix the check for carry in the srad helper to properly construct
the mask -- a "1ULL" must be used (instead of "1") in order to
get the desired result.
Example:
R3 8000
R4 F3511AD4A2CD4C38
srad 3,3,4
Should *not* set XER[CA] but does without this patch.
Signed-off-
The macio_nvram_read and macio_nvram_write functions are never called,
just remove them.
Signed-off-by: Alexander Graf
---
hw/nvram/mac_nvram.c | 23 ---
hw/ppc/mac.h | 2 --
2 files changed, 25 deletions(-)
diff --git a/hw/nvram/mac_nvram.c b/hw/nvram/mac_nvram.c
i
We now can call KVM_CHECK_EXTENSION on the kvm fd or on the vm fd, whereas
the vm version is more accurate when it comes to PPC KVM.
Add a helper to make the vm version available that falls back to the non-vm
variant if the vm one is not available yet to stay compatible.
Signed-off-by: Alexander
From: Bharat Bhushan
This patch adds hardware breakpoint and hardware watchpoint support
for ppc.
On BOOKE architecture we cannot share debug resources between QEMU
and guest because:
When QEMU is using debug resources then debug exception must
be always enabled. To achieve this we set M
From: Alexey Kardashevskiy
This finishes refactoring by using the spapr_populate_memory_node helper
for all nodes and removing leftovers from spapr_populate_memory().
This is not a part of the previous patch because the patches look
nicer apart.
Signed-off-by: Alexey Kardashevskiy
Signed-off-b
From: Bharat Bhushan
This patch synchronizes env->excp_vectors[] with env->iovr[].
This is required for using the existing interrupt injection mechanism
for kvm.
Signed-off-by: Bharat Bhushan
Signed-off-by: Alexander Graf
---
target-ppc/kvm.c | 27 +++
1 file changed,
1 - 100 of 318 matches
Mail list logo