search for: sgio

Displaying 15 results from an estimated 15 matches for "sgio".

Did you mean: sgi
2023 Mar 30
0
About libvirt domain dump state and persistent state
...0a is empty, but when attach it with the vdf device or 0x0a address, qemu return the error duplicated with vdf or PCI address are double used: 2021-09-28T16:00:03.816682107-07:00 stderr F I0928 23:00:03.816558 1 cephvolume.go:73] attach disk &{XMLName:{Space: Local:} Device:disk RawIO: SGIO: Snapshot: Model: Driver:0xc00073b420 Auth:0xc000f49e40 Source:0xc000159860 BackingStore:<nil> Geometry:<nil> BlockIO:<nil> Mirror:<nil> Target:0xc000a58b40 IOTune:0xc00019b970 ReadOnly:<nil> Shareable:<nil> Transient:<nil> Serial:pvc-33003998-6624-4ac9-a9...
2016 Sep 03
1
Re: attaching storage pool error
...n't really understand the meaning of it at that moment. It would be interesting to hear from someone that have been doing it, how it would look like in the xml dump. >From libvirt documentation you can add this: <devices> <hostdev mode='subsystem' type='scsi' sgio='filtered' rawio='yes'> <source> <adapter name='scsi_host0'/> <address bus='0' target='0' unit='0'/> </source> <readonly/> <address type='drive' controller='0'...
2016 Sep 03
2
Ang: Ang: Re: Ang: Ang: Re: Ang: Re: attaching storage pool error
...be possible...? > The "volume" and "disk" or "volume" and "lun" syntax can be used somewhat interchangeably. As your point out the features for disk and lun are slightly different.  Usage of the 'lun' syntax allows addition of the attribute "sgio='unfiltered'" > > > A couple of additional questions here: > > * Since the target device is already defined in the pool, I don't see the reason for defining it here as well, like in your example with the iscsi pool? Let's forget about iscsi > * I'd l...
2016 Sep 02
0
Re: Ang: Ang: Re: Ang: Re: attaching storage pool error
...be possible...? > The "volume" and "disk" or "volume" and "lun" syntax can be used somewhat interchangeably. As your point out the features for disk and lun are slightly different. Usage of the 'lun' syntax allows addition of the attribute "sgio='unfiltered'" > > > A couple of additional questions here: > > * Since the target device is already defined in the pool, I don't see the reason for defining it here as well, like in your example with the iscsi pool? Let's forget about iscsi > * I'd l...
2016 Sep 03
0
Ang: Re: Ang: Ang: Re: Ang: Re: attaching storage pool error
...be possible...? > The "volume" and "disk" or "volume" and "lun" syntax can be used somewhat interchangeably. As your point out the features for disk and lun are slightly different.  Usage of the 'lun' syntax allows addition of the attribute "sgio='unfiltered'" > > > A couple of additional questions here: > > * Since the target device is already defined in the pool, I don't see the reason for defining it here as well, like in your example with the iscsi pool? Let's forget about iscsi > * I'd l...
2016 May 19
1
libvirt equivalent for VMWare for SCSI mode = independent-persistent?
Hi, I'm attempting to add virtual SCSI disks to my KVM guests the same way as I did with VMWare, but I'm having issues. Without knowing any better, I'm assuming it has something to do with me attaching the disk incorrectly, and when I'm looking at the VMWare config one thing I noticed was the SCSI mode "independent-persistent" which I cannot find in libvirt
2015 Jul 06
0
Error attaching tape drive device to KVM guest
...i'> <alias name='scsi0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </controller> I created tapedrive.xml with following contents: <disk type='block' device='lun' sgio='unfiltered'> <driver name='qemu' type='raw' cache='none'/> <source dev='/dev/st0'/> <target dev='st0' bus='scsi'/> <address type='drive' controller='0' bus='0' target='0'...
2015 Jul 10
0
Fw: Error attaching tape drive device to KVM guest
...scsi0'/> > <address type='pci' domain='0x0000' bus='0x00' slot='0x04' > function='0x0'/> > </controller> > > I created tapedrive.xml with following contents: > > <disk type='block' device='lun' sgio='unfiltered'> > <driver name='qemu' type='raw' cache='none'/> > <source dev='/dev/st0'/> > <target dev='st0' bus='scsi'/> > <address type='drive' controller='0' bus='0'...
2014 Oct 19
2
HostDevev SCSI Devices
http://libvirt.org/formatdomain.html#elementsHostDevSubsys At this description used "drive"-typed address for SCSI. But when i get xml-description of scsi-devices by <code> unsigned int flags = VIR_CONNECT_LIST_NODE_DEVICES_CAP_SCSI_HOST ; int ret = virConnectListAllNodeDevices (currWorkConnect, &nodeDevices, flags); then get by
2015 May 06
0
Re: Proper way to reference a disk
...ller='0' bus='0' target='0' unit='0'/> > </disk> > > The source file / source dev thing really has me wondering. Hopefully I answered it. As a rule of thumb, if it is a block device, use type='block' (or type='lun' if you need sgio passthrough support) and <source dev='...'>); otherwise use type='file' and <source file='...'. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
2013 Dec 12
0
SAS HBA address and SCSI passthrough
...lem is with libvirt. If you want to access an arbitrary SAS device from a VM, you have to specify the address of the device as SCSI address. Consider this case in a VM xml file to attach to the host's tape drive: <hostdev mode='subsystem' type='scsi' managed='no' sgio='unfiltered'> <source> <adapter name='scsi_host6'/> <address bus='0' target='7' unit='0'/> </source> </hostdev> With the current behaviour of the kernel, this will be broken in all setups with multiple c...
2016 Feb 08
2
Re: Getting "unknown device type" when attaching NPIV (vHBA) to vm
Thank you for your reply, I'm still getting hard time to attach the hostdev, I couldn't make it work out of the doc. I took the address details from: # ll /sys/bus/scsi/devices/7:* lrwxrwxrwx 1 root root 0 Feb 8 12:58 /sys/bus/scsi/devices/7:0:0:0 -> ../../../devices/pci0000:00/0000:00:03.0/0000:08:00.1/host7/rport-7:0-0/target7:0:0/7:0:0:0 lrwxrwxrwx 1 root root 0 Feb 8 12:58
2015 May 06
2
Proper way to reference a disk
Hi, We are running on CentOS 7.0. We want to move our VMs (kvm/qemu) from qcow/image files to logical volumes under LVM. I have moved one of them but I had a little trouble editing the disk properly and I wonder what is the correct way to do it. Specifically, in the XML under the devices/disk section why does the source say "source file=", and not "source dev="? The reason I
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...c_host->devloss_work_q = alloc_workqueue(fc_host->devloss_work_q_name, 0, 0); if (!fc_host->devloss_work_q) { destroy_workqueue(fc_host->work_q); fc_host->work_q = NULL; return -ENOMEM; } fc_bsg_hostadd(shost, fc_host); /* ignore any bsg add error - we just can't do sgio */ return 0; } static int fc_host_remove(struct transport_container *tc, struct device *dev, struct device *cdev) { struct Scsi_Host *shost = dev_to_shost(dev); struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_bsg_remove(fc_host->rqst_q); return 0; } static DECLARE_TRANSP...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...c_host->devloss_work_q = alloc_workqueue(fc_host->devloss_work_q_name, 0, 0); if (!fc_host->devloss_work_q) { destroy_workqueue(fc_host->work_q); fc_host->work_q = NULL; return -ENOMEM; } fc_bsg_hostadd(shost, fc_host); /* ignore any bsg add error - we just can't do sgio */ return 0; } static int fc_host_remove(struct transport_container *tc, struct device *dev, struct device *cdev) { struct Scsi_Host *shost = dev_to_shost(dev); struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_bsg_remove(fc_host->rqst_q); return 0; } static DECLARE_TRANSP...