Re: [Qemu-devel] device_del fail

2017-11-30 Thread Lying
hello, i try again on arch Linux , after i add gpu, display is not light,following message from "info pci": Bus 0, device 5, function 0: VGA controller: PCI device 10de:1401 IRQ 11. BAR0: 32 bit memory at 0x [0x00fe]. BAR1: 64 bit prefetchable memory

Re: [Qemu-devel] device_del fail

2017-11-29 Thread Fam Zheng
Let's keep qemu-devel@nongnu.org on the list so other people can chime in. On Thu, 11/30 10:05, Lying wrote: > At 2017-11-29 14:29:17, "Fam Zheng" wrote: > >On Wed, 11/29 13:43, Lying wrote: > >> Hello everybody, I encounter a error on my vm guest > >> I remove my device on my guest is failed,

Re: [Qemu-devel] device_del fail

2017-11-28 Thread Fam Zheng
On Wed, 11/29 13:43, Lying wrote: > Hello everybody, I encounter a error on my vm guest > I remove my device on my guest is failed, following is detail message. > I didn't add my audio device before running my guest, So i add audio with > "device_add" after running > Then i can use it, so i remove

[Qemu-devel] device_del fail

2017-11-28 Thread Lying
Hello everybody, I encounter a error on my vm guest I remove my device on my guest is failed, following is detail message. I didn't add my audio device before running my guest, So i add audio with "device_add" after running Then i can use it, so i remove it with "device_del", but when i do it agai

Re: [Qemu-devel] device_del

2016-05-18 Thread Alex Williamson
On Wed, 18 May 2016 10:13:56 -0500 Bret Ketchum wrote: > Should device_del work with a vfio device and qemu-2.3? I > configure a pass-through device in a q35 machine: > > -device > ioh3420,slot=3,bus=pcie.0,addr=1b.0,port=3,chassis=3,multifunction=on,id=root.1 > \ > -device vfio-pci,host=84

[Qemu-devel] device_del

2016-05-18 Thread Bret Ketchum
Should device_del work with a vfio device and qemu-2.3? I configure a pass-through device in a q35 machine: -device ioh3420,slot=3,bus=pcie.0,addr=1b.0,port=3,chassis=3,multifunction=on,id=root.1 \ -device vfio-pci,host=84:00.0,bus=root.1,addr=00.0,rombar=0,id=SAS.2 And try to delete the

Re: [Qemu-devel] device_del id missing after blockdev-add

2014-02-25 Thread William Dauchy
On Feb24 16:34, Stefan Hajnoczi wrote: > Also, it should probably be 'removable':true? oh true, did not mention this was a boolean > You forgot to give the device an ID. Could that be the problem here? yup I spotted that some days after and forgot to write an answer here. that's solved the issu

Re: [Qemu-devel] device_del id missing after blockdev-add

2014-02-24 Thread Stefan Hajnoczi
On Mon, Feb 17, 2014 at 04:36:42PM +0100, William Dauchy wrote: > I'm starting qemu with the following config in order to test drive > hotremove and hotadd: > > [drive "disk1"] > if = "none" > id = "disk1" > cache = "none" > aio = "native" > format = "raw" > file = "/dev/sda" > > [dev

[Qemu-devel] device_del id missing after blockdev-add

2014-02-17 Thread William Dauchy
Hello, I'm starting qemu with the following config in order to test drive hotremove and hotadd: [drive "disk1"] if = "none" id = "disk1" cache = "none" aio = "native" format = "raw" file = "/dev/sda" [device "disk1"] driver = "scsi-hd" drive = "disk1" scsi-id = "1" removable