[Qemu-devel] qemu feedback

2005-06-11 Thread dave
hy, i'm glad of qemu and i found a real valid project. i would comunicate my difficulties in understanding virtual networking features. you should provide some example about: - how configure qemu with a guest os that has an ssh server. (i tried using user-net and redirect without success

[PATCH] block: Remove unused aio_task_pool_empty

2024-09-16 Thread dave
From: "Dr. David Alan Gilbert" aio_task_pool_empty has been unused since it was added in 6e9b225f73 ("block: introduce aio task pool") Remove it. Signed-off-by: Dr. David Alan Gilbert --- block/aio_task.c | 5 - include/block/aio_task.h | 2 -- 2 files changed, 7 deletions(-) d

[PATCH] block-backend: Remove deadcode

2024-09-16 Thread dave
From: "Dr. David Alan Gilbert" blk_by_public last use was removed in 2017 by c61791fc23 ("block: add aio_context field in ThrottleGroupMember") blk_activate last use was removed earlier this year by eef0bae3a7 ("migration: Remove block migration") blk_add_insert_bs_notifier, blk_op_block_al

[PATCH] hw/xen: Remove deadcode

2024-09-16 Thread dave
From: "Dr. David Alan Gilbert" xen_be_copy_grant_refs is unused since 2019's 19f87870ba ("xen: remove the legacy 'xen_disk' backend") xen_config_dev_console is unused since 2018's 6d7c06c213 ("Remove broken Xen PV domain builder") Remove them. Signed-off-by: Dr. David Alan Gilbert --- hw

[PATCH] ui/cursor: remove cursor_get_mono_image

2024-09-16 Thread dave
From: "Dr. David Alan Gilbert" cursor_get_mono_image has been unused since 2018's 0015ca5cba ("ui: remove support for SDL1.2 in favour of SDL2") Remove it. Signed-off-by: Dr. David Alan Gilbert --- include/ui/console.h | 1 - ui/cursor.c | 24 2 files chan

Re: absolute firmware path made relocatable in qemu 5.2.0

2021-01-12 Thread Dave
ll /nonexistent/libexec/qemu-bridge-helper by default. Dave On 12/01/2021 23:53, Paolo Bonzini wrote: On 12/01/21 18:04, Dave wrote: Thanks Paola, We are still in testing and that's the only thing we've uncovered so far with the new 5.2.0. I will post if the ops guys find anything else.

absolute firmware path made relocatable in qemu 5.2.0

2021-01-12 Thread Dave
share/qemu /root/qemu/../share/qemu-firmware So there is no way to have a absolute path for firmware /bios and all qemu's that we test need to be at the right directory nesting to find firmware, bios etc or else they all need their own duplicate firmware files. Firmware path needs to honor the absolute paths i believe. Comments ? Dave

Re: absolute firmware path made relocatable in qemu 5.2.0

2021-01-12 Thread Dave
goes into production. It would be nicer with the relocatable binary took some fixed paths from /etc/qemu.conf for the bridge-helper, firmware, bios, qemu-ifup/down. thanks Dave On 12/01/2021 18:48, Paolo Bonzini wrote: On 12/01/21 15:05, Dave wrote: Is seem that absolute firmwarepath compilation

Re: absolute firmware path made relocatable in qemu 5.2.0

2021-01-12 Thread Dave
Thanks Paola, We are still in testing and that's the only thing we've uncovered so far with the new 5.2.0. I will post if the ops guys find anything else. Dave On 12/01/2021 20:53, Paolo Bonzini wrote: Il mar 12 gen 2021, 17:48 Dave mailto:d...@0bits.com>> ha scritto

[PATCH] sockets: Remove deadcode

2024-09-18 Thread dave
From: "Dr. David Alan Gilbert" socket_remote_address hasn't been used since it was added in 17c55decec ("sockets: add helpers for creating SocketAddress from a socket") inet_connect hasn't been used since 2017's 8ecc2f9eab ("sheepdog: Use SocketAddress and socket_connect()") Remove them. S

[PATCH] replay: Remove unused replay_disable_events

2024-09-18 Thread dave
From: "Dr. David Alan Gilbert" replay_disable_events has been unused since 2019's c8aa7895eb ("replay: don't drain/flush bdrv queue while RR is working") Remove it. Signed-off-by: Dr. David Alan Gilbert --- include/sysemu/replay.h | 2 -- replay/replay-events.c | 9 - 2 files chang

[PATCH] hw/pci: Remove unused pcie_chassis_find_slot

2024-09-18 Thread dave
From: "Dr. David Alan Gilbert" pcie_chassis_find_slot has been unused since it was added. Remove it. Signed-off-by: Dr. David Alan Gilbert --- hw/pci/pcie_port.c | 10 -- include/hw/pci/pcie_port.h | 1 - 2 files changed, 11 deletions(-) diff --git a/hw/pci/pcie_port.c b/hw/

[PATCH] io/channel-socket: Remove unused qio_channel_socket_dgram_async

2024-09-18 Thread dave
From: "Dr. David Alan Gilbert" qio_channel_socket_dgram_async has been unused since it was originally added in 2015. Remove it. Signed-off-by: Dr. David Alan Gilbert --- include/io/channel-socket.h | 29 io/channel-socket.c | 54 ---

[PATCH] hw/net/net_rx_pkt: Remove deadcode

2024-09-18 Thread dave
From: "Dr. David Alan Gilbert" net_rx_pkt_get_l3_hdr_offset and net_rx_pkt_get_iovec_len haven't been used since they were added. Remove them. Signed-off-by: Dr. David Alan Gilbert --- hw/net/net_rx_pkt.c | 13 - hw/net/net_rx_pkt.h | 9 - 2 files changed, 22 deletions(-)

[PATCH] hw/net/rocker: Remove unused rocker_fp_ports

2024-09-18 Thread dave
From: "Dr. David Alan Gilbert" rocker_fp_ports hasn't been used since it was added back in 2015. Remove it. Signed-off-by: Dr. David Alan Gilbert --- hw/net/rocker/rocker.c | 5 - hw/net/rocker/rocker.h | 1 - 2 files changed, 6 deletions(-) diff --git a/hw/net/rocker/rocker.c b/hw/net/ro

[PATCH] util/iova-tree: Remove deadcode

2024-09-18 Thread dave
From: "Dr. David Alan Gilbert" iova_tree_find_address, and iova_tree_foreach have never been used since the code was originally added by: eecf5eedbd ("util: implement simple iova tree") Remove them. Signed-off-by: Dr. David Alan Gilbert --- include/qemu/iova-tree.h | 25

[PATCH] hw/char: Remove unused serial_set_frequency

2024-09-18 Thread dave
From: "Dr. David Alan Gilbert" serial_set_frequnecy has been unused since it was added in 2009: 038eaf82c8 ("serial: Add interface to set reference oscillator frequency") It looks like the 'baudbase' is now a property anyway so the wrapper isn't needed. Remove it. Signed-off-by: Dr. David Al

[PATCH] linux-user: Remove unused handle_vm86_fault

2024-09-18 Thread dave
From: "Dr. David Alan Gilbert" handle_vm86_fault has been unused since: 1ade5b2fed ("linux-user/i386: Split out maybe_handle_vm86_trap") Remove it, and it's local macros. Signed-off-by: Dr. David Alan Gilbert --- linux-user/user-internals.h | 1 - linux-user/vm86.c | 136 ---

[PATCH] crypto: Remove unused DER string functions

2024-09-18 Thread dave
From: "Dr. David Alan Gilbert" qcrypto_der_encode_octet_str_begin and _end have been unused since they were added in 3b34ccad66 ("crypto: Support DER encodings") Remove them. Signed-off-by: Dr. David Alan Gilbert --- crypto/der.c | 13 - crypto/der.h | 22 --

[PATCH] util/cutils: Remove unused qemu_get_exec_dir

2024-09-18 Thread dave
From: "Dr. David Alan Gilbert" qemu_get_exec_dir has been unused since commit: 5bebe03f51 ("util/cutils: Clean up global variable shadowing in get_relocated_path()") Remove it, and fix up a comment that pointed to it. Signed-off-by: Dr. David Alan Gilbert --- include/qemu/cutils.h | 5 +---

[PATCH] hw/sysbus: Remove unused sysbus_mmio_unmap

2024-09-18 Thread dave
From: "Dr. David Alan Gilbert" The last use of sysbus_mmio_unmap was removed by 981b1c6266 ("spapr/xive: rework the mapping the KVM memory regions") Remove it. Signed-off-by: Dr. David Alan Gilbert --- hw/core/sysbus.c| 10 -- include/hw/sysbus.h | 1 - 2 files changed, 11 dele

[PATCH] hw: Remove unused fw_cfg_init_io

2024-09-18 Thread dave
From: "Dr. David Alan Gilbert" fw_cfg_init_io has been unused since 918a7f706b ("i386: load kernel on xen using DMA") Remove it. Signed-off-by: Dr. David Alan Gilbert --- hw/nvram/fw_cfg.c | 5 - include/hw/nvram/fw_cfg.h | 1 - 2 files changed, 6 deletions(-) diff --git a/hw/n

[PATCH v2 1/7] migration: Remove migrate_cap_set

2024-09-19 Thread dave
From: "Dr. David Alan Gilbert" migrate_cap_set has been unused since 18d154f575 ("migration: Remove 'blk/-b' option from migrate commands") Remove it. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Fabiano Rosas --- migration/options.c | 20 migration/options.h |

[PATCH v2 7/7] util/userfaultfd: Remove unused uffd_poll_events

2024-09-19 Thread dave
From: "Dr. David Alan Gilbert" uffd_poll_events has been unused since it was added; it's also just a wrapper around a plain old poll call, so doesn't add anything. Signed-off-by: Dr. David Alan Gilbert --- include/qemu/userfaultfd.h | 1 - util/userfaultfd.c | 28 -

[PATCH v2 6/7] migration/postcopy: Use uffd helpers

2024-09-19 Thread dave
From: "Dr. David Alan Gilbert" Use the uffd_copy_page, uffd_zero_page and uffd_wakeup helpers rather than calling ioctl ourselves. They return -errno on error, and print an error_report themselves. I think this actually makes postcopy_place_page actually more consistent in it's callers. Signed-

[PATCH] util/co-shared-resource: Remove unused co_try_get_from_shres

2024-09-18 Thread dave
From: "Dr. David Alan Gilbert" co_try_get_from_shres hasn't been used since it was added in 55fa54a789 ("co-shared-resource: protect with a mutex") (Everyone uses the _locked version) Remove it. Signed-off-by: Dr. David Alan Gilbert --- include/qemu/co-shared-resource.h | 7 --- util/qe

[PATCH] vhost: Remove unused vhost_dev_{load|save}_inflight

2024-09-18 Thread dave
From: "Dr. David Alan Gilbert" vhost_dev_load_inflight and vhost_dev_save_inflight have been unused since they were added in 2019 by: 5ad204bf2a ("vhost-user: Support transferring inflight buffer between qemu and backend") Remove them, and their helper vhost_dev_resize_inflight. Signed-off-by

[PATCH] qemu-timer: Remove unused qemu_clock_get_main_loop_timerlist

2024-09-18 Thread dave
From: "Dr. David Alan Gilbert" qemu_clock_get_main_loop_timerlist has been unused since it was originally added in ff83c66ecc ("aio / timers: Split QEMUClock into QEMUClock and QEMUTimerList") Remove it. Signed-off-by: Dr. David Alan Gilbert --- include/qemu/timer.h | 10 -- util/qe

[PATCH] remote: Remove unused remote_iohub_finalize

2024-09-19 Thread dave
From: "Dr. David Alan Gilbert" remote_iohub_finalize has never been used. Remove it. Signed-off-by: Dr. David Alan Gilbert --- hw/remote/iohub.c | 13 - include/hw/remote/iohub.h | 1 - 2 files changed, 14 deletions(-) diff --git a/hw/remote/iohub.c b/hw/remote/iohub.c i

[PATCH v2] qemu-timer: Remove unused timer functions

2024-09-19 Thread dave
From: "Dr. David Alan Gilbert" qemu_clock_get_main_loop_timerlist and timerlist_get_clock have been unused since they were originally added in ff83c66ecc ("aio / timers: Split QEMUClock into QEMUClock and QEMUTimerList") Remove them. Signed-off-by: Dr. David Alan Gilbert --- include/qemu/ti

[PATCH] net: Remove deadcode

2024-09-18 Thread dave
From: "Dr. David Alan Gilbert" net_hub_port_find is unused since 2018's commit af1a5c3eb4 ("net: Remove the deprecated "vlan" parameter") qemu_receive_packet_iov is unused since commit ffbd2dbd8e ("e1000e: Perform software segmentation for loopback") in turn it was the last user of qemu_net

[PATCH v2 0/7] Migration deadcode removal

2024-09-19 Thread dave
emoving most of them. Remove one. Dave Dr. David Alan Gilbert (6): migration: Remove migrate_cap_set migration: Remove unused migrate_zero_blocks migration: Remove unused socket_send_channel_create_sync util/userfaultfd: Return -errno on error migration/postcopy: Use uffd helpers util/userfa

[PATCH v2 3/7] migration: Deprecate zero-blocks capability

2024-09-19 Thread dave
From: Fabiano Rosas The zero-blocks capability was meant to be used along with the block migration, which has been removed already in commit eef0bae3a7 ("migration: Remove block migration"). Setting zero-blocks is currently a noop, but the outright removal of the capability would cause and error

[PATCH v2 4/7] migration: Remove unused socket_send_channel_create_sync

2024-09-19 Thread dave
From: "Dr. David Alan Gilbert" socket_send_channel_create_sync only use was removed by d0edb8a173 ("migration: Create the postcopy preempt channel asynchronously") Remove it. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Fabiano Rosas --- migration/socket.c | 18 -- mi

[PATCH v2 5/7] util/userfaultfd: Return -errno on error

2024-09-19 Thread dave
From: "Dr. David Alan Gilbert" Convert (the currently unused) uffd_wakeup, uffd_copy_page and uffd_zero_page to return -errno on error rather than -1. That will make it easier to reuse in postcopy. Signed-off-by: Dr. David Alan Gilbert --- util/userfaultfd.c | 21 - 1 file

[PATCH v2 2/7] migration: Remove unused migrate_zero_blocks

2024-09-19 Thread dave
From: "Dr. David Alan Gilbert" migrate_zero_blocks is unused since eef0bae3a7 ("migration: Remove block migration") Remove it. Signed-off-by: Dr. David Alan Gilbert --- migration/options.c | 7 --- migration/options.h | 1 - 2 files changed, 8 deletions(-) diff --git a/migration/option

[PATCH 0/3] Migration deadcode removal

2024-09-17 Thread dave
From: "Dr. David Alan Gilbert" Hi, This is a set of deadcode removal around migration found by looking for unused symbols. Note this does remove the old zero-blocks capability, but it's been meaningless anyway since block migration went. Dave Dr. David Alan Gilbert (

[PATCH 2/3] migration: Remove unused zero-blocks capability

2024-09-17 Thread dave
From: "Dr. David Alan Gilbert" migrate_zero_blocks is unused since eef0bae3a7 ("migration: Remove block migration") Remove it. That whole zero-blocks capability was just for old-school block migration anyway. Remove the capability as well. Signed-off-by: Dr. David Alan Gilbert --- migratio

[PATCH 1/3] migration: Remove migrate_cap_set

2024-09-17 Thread dave
From: "Dr. David Alan Gilbert" migrate_cap_set has been unused since 18d154f575 ("migration: Remove 'blk/-b' option from migrate commands") Remove it. Signed-off-by: Dr. David Alan Gilbert --- migration/options.c | 20 migration/options.h | 1 - 2 files changed, 21 del

[PATCH 3/3] migration: Remove unused socket_send_channel_create_sync

2024-09-17 Thread dave
From: "Dr. David Alan Gilbert" socket_send_channel_create_sync only use was removed by d0edb8a173 ("migration: Create the postcopy preempt channel asynchronously") Remove it. Signed-off-by: Dr. David Alan Gilbert --- migration/socket.c | 18 -- migration/socket.h | 1 - 2 f

[PATCH] envlist: Remove unused envlist_parse

2024-09-17 Thread dave
From: "Dr. David Alan Gilbert" envlist_parse, envlist_parse_set, envlist_parse_unset were added in 2009 but never used, see: 04a6dfebb6 ("linux-user: Add generic env variable handling") Remove them. Signed-off-by: Dr. David Alan Gilbert --- include/qemu/envlist.h | 2 -- util/envlist.c

[PATCH] q35: Remove unused mch_mcfg_base

2024-09-17 Thread dave
From: "Dr. David Alan Gilbert" mch_mcfg_base has been unused since it was added by 6f1426ab0f ("ich9: APIs for pc guest info") back in 2013. Remove it. Signed-off-by: Dr. David Alan Gilbert --- hw/pci-host/q35.c | 10 -- include/hw/pci-host/q35.h | 2 -- 2 files changed, 12

[Qemu-devel] [PATCH] virtio-blk: add default value to serial attribute

2012-09-20 Thread Dave Young
From: Dave Young For virtio block device, if user does not specify the serial attribute, There will be not serial availabe, this is not convinient for identify the disk. Doing something similar to ide disks, add a "VD?" default serial number if user does not specify it. Signed-of

[Qemu-devel] [PATCH] virtio-blk: add default serial id

2012-09-20 Thread Dave Young
For virtio block device, if user does not specify the serial attribute, There will be not serial availabe, this is not convinient for identify the disk. Doing something similar to ide disks, add a "VD?" default serial number if user does not specify it. Signed-off-by: Dave Youn

Re: [Qemu-devel] [PATCH] add default virtio-blk serial id

2012-09-20 Thread Dave Young
Oops, local mta use wrong from line, should use below: From: Dave Young On 09/20/2012 04:48 PM, Dave Young wrote: > For virtio block device, if user does not specify the serial attribute, > There will be not serial availabe, this is not convinient for identify > the disk. > >

[Qemu-devel] [PATCH v2] virtio-blk: add default serial id

2012-09-21 Thread Dave Young
nts from Eric Blake]: fix spell errors in patch description decrease drive_serial in virtio_blk_exit as well Signed-off-by: Dave Young --- hw/virtio-blk.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) --- qemu.orig/hw/virtio-blk.c +++ qemu/hw/virtio-blk.c @@ -22,6 +22,8

Re: [Qemu-devel] [PATCH v2] virtio-blk: add default serial id

2012-09-22 Thread Dave Young
On Fri, Sep 21, 2012 at 08:15:38AM -0600, Eric Blake wrote: > On 09/21/2012 07:30 AM, Dave Young wrote: > > > > For virtio block device, if user does not specify the serial attribute, > > There will be no serial availabe, this is not convenient for identifying > &g

[Qemu-devel] [PATCH V3] virtio-blk: add default serial id

2012-09-26 Thread Dave Young
For virtio block device, if user does not specify the serial attribute, There will be no serial availabe, this is not convenient for identifying the disk. Doing something similar to ide disks, add a "VD?" default serial number if user does not specify it. Signed-off-by: Dave Youn

Re: [Qemu-devel] [PATCH V3] virtio-blk: add default serial id

2012-09-26 Thread Dave Young
there's no way to create some really ideal *uniq* ids. On 09/26/2012 04:18 PM, Dave Young wrote: > For virtio block device, if user does not specify the serial attribute, > There will be no serial availabe, this is not convenient for identifying > the disk. > > Doing something

Re: [Qemu-devel] [PATCH v2] virtio-blk: add default serial id

2012-10-08 Thread Dave Young
On 10/05/2012 04:14 PM, Stefan Hajnoczi wrote: > On Sun, Sep 23, 2012 at 10:37:09AM +0800, Dave Young wrote: >> For the serial number decreasing issue, I think there's only these two ways >> to >> select, there's no ideal way to resolve this issue. >> My use

Re: [Qemu-devel] [PATCH v2] virtio-blk: add default serial id

2012-10-09 Thread Dave Young
On 10/09/2012 04:31 PM, Stefan Hajnoczi wrote: > On Tue, Oct 09, 2012 at 10:27:26AM +0800, Dave Young wrote: >> On 10/05/2012 04:14 PM, Stefan Hajnoczi wrote: >> >>> On Sun, Sep 23, 2012 at 10:37:09AM +0800, Dave Young wrote: >>>> For the serial number decreasi

Re: [Qemu-devel] [PATCH 1/8] virtio-gpu/2d: add hardware spec include file

2014-09-29 Thread Dave Airlie
e host side etc. I probably need to spend some time working this out with BenH, but I'm not really sure how we can avoid backing ourselves into a large inefficent hole at some point. Dave.

Re: [Qemu-devel] [PATCH 1/8] virtio-gpu/2d: add hardware spec include file

2014-10-02 Thread Dave Airlie
On 30 September 2014 17:55, Gerd Hoffmann wrote: > > On Di, 2014-09-30 at 10:27 +1000, Dave Airlie wrote: >> > Triggered by the framebuffer endian issues we have with stdvga I've >> > started to check where we stand with virtio-gpu and whenever we have to >> >

[Qemu-devel] patch: add delay= suboption to -display curses

2014-05-24 Thread Dave Mielke
n't specified, or if "delay=0" is specified, then the timer isn't used, thus making the default be the original behaviour. The "=" operand is optional - if it isn't specified then 20 is assumed. -- Dave Mielke | 2213 Fox Crescent | The Bible is the

Re: [Qemu-devel] patch: add delay= suboption to -display curses

2014-05-24 Thread Dave Mielke
up to four modifiers (shift, control, alt, altgr). Another reason is that it's not a problem for a lot of applications. I happened to hit it in an application, and, therefore, coded a fix for it. -- Dave Mielke | 2213 Fox Crescent | The Bible is the very Word of God. Phone: 1-6

Re: [Qemu-devel] patch: add delay= suboption to -display curses

2014-05-25 Thread Dave Mielke
h. Given that this'll require a brand new option, could you please let me know all the places that'll need updating insofar as documentation is concerned? -- Dave Mielke | 2213 Fox Crescent | The Bible is the very Word of God. Phone: 1-613-726-0014 | Ottawa, Ontario | http

Re: [Qemu-devel] patch: add delay= suboption to -display curses

2014-05-25 Thread Dave Mielke
ile that needs to be updated insofar as documentation is concerned. Is that correct? -- Dave Mielke | 2213 Fox Crescent | The Bible is the very Word of God. Phone: 1-613-726-0014 | Ottawa, Ontario | http://Mielke.cc/bible/ EMail: d...@mielke.cc | Canada K2A 1H7 | http://FamilyRadio.com/

Re: [Qemu-devel] [Qemu-trivial] patch: add delay= suboption to -display curses

2014-05-25 Thread Dave Mielke
rsonal opinion is that implementing it now would be a reasonable thing to do, especially since the current situation is that no one is being asked to figure it out, code it, etc. -- Dave Mielke | 2213 Fox Crescent | The Bible is the very Word of God. Phone: 1-613-726-0014 | Ottawa, Ontario

Re: [Qemu-devel] [PATCH 1/8] virtio-gpu/2d: add hardware spec include file

2014-10-15 Thread Dave Airlie
nts might future proof things a little, though most OSes use EDID to detect this sort of thing, so we might not find a great use for it later. Dave.

Re: [Qemu-devel] [PATCH 1/8] virtio-gpu/2d: add hardware spec include file

2014-10-15 Thread Dave Airlie
o complete, just using the F20 qemu ppc64 system package but hit a bug I think is related to missing SIMD instructions, so I'm not sure how best to move forward with getting a test platform here. Dave.

Re: [Qemu-devel] [virtio-dev] [PATCH 2/2] virtio-gpu/2d: add docs/specs/virtio-gpu.txt

2014-09-12 Thread Dave Airlie
t; is >> logical since there is also an "attach" command. > > No particular reason I think. Dave? > Not reason I can remember, I think I was thinking of having separate inval and detach at one point, but it didn't really make any sense, so renaming to detach is fine with me. Dave.

Re: [Qemu-devel] [virtio-dev] [PATCH 0/2] virtio-gpu: hardware specification

2014-09-12 Thread Dave Airlie
www.kraxel.org/cgit/qemu/log/?h=rebase/vga-wip > https://www.kraxel.org/cgit/linux/log/?h=virtio-gpu-rebase > > The qemu patches are in a reasonable state. The linux kernel patches > are not cleaned up yet, you probably want to look at the final tree > only. > > Work has been

Re: [Qemu-devel] [virtio-dev] Re: [PATCH 2/2] virtio-gpu/2d: add docs/specs/virtio-gpu.txt

2014-09-14 Thread Dave Airlie
t isn't alongside the code until we've addressed at least any resource allocation or possible security concerns. Dave.

[Qemu-devel] qemu - SCSI disk "Device Model", "Serial Number", and "Firmware Version"?

2011-06-07 Thread Dave Seddon
hw]# grep -R 'QEMU' scsi-disk.c QEMUIOVector qiov; QEMUBH *bh; memcpy(&outbuf[16], "QEMU CD-ROM ", 16); memcpy(&outbuf[16], "QEMU HARDDISK ", 16); memcpy(&outbuf[8], "QEMU", 8); s->version = qemu_strdup(QEMU_VERSION); --- Kind regards, Dave Seddon d...@seddon.ca

Re: [Qemu-devel] qemu - SCSI disk "Device Model", "Serial Number", and "Firmware Version"?

2011-06-07 Thread Dave Seddon
what does smartctl even try here? A: True. SMART only applied to ATA. I should not have included this smartctl example, however the 'dmesg' output is still relevant. ---- Kind regards, Dave Seddon On Tue, 2011-06-07 at 17:04 +1000, Dave S

Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest

2011-10-21 Thread Dave Anderson
var's value, or some other information from kernel. If kernel panics, > >> we can use gdb to attach to a remote target as you said. But on end user > >> machine, > >> we can not do it, we should dump the memory into a file and analyze it in > >> another > >&g

Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest

2011-10-24 Thread Dave Anderson
ose it could be done if a phyical-memory-read function could be created for it, similar to what I asked about for live analysis of a guest kernel run on/from the KVM host. Dave

Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest

2011-10-24 Thread Dave Anderson
- Original Message - > On 10/24/2011 04:25 PM, Dave Anderson wrote: > > > The question is that: 'virsh dump' can not be used when host pci device > > > is used by guest. We are discussing how to fix the problem. We have > > > determined > &g

Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest

2011-10-24 Thread Dave Anderson
r stupid question -- but does the guest failure mode render it incapable of using kdump? Dave

Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest

2011-10-25 Thread Dave Anderson
- Original Message - > On 10/25/2011 10:23 AM, Avi Kivity wrote: > > On 10/25/2011 10:06 AM, Wen Congyang wrote: > >> Hi, Avi Kivity, Dave Anderson > >> > >> I have two questions about it: > >> > >> 1. How to know the guest&

Re: [Qemu-devel] [RFC] dump memory when host pci device is used by guest

2011-11-16 Thread Dave Anderson
tware/gdb/bugs/>... > Reading symbols from > /usr/lib/debug/lib/modules/2.6.32-71.el6.x86_64/vmlinux...done. > [New ] > [New ] > #0 0x8103be8b in ?? () > (gdb) bt > #0 0x8103be8b in ?? () > Cannot access memory at address 0x8170dec8 > (gdb) q > > My first and the most important question is that: Is there necessary > to continue this work? > > The attachment is the sample patch. > > Thanks > Wen Congyang >From an enterprise/support point of view, the wholesale replacement of the current use of the savevm dumpfile format by "virsh dump" with this ELF style format would be a *huge* improvement. Dave Anderson

[Qemu-devel] [Bug 393430] Re: kvm: use PulseAudio instead of ALSA

2011-08-26 Thread Dave Walker
The Debian big referenced suggested using ALSA over OSS, this bug is related to favouring PA over ALSA. The Debian issue was resolved with: --- kvm-79+dfsg/debian/rules +++ kvm-82+dfsg/debian/rules @@ -141,7 +141,9 @@ config.status: configure dh_testdir # Add here commands to con

Re: [Qemu-devel] multihead & multiseat in qemu

2014-03-21 Thread Dave Airlie
seat, and have devices move around between them, this would be like what we for the real hw, however per-device tags does look like it might be nicer in the long run. Dave.

[Qemu-devel] updated virtio-gpu code

2014-03-24 Thread Dave Airlie
I seem to get 2 displays, one for the VGA time, and a separate one for the driver loaded, any ideas why? Dave.

Re: [Qemu-devel] updated virtio-gpu code

2014-03-25 Thread Dave Airlie
> > Just out of interest, with sdl and remote-viewer I seem to get 2 > displays, one for the VGA time, and a separate one for the driver > loaded, any ideas why? Ah this seems to be an artefact of my libvirt xml which demands I add a non-virtio vga device, thanks strict parser! Dave.

Re: [Qemu-devel] [PATCH 7/8] virtio-vga: v1

2014-01-07 Thread Dave Airlie
On Fri, Dec 6, 2013 at 6:58 PM, Dave Airlie wrote: > On Fri, Dec 6, 2013 at 6:24 PM, Gerd Hoffmann wrote: >> Hi, >> >>> Now the advice given was to have virtio-vga wrap virtio-gpu-base but >>> from what I can see it really can't. Since it needs to act and

Re: [Qemu-devel] input, virtio-vga & multihead -- current state

2014-01-29 Thread Dave Airlie
and yes virtio-vga-3d is the branch the other one I need to probably kill with fire, I'll apply your patch to it to fix the handover. I'll try and get this stuff running here to play around with. Dave.

[Qemu-devel] gpu and console chicken and egg

2013-12-03 Thread Dave Airlie
ng in my config space on top of feature bits to say the hw is actually 3d capable. Dave.

Re: [Qemu-devel] gpu and console chicken and egg

2013-12-04 Thread Dave Airlie
On Wed, Dec 4, 2013 at 6:23 PM, Gerd Hoffmann wrote: > On Mi, 2013-12-04 at 17:02 +1000, Dave Airlie wrote: >> So I've hit a bit of a init ordering issue that I'm not sure how best to >> solve, >> >> Just some background: >> In order for the vi

Re: [Qemu-devel] gpu and console chicken and egg

2013-12-05 Thread Dave Airlie
display option (i.e. -display sdl,3d={on,off,auto}). Then do a > simple check for 3d availability when *parsing* the options. That'll > also remove the need for the 3d option for virtio-gpu, it can just check > the global flag instead. Ah yes that might work, and just fail if we request 3D but can't fulfil it. > >> I should probably resubmit the multi-head changes and SDL2 changes and >> we should look at merging them first. > I've got some outstanding things to redo on the virtio-gpu/vga bits, then I'll resubmit the sdl2 and unaccelerated virtio-gpu bits. Dave.

Re: [Qemu-devel] [PATCH 7/8] virtio-vga: v1

2013-12-05 Thread Dave Airlie
On Thu, Nov 21, 2013 at 9:06 PM, Gerd Hoffmann wrote: > On Do, 2013-11-21 at 13:12 +1000, Dave Airlie wrote: >> On Wed, Nov 20, 2013 at 10:02 PM, Gerd Hoffmann wrote: >> > On Mi, 2013-11-20 at 15:52 +1000, Dave Airlie wrote: >> >> From: Dave Airlie >> >&g

Re: [Qemu-devel] [PATCH 7/8] virtio-vga: v1

2013-12-06 Thread Dave Airlie
n that branch was where I was on my last random fail. I think another object is probably required, or making the base one not abstract. Dave.

[Qemu-devel] gtk3 mouse warping

2013-12-08 Thread Dave Airlie
does the gtk3 mouse warping work for anyone else? I've just been testing with gtk3 + virtio-vga and the mouse seems to bounce around a lot off the edges of the window, but never make it into it. Dave.

Re: [Qemu-devel] gtk3 mouse warping

2013-12-08 Thread Dave Airlie
On Mon, Dec 9, 2013 at 10:49 AM, Dave Airlie wrote: > does the gtk3 mouse warping work for anyone else? > > I've just been testing with gtk3 + virtio-vga and the mouse seems to > bounce around a lot off the edges of the window, but never make it > into it. It appears to be

Re: [Qemu-devel] gtk3 mouse warping

2013-12-08 Thread Dave Airlie
On Mon, Dec 9, 2013 at 1:54 PM, Dave Airlie wrote: > On Mon, Dec 9, 2013 at 10:49 AM, Dave Airlie wrote: >> does the gtk3 mouse warping work for anyone else? >> >> I've just been testing with gtk3 + virtio-vga and the mouse seems to >> bounce around a lot off th

[Qemu-devel] [PATCH 1/2] gtk: don't warp point in absolute mode

2013-12-09 Thread Dave Airlie
From: Dave Airlie This makes gtk act the same way as the current sdl backend, which doesn't do the warp in this case. If your guest GPU has hw pointer this leads you get endless loops where the warp causes motion causes input events, causes the guest to move the cursor causes warp. Signe

[Qemu-devel] [PATCH 2/2] gtk: respect cursor visibility

2013-12-09 Thread Dave Airlie
From: Dave Airlie If the guest asks for no cursor, switch gtk to using the null cursor. Signed-off-by: Dave Airlie --- ui/gtk.c | 25 + 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/ui/gtk.c b/ui/gtk.c index 2abf289..f60e66f 100644 --- a/ui/gtk.c +++ b

[Qemu-devel] gtk cursor patches

2013-12-09 Thread Dave Airlie
These were just fallout fixes from exploring gtk multi-head with virtio-gpu, hopefully they are useful to people before then, not sure if the warping/absolute interaction is defined or not. Dave.

[Qemu-devel] [PATCH 5/8] console: add ability to wrap a console.

2013-12-09 Thread Dave Airlie
From: Dave Airlie In order to implement virtio-vga on top of virtio-gpu we need to be able to wrap the first console virtio-gpu registers from inside virtio-vga which initialises after virtio-gpu. With this interface virtio-vga can store the virtio-gpu interfaces, and call them from its own ones

[Qemu-devel] [RFC] sdl2 + virtio-gpu repost

2013-12-09 Thread Dave Airlie
cleaner way yet, hopefully Gerd will advise further, but having 4 virtio-gpu- objects we getting ugly fast. I've also included a doc on the basic queues used in the virtio-gpu and what commands are sent on them. I'd really like to get the sdl2 base patch merged at least, Dave.

[Qemu-devel] [PATCH 1/8] ui/sdl2 : initial port to SDL 2.0 (v2.0)

2013-12-09 Thread Dave Airlie
From: Dave Airlie I've ported the SDL1.2 code over, and rewritten it to use the SDL2 interface. The biggest changes were in the input handling, where SDL2 has done a major overhaul, and I've had to include a generated translation file to get from SDL2 codes back to qemu compatible

[Qemu-devel] [PATCH 2/8] console: add state notifiers for ui<->display

2013-12-09 Thread Dave Airlie
From: Dave Airlie These are to be used for the UI to signal the video display, and vice-versa about changes in the state of a console, like size and offsets in relation to other consoles for input handling. Signed-off-by: Dave Airlie --- include/ui/console.h | 8 +++- ui/console.c

[Qemu-devel] [PATCH 6/8] virtio-gpu: v0.2 of the virtio based GPU code.

2013-12-09 Thread Dave Airlie
From: Dave Airlie This is the basic virtio-gpu which is multi-head capable, ARGB cursor support, unaccelerated. Some more info is in docs/specs/virtio-gpu.txt. changes since v0.1: add reset handling fix display info response fix cursor generation issues drop 3d stuff that snuck in Signed-off

[Qemu-devel] [PATCH 3/8] sdl2: add display notify change support

2013-12-09 Thread Dave Airlie
From: Dave Airlie this adds support for the callbacks from the console layer, when the gpu changes the layouts. Signed-off-by: Dave Airlie --- ui/sdl2.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/ui/sdl2.c b/ui/sdl2.c index 2eb3e9c..dd8cd2b 100644 --- a/ui/sdl2.c +++ b/ui

[Qemu-devel] [PATCH 4/8] sdl2: add UI to toggle head 1 on/off

2013-12-09 Thread Dave Airlie
From: Dave Airlie This just adds ctrl-alt-n to toggle head 1 on/off for testing and demo purposes. Signed-off-by: Dave Airlie --- ui/sdl2.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/ui/sdl2.c b/ui/sdl2.c index dd8cd2b..c52dcd9 100644 --- a/ui/sdl2.c +++ b/ui/sdl2.c @@ -522,6

[Qemu-devel] [PATCH 7/8] virtio-vga: v1

2013-12-09 Thread Dave Airlie
From: Dave Airlie This is a virtio-vga device built on top of the virtio-gpu device. Signed-off-by: Dave Airlie --- Makefile | 2 +- default-configs/x86_64-softmmu.mak | 1 + hw/display/Makefile.objs | 1 + hw/display/virtio-vga.c| 156

[Qemu-devel] [PATCH 8/8] HACK: just to make things start easier with libvirt

2013-12-09 Thread Dave Airlie
From: Dave Airlie --- hw/display/vga-pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/display/vga-pci.c b/hw/display/vga-pci.c index b3a45c8..e4bea17 100644 --- a/hw/display/vga-pci.c +++ b/hw/display/vga-pci.c @@ -146,6 +146,7 @@ static int pci_std_vga_initfn

[Qemu-devel] [PATCH] virtio-gpu: use glib alloc/free routines

2013-12-09 Thread Dave Airlie
From: Dave Airlie Oh I forgot to fix these up previously. Signed-off-by: Dave Airlie --- hw/display/virtio-gpu.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/hw/display/virtio-gpu.c b/hw/display/virtio-gpu.c index 7bf2fbb..28dcd1e 100644 --- a/hw/display

Re: [Qemu-devel] [RFC] sdl2 + virtio-gpu repost

2013-12-09 Thread Dave Airlie
On Tue, Dec 10, 2013 at 2:05 PM, Dave Airlie wrote: > Hi, > > This is a repost of the latest SDL2 UI layer along with virtio-gpu, > > I've merged the SDL2 base and multi-head patches into one, and I've split > out the display notifiers stuff and the sdl2 demo hack. >

Re: [Qemu-devel] [PATCH 1/8] ui/sdl2 : initial port to SDL 2.0 (v2.0)

2013-12-10 Thread Dave Airlie
if we wanted to keep the old text console switching stuff on console 0 or not, I see you've ripped it out, I can't say I ever used it anyways. I've also started reworking gtk for multi-head and have the basics working there as well. Dave.

  1   2   3   4   5   >