Re: [Qemu-devel] [PATCH 3/4] block/parallels: split check for parallels format in parallels_open

2014-07-24 Thread Jeff Cody
On Tue, Jul 22, 2014 at 05:19:36PM +0400, Denis V. Lunev wrote: > and rework error path a bit. There is no difference at the moment, but > the code will be definitely shorter when additional processing will > be required for WithouFreSpacExt > > Signed-off-by: Denis V. Lunev > CC: Kevin Wolf > C

Re: [Qemu-devel] [PATCH 4/4] block/parallels: 2TB+ parallels images support

2014-07-24 Thread Jeff Cody
On Tue, Jul 22, 2014 at 05:19:37PM +0400, Denis V. Lunev wrote: > Parallels has released in the recent updates of Parallels Server 5/6 > new addition to his image format. Images with signature WithouFreSpacExt > have offsets in the catalog coded not as offsets in sectors (multiple > of 512 bytes) b

[Qemu-devel] Boot Failure

2014-07-24 Thread Yang Zhang
Hello, Hello, I'm a freshman to seabios. I'm working on developing an OS with my teammates and using seabios to boot a virtual machine(Our OS -> seabios-> grub -> guest Linux) on our OS. We have a few machines to test our OS, However, seabios can't boot guest linux on some machines w

Re: [Qemu-devel] AHCI bug

2014-07-24 Thread John Snow
On 07/24/2014 01:01 PM, Zhang, Eniac wrote: Hi all, I found a problem while using following combinations: qemu-1.6.1 + large disks (>127GB) + q35(AHCI controller) + int13h disk access. The AHCI controller code in Qemu has a bug that it will use the wrong LBA address when Seabios tries to a

Re: [Qemu-devel] [Bug 1344320] Re: qemu-aarch64 cannot execute glibc

2014-07-24 Thread Richard Henderson
On 07/22/2014 12:22 PM, Peter Maydell wrote: > In any case the kernel guys say you can't guarantee they > exist unless you get them to define an ELF hwcap for > "timers exist and have a sane value in the 'what frequency > are they' register". So this is a glibc bug and I'm > not fixing QEMU... The

Re: [Qemu-devel] [PATCH 1/2] qemu-img: Allow source cache mode specification

2014-07-24 Thread Max Reitz
On 23.07.2014 10:10, Kevin Wolf wrote: Am 22.07.2014 um 22:06 hat Max Reitz geschrieben: On 21.07.2014 17:52, Eric Blake wrote: On 07/19/2014 02:35 PM, Max Reitz wrote: Many qemu-img subcommands only read the source file(s) once. For these use cases, a full write-back cache is unnecessary and

Re: [Qemu-devel] [PATCH 1/6] bootindex: add {del, modify}_boot_device_path function

2014-07-24 Thread Gonglei (Arei)
> -Original Message- > From: Gerd Hoffmann [mailto:kra...@redhat.com] > Sent: Thursday, July 24, 2014 9:25 PM > Subject: Re: [PATCH 1/6] bootindex: add {del,modify}_boot_device_path > function > > Hi, > > > > Hmm. I think we should simply lookup the device and modify the > > > bootinde

[Qemu-devel] [PATCH] cpu-exec: make TBs generated codes unlinked when -singlestep

2014-07-24 Thread Jincheng Miao
'-singlestep' option will make TB contains only one instruction, so that the qemu_log could output trace log when CPU_LOG_EXEC sets, and it could help developers to debug control flow. But currently, in cpu_exec(), it doesn't check singlestep when tb_add_jump(), so the TB linked is executed silien

[Qemu-devel] [questions] about qemu log

2014-07-24 Thread Zhang Haoyu
Hi, all If I use qemu command directly to run vm, bypass libvirt, how to configure qemu to assure that each vm has its own log file, like vmname.log? For example, VM: rhel7-net has its own log file, rhel7-net.log, VM:rhel7-stor has its own log file, rhel7-stor.log. Thanks, Zhang Haoyu

[Qemu-devel] [PATCH v2 1/7] bootindex: add modify_boot_device_path function

2014-07-24 Thread arei.gonglei
From: Gonglei When we want to change one device's bootindex, we should lookup the device and change the bootindex. it is simply that remove it from the global boot list, then re-add it, sorted by new bootindex. If the new bootindex has already used by another device just throw an error. Signed-o

[Qemu-devel] [PATCH v2 5/7] qmp: add set-bootindex command

2014-07-24 Thread arei.gonglei
From: Gonglei Adds "set-bootindex id=xx,bootindex=xx,suffix=xx" QMP command. Example QMP command: -> { "execute": "set-bootindex", "arguments": { "id": "ide0-0-1", "bootindex": 1, "suffix": "/disk@0"}} <- { "return": {} } Signed-off-by: Gonglei Signed-off-by: Chenliang --- qapi-schema.json

[Qemu-devel] [PATCH v2 2/7] bootindex: add del_boot_device_path function

2014-07-24 Thread arei.gonglei
From: Gonglei Introduce a del_boot_device_path() cleanup fw_cfg content when hot-unplugging devcie refer to bootindex. Signed-off-by: Gonglei Signed-off-by: Chenliang --- include/sysemu/sysemu.h | 1 + vl.c| 17 + 2 files changed, 18 insertions(+) diff --

[Qemu-devel] [PATCH v2 0/7] modify boot order of guest, and take effect after rebooting

2014-07-24 Thread arei.gonglei
From: Gonglei Sometimes, we want to modify boot order of a guest, but no need to shutdown it. We can call dynamic changing bootindex of a guest, which can be assured taking effect just after the guest rebooting. For example, in P2V scene, we boot a guest and then attach a new system disk, for co

[Qemu-devel] [PATCH v2 7/7] spapr: fix possible memory leak

2014-07-24 Thread arei.gonglei
From: Gonglei get_boot_devices_list() will malloc memory, spapr_finalize_fdt doesn't free it. Signed-off-by: Chenliang Signed-off-by: Gonglei --- hw/ppc/spapr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index d01978f..edff5ce 100644 --- a/hw/ppc/spapr

[Qemu-devel] [PATCH v2 4/7] bootindex: delete bootindex when device is removed

2014-07-24 Thread arei.gonglei
From: Gonglei Device should be removed from global boot list when it is hot-unplugged. Signed-off-by: Chenliang Signed-off-by: Gonglei --- hw/block/virtio-blk.c| 1 + hw/i386/kvm/pci-assign.c | 1 + hw/misc/vfio.c | 1 + hw/net/e1000.c | 1 + hw/net/eepro100.c|

[Qemu-devel] [PATCH v2 3/7] fw_cfg: add fw_cfg_machine_reset function

2014-07-24 Thread arei.gonglei
From: Gonglei We must assure that the changed bootindex can take effect when guest is rebooted. So we introduce fw_cfg_machine_reset(), which change the fw_cfg file's bootindex data using the new global fw_boot_order list. Signed-off-by: Chenliang Signed-off-by: Gonglei --- hw/nvram/fw_cfg.c

[Qemu-devel] [PATCH v2 6/7] qemu-monitor: HMP set-bootindex wrapper

2014-07-24 Thread arei.gonglei
From: Gonglei Add HMP set-bootindex wrapper to allow setting devcie's bootindex via monitor. Signed-off-by: Gonglei Signed-off-by: Chenliang --- hmp-commands.hx | 15 +++ hmp.c | 13 + hmp.h | 1 + 3 files changed, 29 insertions(+) diff --git a/hm

<    1   2